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.0008824/0.0008824, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0009344/0.0009344, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.8649/0.8649, allocations: 173.4 MB / 201.1 MB, free: 9.324 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.543e-06/1.543e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.092e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01068/0.0107, allocations: 11.76 MB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.01823, allocations: 9.418 MB / 289.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.01841, allocations: 15.88 kB / 289.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.01885, allocations: 178.9 kB / 289.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.01948, allocations: 0.5591 MB / 289.9 MB, free: 408 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1046/0.1241, allocations: 1.988 MB / 291.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.1254, allocations: 1.416 MB / 293.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1256, allocations: 125 kB / 293.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.1263, allocations: 0.7067 MB / 294.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.1267, allocations: 397 kB / 294.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.1268, allocations: 53.84 kB / 294.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/0.1329, allocations: 5.339 MB / 299.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.133, allocations: 159.8 kB / 300.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1332, allocations: 242.2 kB / 300.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006778/0.14, allocations: 5.04 MB / 305.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.14, allocations: 3.938 kB / 305.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.14, allocations: 0 / 305.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.14, allocations: 0 / 305.4 MB, free: 14.43 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.00149/0.1415, allocations: 0.9918 MB / 306.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1415, allocations: 12.03 kB / 306.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.1419, allocations: 189.9 kB / 306.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1422, allocations: 324.8 kB / 306.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1422, allocations: 37.56 kB / 306.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1423, allocations: 54.27 kB / 307 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.1429, allocations: 0.7278 MB / 307.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1429, allocations: 4.906 kB / 307.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.1429, allocations: 24.06 kB / 307.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1429, allocations: 12 kB / 307.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.1434, allocations: 341.3 kB / 308.1 MB, free: 12.12 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.001815/0.1452, allocations: 3.237 MB / 311.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.1457, allocations: 324.7 kB / 311.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1458, allocations: 138.9 kB / 311.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.1461, allocations: 149.7 kB / 311.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1461, allocations: 41.7 kB / 312 MB, free: 8.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.743e-06/0.1461, allocations: 0 / 312 MB, free: 8.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004094/0.1502, allocations: 1.535 MB / 313.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.1502, allocations: 55.91 kB / 313.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1504, allocations: 331.4 kB / 313.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1504, allocations: 37.45 kB / 313.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1504, allocations: 284.5 kB / 314.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.1505, allocations: 198.4 kB / 314.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.1506, allocations: 125.3 kB / 314.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.1507, allocations: 0.5222 MB / 315 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1508, allocations: 100.7 kB / 315.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.151, allocations: 316 kB / 315.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.1513, allocations: 468.1 kB / 315.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1513, allocations: 0 / 315.9 MB, free: 4.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005915/0.1519, allocations: 0.5539 MB / 316.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1519, allocations: 8 kB / 316.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1519, allocations: 11.41 kB / 316.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/0.1561, allocations: 428.9 kB / 316.9 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.1564, allocations: 142.8 kB / 317 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.1573, allocations: 4.238 MB / 321.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1575, allocations: 16.78 kB / 321.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.1575, allocations: 27.98 kB / 321.3 MB, free: 15.3 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 (volume1.medium.phase,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 (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.000132/0.1576, allocations: 199.2 kB / 321.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.1577, allocations: 55.77 kB / 321.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.1584, allocations: 0.7326 MB / 322.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1584, allocations: 8.797 kB / 322.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1584, allocations: 0 / 322.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005657/0.159, allocations: 0.7651 MB / 323.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1601, allocations: 1.231 MB / 324.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1601, allocations: 0 / 324.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.1604, allocations: 98.95 kB / 324.4 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.1618, allocations: 321.5 kB / 324.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.1618, allocations: 12 kB / 324.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006932/0.1625, allocations: 1.595 MB / 326.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1625, allocations: 7.047 kB / 326.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.1632, allocations: 0.8202 MB / 327.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.1633, allocations: 55.55 kB / 327.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1633, allocations: 14.62 kB / 327.2 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1635, allocations: 12 kB / 327.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1635, allocations: 36.42 kB / 327.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1636, allocations: 19.98 kB / 327.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1637, allocations: 239 kB / 327.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 3.531 kB / 327.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001255/0.165, allocations: 419.2 kB / 327.9 MB, free: 8.5 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.007462/0.1724, allocations: 3.462 MB / 331.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007862/0.1732, allocations: 0.5953 MB / 332 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1732, allocations: 4 kB / 332 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.1736, allocations: 271 kB / 332.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.1742, allocations: 245.2 kB / 332.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.176, allocations: 1.163 MB / 333.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.1761, allocations: 139.6 kB / 333.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.1764, allocations: 204.1 kB / 334 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.1764, allocations: 48.48 kB / 334 MB, free: 2.551 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1764, allocations: 0 / 334 MB, free: 2.551 MB / 282.7 MB Notification: Performance of Templates: time 0.02453/0.201, allocations: 25.23 MB / 359.3 MB, free: 9.531 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.026132770814002]