Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009023/0.0009023, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001364/0.001364, allocations: 172.3 kB / 25.7 MB, free: 8.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9051/0.9051, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.984 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.433e-05, allocations: 10.19 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006053/0.006077, allocations: 7.762 MB / 259.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.009257, allocations: 2.646 MB / 262 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.009593, allocations: 27.88 kB / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.01048, allocations: 0.544 MB / 262.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.01106, allocations: 0.5 MB / 263.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.01133, allocations: 243.7 kB / 263.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.01227, allocations: 1.49 MB / 264.8 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.01267, allocations: 391.2 kB / 265.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.01334, allocations: 0.8417 MB / 266 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.01377, allocations: 466.6 kB / 266.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01388, allocations: 135.9 kB / 266.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.01408, allocations: 175.9 kB / 266.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.0142, allocations: 278.9 kB / 267.1 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.01446, allocations: 450.9 kB / 267.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.01511, allocations: 0.899 MB / 268.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01511, allocations: 4 kB / 268.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01511, allocations: 0 / 268.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.01512, allocations: 0 / 268.4 MB, free: 6.285 MB / 250.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.001117/0.01624, allocations: 1.347 MB / 269.7 MB, free: 4.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.01627, allocations: 11.98 kB / 269.8 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.01659, allocations: 216.8 kB / 270 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.01714, allocations: 0.5099 MB / 270.5 MB, free: 4.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.01718, allocations: 74 kB / 270.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.01725, allocations: 103.9 kB / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.01782, allocations: 0.7363 MB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.01784, allocations: 3.984 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.01788, allocations: 36 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01789, allocations: 24 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.01816, allocations: 241.8 kB / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.02037, allocations: 2.956 MB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.02056, allocations: 170.4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.02063, allocations: 64.83 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.02065, allocations: 7.938 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.02067, allocations: 42.56 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.02067, allocations: 0 / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007904/0.02146, allocations: 0.6095 MB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.02149, allocations: 81.11 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.02191, allocations: 0.6535 MB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.02193, allocations: 33.7 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.02212, allocations: 0.508 MB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.02218, allocations: 130.9 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.02227, allocations: 134.5 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.02237, allocations: 390.6 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.02243, allocations: 53.97 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.02261, allocations: 397.9 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.02291, allocations: 494.2 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02291, allocations: 0 / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003717/0.02328, allocations: 446.2 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.0233, allocations: 11.94 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.02331, allocations: 12 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.754e-05/0.0234, allocations: 32.88 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.02368, allocations: 163.8 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005015/0.02418, allocations: 1.182 MB / 280.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.02437, allocations: 32.08 kB / 280.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.0244, allocations: 32 kB / 280.3 MB, free: 9.59 MB / 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.0001312/0.02453, allocations: 161.5 kB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.02458, allocations: 55.94 kB / 280.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.02479, allocations: 213.4 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.02479, allocations: 4 kB / 280.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02479, allocations: 0 / 280.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02479, allocations: 11.92 kB / 280.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.02541, allocations: 0.6639 MB / 281.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02541, allocations: 4 kB / 281.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.02558, allocations: 71.91 kB / 281.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.711e-05/0.02563, allocations: 25.06 kB / 281.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.02564, allocations: 12 kB / 281.5 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004293/0.02607, allocations: 1.158 MB / 282.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02607, allocations: 4 kB / 282.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.02635, allocations: 404.8 kB / 283 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.02644, allocations: 63.66 kB / 283.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.02648, allocations: 11.98 kB / 283.1 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.02662, allocations: 19.94 kB / 283.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.02667, allocations: 32.12 kB / 283.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.02668, allocations: 11.98 kB / 283.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.0269, allocations: 307.4 kB / 283.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0269, allocations: 0 / 283.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.02726, allocations: 188 kB / 283.7 MB, free: 6 MB / 266.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.0001274/0.02738, allocations: 104.3 kB / 283.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.02772, allocations: 388.7 kB / 284.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/0.02774, allocations: 8.5 kB / 284.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.02786, allocations: 204.9 kB / 284.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.02832, allocations: 201.8 kB / 284.5 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.02993, allocations: 1.517 MB / 286.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.03003, allocations: 162.6 kB / 286.2 MB, free: 3.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.03022, allocations: 90.3 kB / 286.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.03048, allocations: 221.2 kB / 286.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03048, allocations: 0 / 286.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01292/0.04341, allocations: 9.698 MB / 296.2 MB, free: 9.367 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8149662651121616]