Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 79.91 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9341/0.9341, allocations: 173.4 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.601e-05, allocations: 10.19 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01084/0.01087, allocations: 11.76 MB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007796/0.01867, allocations: 9.414 MB / 289.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.01891, allocations: 15.88 kB / 289.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.01941, allocations: 178.9 kB / 289.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006942/0.0201, allocations: 0.559 MB / 289.9 MB, free: 428 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1188/0.1389, allocations: 1.992 MB / 291.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.1402, allocations: 1.414 MB / 293.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1404, allocations: 126.5 kB / 293.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.1411, allocations: 0.7004 MB / 294.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.1415, allocations: 403.9 kB / 294.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.1416, allocations: 53.28 kB / 294.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006464/0.148, allocations: 5.341 MB / 299.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1482, allocations: 157.1 kB / 300.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1484, allocations: 238.7 kB / 300.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.1553, allocations: 5.041 MB / 305.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1554, allocations: 0 / 305.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1554, allocations: 1.844 kB / 305.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1554, allocations: 0 / 305.4 MB, free: 14.5 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.001815/0.1572, allocations: 0.9954 MB / 306.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1572, allocations: 12.03 kB / 306.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1577, allocations: 191.3 kB / 306.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.158, allocations: 323.2 kB / 306.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.158, allocations: 35.78 kB / 306.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1581, allocations: 59.84 kB / 307 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.1586, allocations: 0.7267 MB / 307.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1587, allocations: 0 / 307.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.1587, allocations: 22.44 kB / 307.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1587, allocations: 12 kB / 307.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1591, allocations: 339.3 kB / 308.1 MB, free: 12.2 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.002016/0.1611, allocations: 3.245 MB / 311.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.1616, allocations: 319.5 kB / 311.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1618, allocations: 140 kB / 311.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.162, allocations: 150.6 kB / 311.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.162, allocations: 41.2 kB / 311.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.462e-06/0.162, allocations: 0 / 311.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004268/0.1663, allocations: 1.55 MB / 313.5 MB, free: 7.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.1663, allocations: 58.62 kB / 313.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1665, allocations: 326.2 kB / 313.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1665, allocations: 37.08 kB / 313.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.1666, allocations: 281.2 kB / 314.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1667, allocations: 205.5 kB / 314.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1668, allocations: 123.2 kB / 314.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.1669, allocations: 0.5228 MB / 315 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.167, allocations: 100.2 kB / 315.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1672, allocations: 317.3 kB / 315.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.1676, allocations: 463 kB / 315.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1676, allocations: 0 / 315.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005897/0.1682, allocations: 0.558 MB / 316.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1682, allocations: 8 kB / 316.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1682, allocations: 4 kB / 316.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/0.1722, allocations: 431.6 kB / 316.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1725, allocations: 146.5 kB / 317 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.1736, allocations: 4.23 MB / 321.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1737, allocations: 20 kB / 321.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1737, allocations: 27.98 kB / 321.3 MB, free: 15.35 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.0001412/0.1739, allocations: 203 kB / 321.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.174, allocations: 57.48 kB / 321.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.1747, allocations: 0.7285 MB / 322.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1747, allocations: 7.984 kB / 322.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1747, allocations: 3.188 kB / 322.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006184/0.1754, allocations: 0.7674 MB / 323.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1768, allocations: 1.222 MB / 324.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1768, allocations: 0 / 324.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.177, allocations: 98.14 kB / 324.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.1784, allocations: 317.2 kB / 324.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.1784, allocations: 16.5 kB / 324.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005227/0.179, allocations: 1.589 MB / 326.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.179, allocations: 7.047 kB / 326.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.1798, allocations: 0.821 MB / 327.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1798, allocations: 59.55 kB / 327.2 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.1799, allocations: 12.91 kB / 327.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.18, allocations: 12 kB / 327.2 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.18, allocations: 36.95 kB / 327.2 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.18, allocations: 19.98 kB / 327.3 MB, free: 9.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1802, allocations: 242.2 kB / 327.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1802, allocations: 1.719 kB / 327.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001984/0.1822, allocations: 419.2 kB / 327.9 MB, free: 8.555 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.00782/0.19, allocations: 3.463 MB / 331.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009275/0.1909, allocations: 0.601 MB / 332 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1909, allocations: 4 kB / 332 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.1913, allocations: 270.9 kB / 332.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.192, allocations: 241 kB / 332.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.1936, allocations: 1.152 MB / 333.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.174e-05/0.1937, allocations: 136 kB / 333.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003027/0.194, allocations: 211.7 kB / 334 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.1941, allocations: 48.48 kB / 334 MB, free: 2.602 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1941, allocations: 0 / 334 MB, free: 2.602 MB / 282.7 MB Notification: Performance of Templates: time 0.02307/0.2172, allocations: 22.27 MB / 356.3 MB, free: 12.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.775551506783813]