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.0008799/0.0008799, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0008653/0.0008653, allocations: 147.1 kB / 24.9 MB, free: 8.727 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.9259/0.9259, allocations: 173.4 MB / 201.5 MB, free: 8.746 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 1.633e-06/1.633e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.915e-05, allocations: 6.25 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01048/0.0105, allocations: 11.73 MB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.01797, allocations: 9.448 MB / 289.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.01816, allocations: 11.94 kB / 289.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008612/0.01902, allocations: 182.8 kB / 289.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.116/0.135, allocations: 0.5558 MB / 290.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.139, allocations: 2.016 MB / 292.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1403, allocations: 1.409 MB / 293.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.1405, allocations: 126.4 kB / 294 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.1413, allocations: 0.707 MB / 294.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.1418, allocations: 372.3 kB / 295 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.1419, allocations: 52.91 kB / 295.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005954/0.1478, allocations: 5.343 MB / 300.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1479, allocations: 159 kB / 300.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.1482, allocations: 245.4 kB / 300.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006186/0.1543, allocations: 5.036 MB / 305.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1543, allocations: 0.8125 kB / 305.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1543, allocations: 0 / 305.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1544, allocations: 4.062 kB / 305.9 MB, free: 14.45 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.001886/0.1562, allocations: 0.8659 MB / 306.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.1563, allocations: 12.84 kB / 306.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.1566, allocations: 183.3 kB / 306.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1569, allocations: 259.5 kB / 307.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1569, allocations: 36.12 kB / 307.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.1569, allocations: 56.72 kB / 307.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.1574, allocations: 0.6673 MB / 307.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1574, allocations: 4.812 kB / 307.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.1574, allocations: 22.31 kB / 308 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1574, allocations: 16.72 kB / 308 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.1577, allocations: 283.4 kB / 308.2 MB, free: 12.22 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.001538/0.1592, allocations: 2.393 MB / 310.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1596, allocations: 261 kB / 310.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.1597, allocations: 102.3 kB / 311 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.1599, allocations: 160.4 kB / 311.1 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.1599, allocations: 43.44 kB / 311.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.814e-06/0.1599, allocations: 0 / 311.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.003567/0.1635, allocations: 1.348 MB / 312.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.443e-05/0.1635, allocations: 56.72 kB / 312.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1636, allocations: 263.9 kB / 312.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1636, allocations: 37.8 kB / 312.9 MB, free: 7.922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1636, allocations: 219.8 kB / 313.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.1637, allocations: 197.7 kB / 313.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-05/0.1638, allocations: 113 kB / 313.4 MB, free: 7.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.1638, allocations: 352 kB / 313.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.1639, allocations: 69.16 kB / 313.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.164, allocations: 227.4 kB / 314 MB, free: 6.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1642, allocations: 354.7 kB / 314.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1642, allocations: 7.281 kB / 314.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003517/0.1646, allocations: 398.2 kB / 314.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1646, allocations: 10.97 kB / 314.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1646, allocations: 4.781 kB / 314.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.1682, allocations: 407.2 kB / 315.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1685, allocations: 136.8 kB / 315.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000615/0.1691, allocations: 2.79 MB / 318.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1692, allocations: 23.38 kB / 318.1 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.1692, allocations: 27.23 kB / 318.2 MB, free: 2.684 MB / 266.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 9.468e-05/0.1693, allocations: 150.2 kB / 318.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.1693, allocations: 47.45 kB / 318.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.1698, allocations: 0.6114 MB / 319 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1698, allocations: 16.77 kB / 319 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1698, allocations: 4 kB / 319 MB, free: 1.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002629/0.1701, allocations: 0.6146 MB / 319.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.1707, allocations: 0.9132 MB / 320.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1707, allocations: 0.8125 kB / 320.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1709, allocations: 100.1 kB / 320.6 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.172, allocations: 314 kB / 320.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.172, allocations: 23.86 kB / 320.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003427/0.1723, allocations: 1.047 MB / 322 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1723, allocations: 0 / 322 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1728, allocations: 0.6465 MB / 322.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1729, allocations: 50.53 kB / 322.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1729, allocations: 21.61 kB / 322.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.173, allocations: 8 kB / 322.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.173, allocations: 40.36 kB / 322.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1731, allocations: 12 kB / 322.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.1731, allocations: 103.8 kB / 322.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1731, allocations: 4 kB / 322.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001402/0.1745, allocations: 419.2 kB / 323.3 MB, free: 13.54 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.007149/0.1817, allocations: 3.482 MB / 326.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.1822, allocations: 466.4 kB / 327.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.1823, allocations: 4 kB / 327.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1825, allocations: 217.4 kB / 327.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.1831, allocations: 242.5 kB / 327.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1844, allocations: 1.07 MB / 328.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.1845, allocations: 144 kB / 328.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.1848, allocations: 204.8 kB / 329.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.1851, allocations: 228.4 kB / 329.3 MB, free: 7.684 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1851, allocations: 0 / 329.3 MB, free: 7.684 MB / 282.7 MB Notification: Performance of Templates: time 0.02235/0.2075, allocations: 24.75 MB / 354.1 MB, free: 15.15 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.106402477249503]