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.001448/0.001448, 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.001708/0.001708, 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.9566/0.9566, allocations: 177.1 MB / 205 MB, free: 5.621 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.903e-06/1.903e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.919e-05, allocations: 6.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0111/0.01113, allocations: 10.75 MB / 283.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1169/0.128, allocations: 9.16 MB / 292.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.1282, allocations: 11.38 kB / 292.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.1287, allocations: 141.3 kB / 293 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.1292, allocations: 404.9 kB / 293.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.1327, allocations: 1.895 MB / 295.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.1336, allocations: 0.99 MB / 296.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1337, allocations: 80.66 kB / 296.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.1343, allocations: 0.4938 MB / 296.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.1347, allocations: 274.7 kB / 297.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1347, allocations: 37.12 kB / 297.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005739/0.1405, allocations: 5.34 MB / 302.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.1406, allocations: 111.2 kB / 302.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1407, allocations: 168.1 kB / 302.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006474/0.1472, allocations: 4.916 MB / 307.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1472, allocations: 0.7812 kB / 307.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1472, allocations: 0 / 307.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1472, allocations: 0 / 307.7 MB, free: 12.1 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.001893/0.1491, allocations: 0.8691 MB / 308.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1491, allocations: 8.031 kB / 308.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.1495, allocations: 136 kB / 308.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1497, allocations: 261.8 kB / 309 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1497, allocations: 28.66 kB / 309 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1498, allocations: 36.72 kB / 309.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.1502, allocations: 0.5364 MB / 309.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1502, allocations: 4.812 kB / 309.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1503, allocations: 16 kB / 309.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1503, allocations: 8.781 kB / 309.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1506, allocations: 242.8 kB / 309.9 MB, free: 9.852 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.001545/0.1521, allocations: 2.578 MB / 312.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1524, allocations: 221.4 kB / 312.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.1525, allocations: 84.2 kB / 312.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.1528, allocations: 147 kB / 312.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.1528, allocations: 39.14 kB / 312.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.1528, allocations: 0 / 312.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002879/0.1557, allocations: 1.002 MB / 313.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.1557, allocations: 59.16 kB / 314 MB, free: 5.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1558, allocations: 282.5 kB / 314.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1559, allocations: 35.42 kB / 314.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.1559, allocations: 240.5 kB / 314.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.156, allocations: 125.5 kB / 314.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.1561, allocations: 87.8 kB / 314.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.1561, allocations: 0.5079 MB / 315.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.1562, allocations: 66.67 kB / 315.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1563, allocations: 223.9 kB / 315.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1566, allocations: 324.5 kB / 315.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1566, allocations: 0 / 315.8 MB, free: 3.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005512/0.1572, allocations: 394.1 kB / 316.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1572, allocations: 12.75 kB / 316.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1572, allocations: 7.938 kB / 316.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.1599, allocations: 236.7 kB / 316.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1601, allocations: 90.61 kB / 316.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/0.1609, allocations: 2.544 MB / 319.1 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.161, allocations: 12 kB / 319.1 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1611, allocations: 20.81 kB / 319.1 MB, free: 188 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.0001114/0.1612, allocations: 180.5 kB / 319.3 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1613, allocations: 58.08 kB / 319.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.1618, allocations: 490.9 kB / 319.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.1619, allocations: 12.73 kB / 319.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.1619, allocations: 0 / 319.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004364/0.1623, allocations: 0.6617 MB / 320.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008371/0.1631, allocations: 0.8674 MB / 321.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1631, allocations: 3.938 kB / 321.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1633, allocations: 60.28 kB / 321.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007091/0.164, allocations: 162 kB / 321.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.164, allocations: 12 kB / 321.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002562/0.1643, allocations: 0.8033 MB / 322.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1643, allocations: 1.641 kB / 322.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.1648, allocations: 0.5755 MB / 323 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1649, allocations: 27.81 kB / 323 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1649, allocations: 15.89 kB / 323.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.165, allocations: 9.328 kB / 323.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.165, allocations: 19.97 kB / 323.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.165, allocations: 19.98 kB / 323.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1652, allocations: 213.1 kB / 323.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1652, allocations: 1.312 kB / 323.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001627/0.1668, allocations: 379.1 kB / 323.7 MB, free: 11.48 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.008975/0.1758, allocations: 3.466 MB / 327.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.1768, allocations: 437.1 kB / 327.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1768, allocations: 3.281 kB / 327.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.177, allocations: 149.7 kB / 327.7 MB, free: 7.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.1777, allocations: 164.7 kB / 327.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1793, allocations: 0.7848 MB / 328.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.1794, allocations: 115 kB / 328.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.1797, allocations: 174.1 kB / 329 MB, free: 6.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.1798, allocations: 32.5 kB / 329 MB, free: 6.32 MB / 282.7 MB Notification: Performance of SimCode: time 2.074e-06/0.1798, allocations: 0 / 329 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Templates: time 0.02738/0.2072, allocations: 22.11 MB / 351.1 MB, free: 388 kB / 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.08457920094952]