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.0007626/0.0007626, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009953/0.001758, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007533/0.0007533, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009239/0.001677, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9001/0.9001, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09605/0.9962, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.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 2.985e-06/2.985e-06, allocations: 7.938 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.267e-05, allocations: 6.312 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02428/0.02431, allocations: 10.73 MB / 250.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.03589, allocations: 9.223 MB / 259.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.0361, allocations: 7.938 kB / 259.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.03643, allocations: 147 kB / 259.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.03691, allocations: 397.5 kB / 260.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.04057, allocations: 1.812 MB / 261.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.04143, allocations: 0.9891 MB / 262.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.04161, allocations: 81.08 kB / 262.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.04237, allocations: 0.5186 MB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.04272, allocations: 267.2 kB / 263.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.04276, allocations: 36 kB / 263.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.04838, allocations: 5.438 MB / 269.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.04849, allocations: 91.66 kB / 269.3 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.04866, allocations: 147.8 kB / 269.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.05484, allocations: 4.705 MB / 274.1 MB, free: 500 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.05485, allocations: 0 / 274.1 MB, free: 500 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05485, allocations: 0 / 274.1 MB, free: 500 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.05487, allocations: 0 / 274.1 MB, free: 500 kB / 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.1024/0.1572, allocations: 1.453 MB / 275.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1573, allocations: 9.875 kB / 275.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.1577, allocations: 218.2 kB / 275.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.158, allocations: 213.2 kB / 276 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.158, allocations: 21.59 kB / 276 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.1581, allocations: 37.52 kB / 276.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.1586, allocations: 0.4958 MB / 276.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1586, allocations: 3.109 kB / 276.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1587, allocations: 16.91 kB / 276.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1587, allocations: 8.5 kB / 276.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.159, allocations: 199.3 kB / 276.8 MB, free: 9.879 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.001864/0.1608, allocations: 1.936 MB / 278.7 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1612, allocations: 172.3 kB / 278.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.1612, allocations: 69.16 kB / 279 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.1615, allocations: 143.6 kB / 279.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1616, allocations: 42.98 kB / 279.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.1616, allocations: 2.969 kB / 279.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.00248/0.164, allocations: 0.8472 MB / 280 MB, free: 8.609 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.1641, allocations: 58.22 kB / 280 MB, free: 8.547 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1642, allocations: 215.7 kB / 280.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1642, allocations: 34.61 kB / 280.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1643, allocations: 191.9 kB / 280.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.1643, allocations: 124.3 kB / 280.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.1644, allocations: 83.59 kB / 280.7 MB, free: 8.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.1645, allocations: 339.9 kB / 281 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.1645, allocations: 42.86 kB / 281.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.1646, allocations: 158 kB / 281.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1648, allocations: 252.2 kB / 281.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1648, allocations: 1.375 kB / 281.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003433/0.1652, allocations: 279.7 kB / 281.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1652, allocations: 6.469 kB / 281.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1652, allocations: 5.969 kB / 281.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.1671, allocations: 212.7 kB / 282 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1673, allocations: 107.4 kB / 282.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005891/0.1679, allocations: 1.699 MB / 283.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.168, allocations: 11.06 kB / 283.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1681, allocations: 14.81 kB / 283.8 MB, free: 5.848 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 9.161e-05/0.1681, allocations: 143.1 kB / 283.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1682, allocations: 31.28 kB / 284 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.1686, allocations: 433.1 kB / 284.4 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1686, allocations: 13.45 kB / 284.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1686, allocations: 1.438 kB / 284.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002452/0.1689, allocations: 0.5617 MB / 285 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.1695, allocations: 0.6608 MB / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1695, allocations: 0 / 285.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1697, allocations: 80.64 kB / 285.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.1697, allocations: 33.05 kB / 285.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00061/0.1703, allocations: 160.1 kB / 285.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.1704, allocations: 6.875 kB / 285.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001191/0.1705, allocations: 0.5242 MB / 286.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1705, allocations: 0 / 286.4 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.1708, allocations: 483.1 kB / 286.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.1709, allocations: 16.47 kB / 286.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.1709, allocations: 8.719 kB / 286.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.171, allocations: 24 kB / 286.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.171, allocations: 6.594 kB / 286.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.1711, allocations: 88.66 kB / 287 MB, free: 4.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1711, allocations: 0.7812 kB / 287 MB, free: 4.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00144/0.1725, allocations: 367.6 kB / 287.4 MB, free: 4.012 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.007697/0.1802, allocations: 3.493 MB / 290.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1807, allocations: 331.4 kB / 291.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/0.1807, allocations: 6.406 kB / 291.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1809, allocations: 127.5 kB / 291.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.1814, allocations: 200.6 kB / 291.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.1864, allocations: 0.7906 MB / 292.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.751e-05/0.1865, allocations: 113 kB / 292.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.1868, allocations: 155.7 kB / 292.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.1871, allocations: 175.3 kB / 292.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.853e-06/0.1871, allocations: 0 / 292.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of Templates: time 0.02041/0.2075, allocations: 21.82 MB / 314.6 MB, free: 2.078 MB / 282.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 -emit_protected -ignoreHideResult -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.7083999225869775]