Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007244/0.0007244, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001802, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007104/0.0007104, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009197/0.00163, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9562/0.9562, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0814/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.608e-06, allocations: 6.109 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005598/0.005608, allocations: 7.865 MB / 252.6 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.008798, allocations: 2.668 MB / 255.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.009197, allocations: 27.88 kB / 255.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.01003, allocations: 0.5323 MB / 255.8 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.01066, allocations: 0.5039 MB / 256.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.01095, allocations: 247.6 kB / 256.6 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009695/0.01192, allocations: 1.486 MB / 258 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.01235, allocations: 391.2 kB / 258.4 MB, free: 428 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/0.01327, allocations: 0.981 MB / 259.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003793/0.01364, allocations: 462.6 kB / 259.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.01375, allocations: 132 kB / 260 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.01397, allocations: 172 kB / 260.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.01408, allocations: 207.3 kB / 260.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.01434, allocations: 387.2 kB / 260.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.01505, allocations: 0.8561 MB / 261.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.01506, allocations: 0 / 261.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01506, allocations: 0 / 261.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.01508, allocations: 0 / 261.6 MB, free: 13.24 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001263/0.01634, allocations: 1.581 MB / 263.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.01637, allocations: 16.03 kB / 263.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.01672, allocations: 289.8 kB / 263.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.01728, allocations: 0.5214 MB / 264 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.01732, allocations: 74 kB / 264.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-05/0.0174, allocations: 99.98 kB / 264.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.01798, allocations: 0.7363 MB / 264.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.018, allocations: 3.953 kB / 264.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.01804, allocations: 40 kB / 264.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.01806, allocations: 24 kB / 265 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.01832, allocations: 237.8 kB / 265.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.02057, allocations: 2.968 MB / 268.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.02077, allocations: 166.4 kB / 268.3 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.02083, allocations: 67.16 kB / 268.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.02085, allocations: 8 kB / 268.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.02087, allocations: 38.56 kB / 268.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.042e-06/0.02087, allocations: 0 / 268.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007639/0.02164, allocations: 0.6154 MB / 269.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.02166, allocations: 55.41 kB / 269.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.02208, allocations: 0.6574 MB / 269.8 MB, free: 4.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.0221, allocations: 33.7 kB / 269.8 MB, free: 4.621 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.02228, allocations: 0.508 MB / 270.3 MB, free: 4.105 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.02234, allocations: 138.9 kB / 270.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.02244, allocations: 126.5 kB / 270.6 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.02255, allocations: 390.6 kB / 270.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.0226, allocations: 49.97 kB / 271 MB, free: 3.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.0228, allocations: 401.8 kB / 271.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.02312, allocations: 0.5156 MB / 271.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02312, allocations: 8 kB / 271.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003823/0.02351, allocations: 434.1 kB / 272.3 MB, free: 1.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.02352, allocations: 12.16 kB / 272.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.02353, allocations: 15.98 kB / 272.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.89e-05/0.02362, allocations: 32.84 kB / 272.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.02391, allocations: 180.5 kB / 272.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.02443, allocations: 1.178 MB / 273.8 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02463, allocations: 31.94 kB / 273.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.02465, allocations: 32 kB / 273.8 MB, free: 188 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.02478, allocations: 157.5 kB / 274 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.02484, allocations: 59.88 kB / 274 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.02505, allocations: 217.3 kB / 274.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02505, allocations: 4 kB / 274.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02505, allocations: 4.031 kB / 274.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.02506, allocations: 11.92 kB / 274.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.02568, allocations: 0.664 MB / 274.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02568, allocations: 0 / 274.9 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.02585, allocations: 79.91 kB / 275 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.02595, allocations: 71.47 kB / 275.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.676e-05/0.02599, allocations: 21.06 kB / 275.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.02601, allocations: 8 kB / 275.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004367/0.02644, allocations: 1.154 MB / 276.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02644, allocations: 7.938 kB / 276.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.02672, allocations: 408.4 kB / 276.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.02676, allocations: 8 kB / 276.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.02691, allocations: 23.92 kB / 276.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.02695, allocations: 24.23 kB / 276.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.02696, allocations: 15.98 kB / 276.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.02718, allocations: 311.4 kB / 277 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02718, allocations: 0 / 277 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000348/0.02753, allocations: 188 kB / 277.2 MB, free: 12.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.02765, allocations: 108.3 kB / 277.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.02797, allocations: 403 kB / 277.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/0.02799, allocations: 12.5 kB / 277.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.02815, allocations: 240.5 kB / 278 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.02908, allocations: 1.931 MB / 279.9 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/0.03733, allocations: 1.664 MB / 281.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.03744, allocations: 178.6 kB / 281.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.03765, allocations: 94.28 kB / 281.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.03792, allocations: 221.1 kB / 282 MB, free: 7.25 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03792, allocations: 4 kB / 282 MB, free: 7.246 MB / 282.7 MB Notification: Performance of Templates: time 0.1048/0.1427, allocations: 9.855 MB / 291.9 MB, free: 26.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7878315011039376]