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.0009114/0.0009114, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009728/0.0009728, allocations: 168.8 kB / 24.91 MB, free: 9.191 MB / 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.9391/0.9391, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.122e-06/1.122e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.313e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01007/0.01008, allocations: 11.84 MB / 285.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1099/0.12, allocations: 9.453 MB / 294.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.1203, allocations: 9.094 kB / 294.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.1208, allocations: 184.6 kB / 295 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009103/0.1217, allocations: 0.558 MB / 295.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.1259, allocations: 1.928 MB / 297.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.1272, allocations: 1.411 MB / 298.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1274, allocations: 120.3 kB / 299 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.1281, allocations: 0.7077 MB / 299.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.1286, allocations: 369.8 kB / 300.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.1286, allocations: 53.78 kB / 300.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00647/0.1351, allocations: 5.461 MB / 305.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1352, allocations: 159.4 kB / 305.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.1354, allocations: 245 kB / 306 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.1418, allocations: 5.041 MB / 311 MB, free: 9.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1418, allocations: 4.875 kB / 311 MB, free: 9.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1418, allocations: 0 / 311 MB, free: 9.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1418, allocations: 0 / 311 MB, free: 9.824 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.001674/0.1435, allocations: 0.8673 MB / 311.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.1435, allocations: 12.03 kB / 311.9 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/0.1442, allocations: 186.5 kB / 312.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1445, allocations: 265.9 kB / 312.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1445, allocations: 37 kB / 312.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.1446, allocations: 59.83 kB / 312.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.1452, allocations: 0.6689 MB / 313.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1452, allocations: 4 kB / 313.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1453, allocations: 16 kB / 313.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1453, allocations: 12 kB / 313.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.1457, allocations: 275.8 kB / 313.4 MB, free: 7.355 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.001953/0.1477, allocations: 2.398 MB / 315.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.1482, allocations: 263.2 kB / 316.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1483, allocations: 98.89 kB / 316.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.1485, allocations: 164 kB / 316.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1485, allocations: 38.94 kB / 316.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.644e-06/0.1486, allocations: 1.344 kB / 316.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.006728/0.1553, allocations: 1.366 MB / 317.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.61e-05/0.1553, allocations: 59.91 kB / 317.8 MB, free: 2.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1554, allocations: 260.7 kB / 318 MB, free: 2.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1554, allocations: 35.42 kB / 318.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.1555, allocations: 230.5 kB / 318.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.1556, allocations: 195.6 kB / 318.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1557, allocations: 114.9 kB / 318.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.1557, allocations: 353.9 kB / 318.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.1558, allocations: 67 kB / 319 MB, free: 1.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.156, allocations: 221.1 kB / 319.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1562, allocations: 360.3 kB / 319.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1562, allocations: 5.594 kB / 319.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005877/0.1568, allocations: 419.4 kB / 320 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1568, allocations: 8.812 kB / 320 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1569, allocations: 6.875 kB / 320 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008406/0.1653, allocations: 429.6 kB / 320.4 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.1657, allocations: 152.3 kB / 320.6 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.1669, allocations: 2.803 MB / 323.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.1671, allocations: 12 kB / 323.4 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1671, allocations: 24.77 kB / 323.4 MB, free: 13.11 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume1.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.0001356/0.1673, allocations: 154.1 kB / 323.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.1675, allocations: 71.66 kB / 323.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.1682, allocations: 0.6185 MB / 324.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.1682, allocations: 7.984 kB / 324.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1682, allocations: 4.75 kB / 324.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004708/0.1686, allocations: 0.6111 MB / 324.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1697, allocations: 0.9112 MB / 325.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1697, allocations: 4.797 kB / 325.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.17, allocations: 116.6 kB / 325.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.1715, allocations: 313.6 kB / 326.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1715, allocations: 8 kB / 326.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003913/0.1719, allocations: 1.055 MB / 327.3 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1719, allocations: 0.8125 kB / 327.3 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.1726, allocations: 0.6653 MB / 327.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.1727, allocations: 43.61 kB / 328 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.1727, allocations: 12 kB / 328 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1728, allocations: 16.75 kB / 328 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1729, allocations: 36.42 kB / 328 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.1729, allocations: 16.77 kB / 328.1 MB, free: 8.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.173, allocations: 107.4 kB / 328.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.173, allocations: 0.8125 kB / 328.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001669/0.1747, allocations: 423.1 kB / 328.6 MB, free: 7.828 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.008286/0.183, allocations: 3.49 MB / 332.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.1835, allocations: 467.3 kB / 332.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.1835, allocations: 4 kB / 332.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.1838, allocations: 222.2 kB / 332.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.1843, allocations: 240.5 kB / 333 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1856, allocations: 1.08 MB / 334.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.1857, allocations: 136 kB / 334.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.186, allocations: 208.3 kB / 334.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.1863, allocations: 219.1 kB / 334.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1863, allocations: 0 / 334.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of Templates: time 0.02236/0.2087, allocations: 24.97 MB / 359.6 MB, free: 9.121 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 -s gbode -gbm=radauIIA3 -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: 3.9742087670601904]