Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.0009499/0.0009499, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009178/0.0009178, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9681/0.9681, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.44e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0157/0.01573, allocations: 10.76 MB / 283.7 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1249/0.1406, allocations: 9.156 MB / 292.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1408, allocations: 8.344 kB / 292.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.1413, allocations: 145.1 kB / 293 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.1418, allocations: 405 kB / 293.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.1455, allocations: 1.897 MB / 295.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.1463, allocations: 0.9865 MB / 296.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1464, allocations: 80.38 kB / 296.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.147, allocations: 0.4945 MB / 296.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.1473, allocations: 276.3 kB / 297.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.1473, allocations: 37.19 kB / 297.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005859/0.1532, allocations: 5.336 MB / 302.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1533, allocations: 112.1 kB / 302.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1534, allocations: 171.8 kB / 302.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.1603, allocations: 4.909 MB / 307.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1603, allocations: 0 / 307.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1603, allocations: 3.938 kB / 307.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1603, allocations: 4 kB / 307.7 MB, free: 11.74 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001519/0.1618, allocations: 0.8651 MB / 308.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1619, allocations: 8.031 kB / 308.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.1622, allocations: 135.7 kB / 308.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1625, allocations: 266.1 kB / 309 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1625, allocations: 28.08 kB / 309 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.1625, allocations: 39.38 kB / 309.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.163, allocations: 0.5401 MB / 309.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.163, allocations: 0 / 309.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.163, allocations: 14.25 kB / 309.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.163, allocations: 9.344 kB / 309.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1633, allocations: 245.6 kB / 309.9 MB, free: 9.723 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1649, allocations: 2.574 MB / 312.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.1653, allocations: 216.3 kB / 312.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1654, allocations: 91.58 kB / 312.7 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.1656, allocations: 146.5 kB / 312.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1656, allocations: 44.39 kB / 312.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.1656, allocations: 0 / 312.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003071/0.1687, allocations: 1 MB / 313.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.1687, allocations: 57.09 kB / 314 MB, free: 5.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1689, allocations: 278.6 kB / 314.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1689, allocations: 29.7 kB / 314.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.169, allocations: 239.1 kB / 314.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.169, allocations: 131.5 kB / 314.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.1691, allocations: 91.8 kB / 314.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.1691, allocations: 0.5067 MB / 315.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.1692, allocations: 64.95 kB / 315.3 MB, free: 4.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1694, allocations: 229.5 kB / 315.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1696, allocations: 313.9 kB / 315.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1696, allocations: 7.75 kB / 315.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004857/0.1701, allocations: 394.2 kB / 316.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1701, allocations: 11.94 kB / 316.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1701, allocations: 4.812 kB / 316.2 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.173, allocations: 239.9 kB / 316.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1732, allocations: 90.11 kB / 316.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006838/0.1739, allocations: 2.542 MB / 319.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.174, allocations: 8.781 kB / 319.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.174, allocations: 23.98 kB / 319.1 MB, free: 108 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1741, allocations: 183.2 kB / 319.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1742, allocations: 55.62 kB / 319.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.1747, allocations: 492.5 kB / 319.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1747, allocations: 8.75 kB / 319.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1748, allocations: 3.984 kB / 319.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004227/0.1752, allocations: 0.6533 MB / 320.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.1761, allocations: 0.87 MB / 321.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1761, allocations: 4.75 kB / 321.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1763, allocations: 69.69 kB / 321.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/0.1771, allocations: 162.5 kB / 321.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.1771, allocations: 7.984 kB / 321.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002606/0.1774, allocations: 0.8001 MB / 322.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1774, allocations: 4.844 kB / 322.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.1779, allocations: 0.5752 MB / 323 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.178, allocations: 23.81 kB / 323 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.178, allocations: 20.7 kB / 323.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.1781, allocations: 4 kB / 323.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1781, allocations: 19.95 kB / 323.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1781, allocations: 20.77 kB / 323.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1783, allocations: 213.1 kB / 323.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1783, allocations: 4.188 kB / 323.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001619/0.1799, allocations: 375.1 kB / 323.7 MB, free: 11.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007313/0.1872, allocations: 3.473 MB / 327.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.1877, allocations: 426.7 kB / 327.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1877, allocations: 0 / 327.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1879, allocations: 152.8 kB / 327.7 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.1885, allocations: 170.1 kB / 327.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1897, allocations: 0.7864 MB / 328.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.668e-05/0.1898, allocations: 115 kB / 328.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.19, allocations: 175.9 kB / 328.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.1901, allocations: 40.48 kB / 329 MB, free: 6.227 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1901, allocations: 0 / 329 MB, free: 6.227 MB / 282.7 MB Notification: Performance of Templates: time 0.01891/0.209, allocations: 19.43 MB / 348.4 MB, free: 2.969 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.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: 4.439101547934115]