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.0009198/0.0009198, 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.0008646/0.0008646, allocations: 143 kB / 24.89 MB, free: 8.781 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.8933/0.8933, 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.102e-06/1.102e-06, allocations: 0 / 268.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.218e-05, allocations: 2.312 kB / 268.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.01015/0.01016, allocations: 11.76 MB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.01702, allocations: 9.448 MB / 289.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.01716, allocations: 7.938 kB / 289.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.01752, allocations: 182.8 kB / 289.9 MB, free: 484 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09561/0.1131, allocations: 0.5479 MB / 290.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003926/0.1171, allocations: 1.919 MB / 292.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1183, allocations: 1.408 MB / 293.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1185, allocations: 130.8 kB / 293.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.1193, allocations: 0.7029 MB / 294.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.1197, allocations: 373.1 kB / 295 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.1198, allocations: 52.91 kB / 295.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005677/0.1255, allocations: 5.443 MB / 300.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1256, allocations: 164.3 kB / 300.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1257, allocations: 241.1 kB / 300.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.1311, allocations: 5.04 MB / 305.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1311, allocations: 0 / 305.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1311, allocations: 0.7812 kB / 305.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1311, allocations: 0 / 305.9 MB, free: 14.29 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.001833/0.1329, allocations: 0.8707 MB / 306.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.1329, allocations: 8.031 kB / 306.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.1334, allocations: 184.4 kB / 307 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1336, allocations: 260 kB / 307.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1336, allocations: 38.31 kB / 307.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1337, allocations: 56.45 kB / 307.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.1342, allocations: 0.6688 MB / 308 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1342, allocations: 6.031 kB / 308 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1342, allocations: 19.88 kB / 308 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1342, allocations: 12 kB / 308 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.1346, allocations: 276 kB / 308.3 MB, free: 12.06 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.001516/0.1361, allocations: 2.407 MB / 310.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1365, allocations: 268.9 kB / 311 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.957e-05/0.1365, allocations: 101.9 kB / 311.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.1368, allocations: 155.7 kB / 311.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.1368, allocations: 39.59 kB / 311.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.553e-06/0.1368, allocations: 0 / 311.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.004107/0.1409, allocations: 1.351 MB / 312.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.1409, allocations: 59.84 kB / 312.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.141, allocations: 262.8 kB / 312.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.141, allocations: 41.45 kB / 313 MB, free: 7.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1411, allocations: 219.6 kB / 313.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.1411, allocations: 195.4 kB / 313.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.1412, allocations: 117.5 kB / 313.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.1412, allocations: 350.1 kB / 313.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.1413, allocations: 66.97 kB / 313.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1414, allocations: 226.5 kB / 314.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1416, allocations: 353.9 kB / 314.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1416, allocations: 1.719 kB / 314.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003506/0.142, allocations: 402.5 kB / 314.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.142, allocations: 10.97 kB / 314.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.142, allocations: 9.25 kB / 314.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/0.1459, allocations: 408.7 kB / 315.3 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.1462, allocations: 153.5 kB / 315.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000624/0.1468, allocations: 2.797 MB / 318.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1469, allocations: 15.69 kB / 318.2 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.147, allocations: 27.55 kB / 318.3 MB, free: 2.504 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 8.648e-05/0.147, allocations: 147.3 kB / 318.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1471, allocations: 47.77 kB / 318.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1475, allocations: 0.6163 MB / 319.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1475, allocations: 17.7 kB / 319.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1475, allocations: 3.938 kB / 319.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002662/0.1478, allocations: 0.6104 MB / 319.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.1485, allocations: 0.9116 MB / 320.6 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1485, allocations: 5.672 kB / 320.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.1487, allocations: 111.2 kB / 320.7 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.1501, allocations: 313.9 kB / 321 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1501, allocations: 12 kB / 321.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003296/0.1505, allocations: 1.06 MB / 322.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1505, allocations: 3.281 kB / 322.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.151, allocations: 0.6432 MB / 322.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.151, allocations: 43.66 kB / 322.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.151, allocations: 19.89 kB / 322.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1511, allocations: 11.94 kB / 322.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1512, allocations: 39.52 kB / 322.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1512, allocations: 17.7 kB / 322.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.1513, allocations: 103.3 kB / 323 MB, free: 13.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1513, allocations: 0 / 323 MB, free: 13.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001302/0.1526, allocations: 419.2 kB / 323.4 MB, free: 13.32 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.007019/0.1596, allocations: 3.483 MB / 326.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.1601, allocations: 459.7 kB / 327.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.1601, allocations: 4 kB / 327.3 MB, free: 9.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.1604, allocations: 224.9 kB / 327.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.161, allocations: 239.9 kB / 327.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1626, allocations: 1.084 MB / 328.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.638e-05/0.1626, allocations: 136 kB / 329 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.1629, allocations: 196.2 kB / 329.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.1632, allocations: 231.3 kB / 329.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1632, allocations: 0 / 329.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of Templates: time 0.02239/0.1856, allocations: 24.86 MB / 354.3 MB, free: 14.84 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 -s gbode -gbm=radauIIA3 -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: 3.991660741623491]