Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.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.001082/0.001082, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001086/0.001086, allocations: 139.9 kB / 24.89 MB, free: 9.207 MB / 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.9035/0.9035, allocations: 173.3 MB / 201.5 MB, free: 9.207 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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.056e-05, allocations: 6.312 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01077/0.01079, allocations: 10.72 MB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00857/0.01936, allocations: 9.187 MB / 288.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.01959, allocations: 7.938 kB / 288.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.02002, allocations: 151.1 kB / 288.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.02059, allocations: 389.5 kB / 289 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1066/0.1272, allocations: 1.803 MB / 290.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.1284, allocations: 0.9815 MB / 291.7 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1286, allocations: 81.25 kB / 291.8 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.1295, allocations: 0.4967 MB / 292.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.13, allocations: 261.9 kB / 292.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.1301, allocations: 36.94 kB / 292.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009206/0.1393, allocations: 5.431 MB / 298 MB, free: 16.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1394, allocations: 112.8 kB / 298.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.1398, allocations: 170 kB / 298.3 MB, free: 16.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.1499, allocations: 4.91 MB / 303.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1499, allocations: 0.8125 kB / 303.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1499, allocations: 3.594 kB / 303.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1499, allocations: 0.5 kB / 303.2 MB, free: 16.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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002926/0.1528, allocations: 0.7297 MB / 304 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1529, allocations: 12.02 kB / 304 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.1533, allocations: 137.6 kB / 304.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1536, allocations: 217.2 kB / 304.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1536, allocations: 25.16 kB / 304.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1536, allocations: 35.69 kB / 304.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.1542, allocations: 0.497 MB / 304.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1542, allocations: 3.938 kB / 304.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1542, allocations: 19.17 kB / 304.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1543, allocations: 11.06 kB / 304.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.1547, allocations: 197.2 kB / 305.1 MB, free: 15.04 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.002088/0.1568, allocations: 1.924 MB / 307 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1571, allocations: 175 kB / 307.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.1572, allocations: 65.02 kB / 307.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.1575, allocations: 149.1 kB / 307.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1575, allocations: 39.91 kB / 307.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 3.607e-06/0.1575, allocations: 0.8906 kB / 307.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003717/0.1612, allocations: 0.8485 MB / 308.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.1613, allocations: 55.41 kB / 308.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1614, allocations: 219.7 kB / 308.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1614, allocations: 37.92 kB / 308.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.1615, allocations: 185.6 kB / 308.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.1616, allocations: 125.1 kB / 308.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1617, allocations: 81.75 kB / 309 MB, free: 12.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.1617, allocations: 345.3 kB / 309.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.1618, allocations: 40.73 kB / 309.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1619, allocations: 156.8 kB / 309.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.1622, allocations: 252.3 kB / 309.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1622, allocations: 6.688 kB / 309.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004293/0.1626, allocations: 277 kB / 310 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1626, allocations: 6.969 kB / 310 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1626, allocations: 6.344 kB / 310.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/0.1658, allocations: 209.4 kB / 310.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.1663, allocations: 93.8 kB / 310.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.1674, allocations: 1.697 MB / 312 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1677, allocations: 10.69 kB / 312.1 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.1677, allocations: 15.55 kB / 312.1 MB, free: 8.898 MB / 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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.0002103/0.1679, allocations: 149.3 kB / 312.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.168, allocations: 31.72 kB / 312.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.1686, allocations: 431.4 kB / 312.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1686, allocations: 7 kB / 312.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1686, allocations: 3.984 kB / 312.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003844/0.169, allocations: 0.5604 MB / 313.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.17, allocations: 0.6635 MB / 313.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.1701, allocations: 0 / 313.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1703, allocations: 71.11 kB / 314 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.1714, allocations: 157.5 kB / 314.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1714, allocations: 10.44 kB / 314.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001922/0.1716, allocations: 0.5278 MB / 314.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1716, allocations: 0 / 314.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.172, allocations: 477.9 kB / 315.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1721, allocations: 35.69 kB / 315.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1721, allocations: 9.219 kB / 315.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1723, allocations: 7.984 kB / 315.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1723, allocations: 27.83 kB / 315.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1723, allocations: 7.25 kB / 315.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.1724, allocations: 87.47 kB / 315.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1724, allocations: 1.719 kB / 315.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002813/0.1752, allocations: 366.6 kB / 315.7 MB, free: 5.398 MB / 266.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.01045/0.1857, allocations: 3.486 MB / 319.1 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.1862, allocations: 333.4 kB / 319.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.1862, allocations: 4 kB / 319.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1863, allocations: 119.9 kB / 319.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1868, allocations: 165.9 kB / 319.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1879, allocations: 0.7715 MB / 320.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.188, allocations: 115.2 kB / 320.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1882, allocations: 156.9 kB / 320.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.1884, allocations: 168.6 kB / 321 MB, free: 380 kB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1884, allocations: 3.094 kB / 321 MB, free: 380 kB / 266.7 MB Notification: Performance of Templates: time 0.02261/0.211, allocations: 21.5 MB / 342.5 MB, free: 11.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.784647315274924]