Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.0009904/0.0009904, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009615/0.0009615, allocations: 165 kB / 24.56 MB, free: 12 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.9067/0.9067, allocations: 177.1 MB / 205 MB, free: 5.625 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.057e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01394/0.01396, allocations: 11.82 MB / 284.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1177/0.1316, allocations: 9.416 MB / 294.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.1319, allocations: 14.09 kB / 294.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.1324, allocations: 181.2 kB / 294.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007457/0.1331, allocations: 0.558 MB / 295 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.1367, allocations: 2.011 MB / 297 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1379, allocations: 1.415 MB / 298.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1381, allocations: 119.5 kB / 298.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.1389, allocations: 0.7073 MB / 299.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.1394, allocations: 402.1 kB / 299.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.1394, allocations: 52.81 kB / 299.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/0.1453, allocations: 5.351 MB / 305 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1455, allocations: 168.4 kB / 305.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1457, allocations: 242 kB / 305.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006686/0.1524, allocations: 5.044 MB / 310.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1524, allocations: 0.8125 kB / 310.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1524, allocations: 0 / 310.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1524, allocations: 0 / 310.5 MB, free: 10.16 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002305/0.1547, allocations: 1.001 MB / 311.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1547, allocations: 8.031 kB / 311.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005127/0.1552, allocations: 191.6 kB / 311.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.1556, allocations: 323.1 kB / 312 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1557, allocations: 37 kB / 312 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.1557, allocations: 56.7 kB / 312.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.1564, allocations: 0.727 MB / 312.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1564, allocations: 0 / 312.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1564, allocations: 20.72 kB / 312.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1564, allocations: 12 kB / 312.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1568, allocations: 347.9 kB / 313.2 MB, free: 7.32 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.001898/0.1587, allocations: 3.243 MB / 316.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.1592, allocations: 317.9 kB / 316.7 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1594, allocations: 135.4 kB / 316.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.1596, allocations: 151.3 kB / 317 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1596, allocations: 46.52 kB / 317 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.573e-06/0.1596, allocations: 0 / 317 MB, free: 3.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004583/0.1642, allocations: 1.57 MB / 318.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.1642, allocations: 61.62 kB / 318.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1644, allocations: 316.2 kB / 319 MB, free: 1.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1644, allocations: 37.7 kB / 319 MB, free: 1.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1645, allocations: 291.7 kB / 319.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.1646, allocations: 191.1 kB / 319.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.1647, allocations: 129.7 kB / 319.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.1647, allocations: 0.5196 MB / 320.1 MB, free: 184 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1649, allocations: 105.2 kB / 320.2 MB, free: 80 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.1651, allocations: 309.5 kB / 320.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1656, allocations: 471.3 kB / 321 MB, free: 15.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1656, allocations: 4 kB / 321 MB, free: 15.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000746/0.1663, allocations: 0.5706 MB / 321.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1663, allocations: 8 kB / 321.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1663, allocations: 4 kB / 321.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.1716, allocations: 460.8 kB / 322 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.1719, allocations: 141.5 kB / 322.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.1734, allocations: 4.236 MB / 326.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1735, allocations: 17.31 kB / 326.4 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1735, allocations: 28 kB / 326.4 MB, free: 9.473 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.1737, allocations: 197.7 kB / 326.6 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.1738, allocations: 83.47 kB / 326.7 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/0.1745, allocations: 0.7321 MB / 327.5 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1745, allocations: 12 kB / 327.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1745, allocations: 0 / 327.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005576/0.1751, allocations: 0.7617 MB / 328.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.1764, allocations: 1.227 MB / 329.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1764, allocations: 0 / 329.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.1767, allocations: 105.2 kB / 329.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.1781, allocations: 322.3 kB / 329.9 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.1781, allocations: 21.33 kB / 329.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005059/0.1786, allocations: 1.593 MB / 331.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1787, allocations: 0 / 331.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.1794, allocations: 0.8215 MB / 332.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.1794, allocations: 56.88 kB / 332.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1795, allocations: 15.94 kB / 332.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1796, allocations: 11.94 kB / 332.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1796, allocations: 36.44 kB / 332.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.1797, allocations: 25.33 kB / 332.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1798, allocations: 239 kB / 332.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1798, allocations: 0 / 332.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001478/0.1813, allocations: 420.9 kB / 333.1 MB, free: 2.609 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.007375/0.1886, allocations: 3.473 MB / 336.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.1894, allocations: 0.5974 MB / 337.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1894, allocations: 4 kB / 337.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.1898, allocations: 272.7 kB / 337.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.1904, allocations: 242.1 kB / 337.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1919, allocations: 1.14 MB / 338.8 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.192, allocations: 136 kB / 338.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.1922, allocations: 212.8 kB / 339.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.1923, allocations: 56.42 kB / 339.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1923, allocations: 0 / 339.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Templates: time 0.02318/0.2155, allocations: 25.34 MB / 364.6 MB, free: 3.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.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.260696826968342]