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.0008953/0.0008953, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001347/0.001347, allocations: 153.5 kB / 24.81 MB, free: 9.34 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.8995/0.8995, allocations: 173.3 MB / 201.4 MB, free: 9.238 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.343e-06/1.343e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.185e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01043/0.01046, allocations: 10.64 MB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007646/0.0181, allocations: 9.048 MB / 288.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.01833, allocations: 11.94 kB / 288.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.01876, allocations: 147 kB / 288.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.01931, allocations: 397.5 kB / 288.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.02296, allocations: 1.884 MB / 290.5 MB, free: 16 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1039/0.1268, allocations: 0.9897 MB / 291.5 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1271, allocations: 82.3 kB / 291.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.1278, allocations: 0.4963 MB / 292.1 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.1282, allocations: 271.4 kB / 292.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.1283, allocations: 37.84 kB / 292.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007935/0.1363, allocations: 5.323 MB / 297.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.1364, allocations: 120.7 kB / 297.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.1367, allocations: 166.3 kB / 298 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.1475, allocations: 4.907 MB / 302.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1475, allocations: 3.812 kB / 302.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1475, allocations: 0 / 302.9 MB, free: 16.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1475, allocations: 0.6875 kB / 302.9 MB, free: 16.11 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.003251/0.1508, allocations: 0.8601 MB / 303.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1508, allocations: 11.89 kB / 303.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.1513, allocations: 135.4 kB / 303.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.1516, allocations: 261.2 kB / 304.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1516, allocations: 25.19 kB / 304.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.815e-05/0.1517, allocations: 36.34 kB / 304.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.1522, allocations: 0.5126 MB / 304.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1522, allocations: 10.69 kB / 304.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.1523, allocations: 15.34 kB / 304.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1523, allocations: 8.562 kB / 304.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.1526, allocations: 208.5 kB / 305 MB, free: 14.94 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.00207/0.1547, allocations: 2.529 MB / 307.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.1551, allocations: 193.7 kB / 307.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.1552, allocations: 77.2 kB / 307.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.1555, allocations: 158.2 kB / 307.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1555, allocations: 45.77 kB / 308 MB, free: 12.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/0.1555, allocations: 0 / 308 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.003224/0.1587, allocations: 0.9084 MB / 308.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.1588, allocations: 62.25 kB / 308.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1589, allocations: 273.2 kB / 309.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1589, allocations: 30.7 kB / 309.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.159, allocations: 250.3 kB / 309.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/0.159, allocations: 125.4 kB / 309.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.1591, allocations: 88.42 kB / 309.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.1592, allocations: 0.518 MB / 310.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.1593, allocations: 48.95 kB / 310.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1594, allocations: 214.1 kB / 310.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1596, allocations: 300 kB / 310.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1596, allocations: 5.719 kB / 310.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004308/0.16, allocations: 355.3 kB / 311.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.16, allocations: 12.56 kB / 311.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1601, allocations: 4 kB / 311.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.1633, allocations: 233.6 kB / 311.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1635, allocations: 89.52 kB / 311.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04265/0.2062, allocations: 9.11 MB / 320.6 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.2064, allocations: 11.75 kB / 320.6 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2064, allocations: 15.94 kB / 320.6 MB, free: 368 kB / 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.0001344/0.2065, allocations: 188.8 kB / 320.8 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.2066, allocations: 47.38 kB / 320.8 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005984/0.2072, allocations: 461.3 kB / 321.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2072, allocations: 8.594 kB / 321.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2072, allocations: 0 / 321.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006522/0.2137, allocations: 0.6283 MB / 321.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.2147, allocations: 0.8061 MB / 322.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2147, allocations: 0.8125 kB / 322.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2149, allocations: 63.09 kB / 322.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/0.2158, allocations: 192.3 kB / 323 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.2159, allocations: 7.5 kB / 323 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/0.223, allocations: 1.766 MB / 324.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.223, allocations: 8 kB / 324.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.2236, allocations: 0.5377 MB / 325.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.2237, allocations: 27.77 kB / 325.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.2237, allocations: 15.75 kB / 325.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.2239, allocations: 7.812 kB / 325.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.2239, allocations: 24.7 kB / 325.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.2239, allocations: 15.67 kB / 325.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.224, allocations: 201.5 kB / 325.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.224, allocations: 1.344 kB / 325.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.005154/0.2292, allocations: 373.2 kB / 325.9 MB, free: 11.2 MB / 282.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 ($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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008896/0.2381, allocations: 3.482 MB / 329.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.2386, allocations: 399.3 kB / 329.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2386, allocations: 5.344 kB / 329.8 MB, free: 7.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.2389, allocations: 301.5 kB / 330.1 MB, free: 7.148 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.2394, allocations: 171.2 kB / 330.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.2406, allocations: 0.7742 MB / 331 MB, free: 6.281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.49e-05/0.2407, allocations: 111 kB / 331.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.2409, allocations: 161.5 kB / 331.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.2412, allocations: 205.9 kB / 331.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2412, allocations: 3.938 kB / 331.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of Templates: time 0.02278/0.2639, allocations: 21.91 MB / 353.4 MB, free: 136 kB / 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 -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.9323636940680444]