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.0009775/0.0009775, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009767/0.0009767, 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.9383/0.9383, allocations: 177.1 MB / 205 MB, free: 5.637 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.372e-06/1.372e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.849e-05, allocations: 10.31 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01305/0.01306, allocations: 11.81 MB / 284.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1095/0.1225, allocations: 9.423 MB / 294.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.1228, allocations: 13.81 kB / 294.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.1233, allocations: 181.5 kB / 294.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.124, allocations: 0.559 MB / 295 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.1276, allocations: 2.006 MB / 297 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1287, allocations: 1.418 MB / 298.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1289, allocations: 119.2 kB / 298.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007651/0.1297, allocations: 0.7039 MB / 299.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.1301, allocations: 399.9 kB / 299.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.1302, allocations: 53.38 kB / 299.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005668/0.1359, allocations: 5.355 MB / 305 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.136, allocations: 160.4 kB / 305.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1362, allocations: 241.2 kB / 305.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.1428, allocations: 5.046 MB / 310.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1428, allocations: 0 / 310.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1428, allocations: 1.656 kB / 310.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1428, allocations: 0 / 310.4 MB, free: 10.02 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.001904/0.1447, allocations: 1.003 MB / 311.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1447, allocations: 8.031 kB / 311.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.1452, allocations: 191.7 kB / 311.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1455, allocations: 317.8 kB / 312 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1455, allocations: 33.81 kB / 312 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.1456, allocations: 59.89 kB / 312 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.1461, allocations: 0.7263 MB / 312.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1462, allocations: 4 kB / 312.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1462, allocations: 20 kB / 312.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1462, allocations: 12.81 kB / 312.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.1466, allocations: 348 kB / 313.2 MB, free: 7.191 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.001829/0.1484, allocations: 3.233 MB / 316.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.1489, allocations: 321.5 kB / 316.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.149, allocations: 140.1 kB / 316.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.1493, allocations: 151 kB / 317 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.1493, allocations: 39.08 kB / 317 MB, free: 3.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.693e-06/0.1493, allocations: 4 kB / 317 MB, free: 3.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004376/0.1537, allocations: 1.572 MB / 318.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.1537, allocations: 57.25 kB / 318.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1538, allocations: 324.2 kB / 319 MB, free: 1.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1539, allocations: 37.69 kB / 319 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.1539, allocations: 286.3 kB / 319.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.154, allocations: 200.7 kB / 319.5 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.1541, allocations: 123.9 kB / 319.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.1541, allocations: 0.5157 MB / 320.1 MB, free: 52 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1543, allocations: 106.6 kB / 320.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1545, allocations: 318.2 kB / 320.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.155, allocations: 460.8 kB / 321 MB, free: 15.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.155, allocations: 1.312 kB / 321 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007847/0.1558, allocations: 0.5847 MB / 321.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1558, allocations: 5.719 kB / 321.6 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.068e-06/0.1558, allocations: 8 kB / 321.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.1612, allocations: 448.2 kB / 322 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1615, allocations: 144.6 kB / 322.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.1632, allocations: 4.242 MB / 326.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1633, allocations: 16 kB / 326.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.1634, allocations: 24 kB / 326.4 MB, free: 9.34 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.0001342/0.1635, allocations: 202.1 kB / 326.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.1636, allocations: 79.47 kB / 326.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.1644, allocations: 0.7363 MB / 327.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1644, allocations: 7.984 kB / 327.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1644, allocations: 0 / 327.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000562/0.165, allocations: 0.7673 MB / 328.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1661, allocations: 1.23 MB / 329.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1661, allocations: 0 / 329.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.1663, allocations: 99.89 kB / 329.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.1677, allocations: 323.4 kB / 329.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.1677, allocations: 16.78 kB / 329.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005099/0.1682, allocations: 1.593 MB / 331.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1682, allocations: 0.7812 kB / 331.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.169, allocations: 0.8261 MB / 332.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1691, allocations: 47.55 kB / 332.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1691, allocations: 16.75 kB / 332.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.1692, allocations: 12 kB / 332.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1693, allocations: 37.2 kB / 332.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1693, allocations: 23.98 kB / 332.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1694, allocations: 239 kB / 332.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1694, allocations: 0.8125 kB / 332.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001588/0.171, allocations: 423.2 kB / 333.1 MB, free: 2.473 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.007553/0.1786, allocations: 3.48 MB / 336.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008024/0.1794, allocations: 0.6023 MB / 337.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1794, allocations: 0 / 337.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.1797, allocations: 268.8 kB / 337.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006724/0.1804, allocations: 242.1 kB / 337.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1819, allocations: 1.143 MB / 338.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.182, allocations: 136 kB / 338.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.1823, allocations: 211.8 kB / 339.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.1824, allocations: 52.48 kB / 339.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1824, allocations: 4 kB / 339.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Templates: time 0.02052/0.2029, allocations: 22.34 MB / 361.5 MB, free: 6.289 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.6849189810454845]