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.0008934/0.0008934, allocations: 87.89 kB / 21.19 MB, free: 3.379 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.0008072/0.0008072, allocations: 145.1 kB / 24.54 MB, free: 24 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.8816/0.8816, allocations: 173.4 MB / 201.2 MB, free: 9.297 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.103e-06/1.103e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.886e-05, allocations: 2.312 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009688/0.009707, allocations: 10.7 MB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.01658, allocations: 9.157 MB / 287.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.01674, allocations: 4 kB / 287.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.01713, allocations: 143 kB / 288 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.01763, allocations: 405.4 kB / 288.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.02076, allocations: 1.884 MB / 290.3 MB, free: 24 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1032/0.1239, allocations: 0.9882 MB / 291.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1241, allocations: 79.28 kB / 291.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.1247, allocations: 0.4977 MB / 291.9 MB, free: 16.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.125, allocations: 271.4 kB / 292.1 MB, free: 16.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.1251, allocations: 37.47 kB / 292.2 MB, free: 16.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006637/0.1317, allocations: 5.333 MB / 297.5 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.1318, allocations: 111.1 kB / 297.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.132, allocations: 171.8 kB / 297.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.1387, allocations: 4.905 MB / 302.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1387, allocations: 3.094 kB / 302.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1387, allocations: 0 / 302.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1387, allocations: 0.6875 kB / 302.7 MB, free: 15.9 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.001516/0.1402, allocations: 0.8613 MB / 303.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1402, allocations: 10.67 kB / 303.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.1406, allocations: 140.2 kB / 303.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1408, allocations: 258.2 kB / 303.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1408, allocations: 26.62 kB / 304 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1408, allocations: 31.97 kB / 304 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.1413, allocations: 0.5359 MB / 304.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1413, allocations: 5.281 kB / 304.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1413, allocations: 18.33 kB / 304.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1413, allocations: 9.344 kB / 304.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1417, allocations: 249.5 kB / 304.8 MB, free: 14.73 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.001588/0.1433, allocations: 2.566 MB / 307.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1436, allocations: 213 kB / 307.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.1437, allocations: 88.84 kB / 307.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.1439, allocations: 154.6 kB / 307.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1439, allocations: 33.39 kB / 307.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.1439, allocations: 0 / 307.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002477/0.1464, allocations: 0.9865 MB / 308.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.1464, allocations: 59.34 kB / 308.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1465, allocations: 278.3 kB / 309.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1466, allocations: 31.11 kB / 309.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1466, allocations: 243.3 kB / 309.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.1467, allocations: 130.2 kB / 309.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1467, allocations: 84.94 kB / 309.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.1468, allocations: 0.506 MB / 310.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.1469, allocations: 66.23 kB / 310.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.147, allocations: 235.2 kB / 310.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1472, allocations: 321.9 kB / 310.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1472, allocations: 4 kB / 310.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004017/0.1476, allocations: 380.4 kB / 311.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1476, allocations: 4 kB / 311.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1477, allocations: 4 kB / 311.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.1497, allocations: 237.2 kB / 311.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1499, allocations: 82.25 kB / 311.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006003/0.1505, allocations: 2.544 MB / 314 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1506, allocations: 15.5 kB / 314 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1506, allocations: 19.31 kB / 314 MB, free: 6.898 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 (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 (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 7.958e-05/0.1507, allocations: 184.9 kB / 314.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1507, allocations: 42.34 kB / 314.2 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.1512, allocations: 496 kB / 314.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1512, allocations: 4 kB / 314.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1512, allocations: 0 / 314.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000297/0.1515, allocations: 0.6528 MB / 315.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.1521, allocations: 0.8767 MB / 316.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1521, allocations: 0 / 316.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1522, allocations: 63.47 kB / 316.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006638/0.1529, allocations: 161.9 kB / 316.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1529, allocations: 19.19 kB / 316.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001238/0.153, allocations: 0.792 MB / 317.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.153, allocations: 1.719 kB / 317.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1534, allocations: 0.5708 MB / 317.9 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.1534, allocations: 31.73 kB / 317.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1535, allocations: 11.75 kB / 317.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1535, allocations: 13.31 kB / 317.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.1536, allocations: 23.95 kB / 317.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1536, allocations: 11.38 kB / 318 MB, free: 3.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.1537, allocations: 216.5 kB / 318.2 MB, free: 3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 318.2 MB, free: 3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001046/0.1547, allocations: 371.9 kB / 318.5 MB, free: 2.664 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.006776/0.1615, allocations: 3.463 MB / 322 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.162, allocations: 442.4 kB / 322.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.162, allocations: 0 / 322.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1621, allocations: 152.5 kB / 322.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1626, allocations: 175.9 kB / 322.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1637, allocations: 0.7724 MB / 323.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.7e-05/0.1637, allocations: 111 kB / 323.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1639, allocations: 168.5 kB / 323.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.164, allocations: 33.19 kB / 323.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.164, allocations: 1.719 kB / 323.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01983/0.1838, allocations: 22.01 MB / 345.8 MB, free: 7.812 MB / 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.845182954799384]