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.001855/0.001855, allocations: 78.09 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002128/0.002128, allocations: 154.5 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.423/1.423, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.192e-06/1.192e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.248e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02727/0.02729, allocations: 24.44 MB / 343.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02642/0.05371, allocations: 22.03 MB / 365.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.05406, allocations: 11.94 kB / 365.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008052/0.05487, allocations: 274.3 kB / 365.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008141/0.05568, allocations: 389.5 kB / 366 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.06646, allocations: 4.173 MB / 370.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.06773, allocations: 0.9577 MB / 371.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.06791, allocations: 73.23 kB / 371.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007561/0.06867, allocations: 0.5181 MB / 371.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.06906, allocations: 283.1 kB / 372 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.06917, allocations: 36 kB / 372.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02038/0.08956, allocations: 10.15 MB / 382.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.08981, allocations: 119.6 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003477/0.09016, allocations: 167.7 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03363/0.1238, allocations: 12 MB / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1238, allocations: 0 / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1238, allocations: 0 / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1238, allocations: 0 / 394.5 MB, free: 15.91 MB / 366.1 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.005947/0.1297, allocations: 1.086 MB / 395.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1298, allocations: 16.91 kB / 395.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.1303, allocations: 75.73 kB / 395.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.1308, allocations: 256.6 kB / 395.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1309, allocations: 20.66 kB / 396 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.1309, allocations: 36 kB / 396 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/0.1319, allocations: 0.6113 MB / 396.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1319, allocations: 0 / 396.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.132, allocations: 19.94 kB / 396.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.132, allocations: 12 kB / 396.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.1328, allocations: 390.3 kB / 397 MB, free: 13.27 MB / 366.1 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.003211/0.136, allocations: 2.164 MB / 399.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.1366, allocations: 282.8 kB / 399.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1369, allocations: 137.2 kB / 399.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.1384, allocations: 455.5 kB / 400 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1384, allocations: 38.56 kB / 400.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.1384, allocations: 0 / 400.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00535/0.1438, allocations: 1.135 MB / 401.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1438, allocations: 55.41 kB / 401.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1441, allocations: 243.9 kB / 401.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.1441, allocations: 29.7 kB / 401.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1442, allocations: 200.4 kB / 401.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1443, allocations: 126.9 kB / 401.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1445, allocations: 82.14 kB / 401.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1446, allocations: 342.8 kB / 402.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1448, allocations: 109 kB / 402.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.1451, allocations: 226.7 kB / 402.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.1457, allocations: 374 kB / 403 MB, free: 7.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1457, allocations: 4 kB / 403 MB, free: 7.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000861/0.1466, allocations: 450.8 kB / 403.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1466, allocations: 8 kB / 403.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1466, allocations: 4 kB / 403.4 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/0.1515, allocations: 233.8 kB / 403.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1518, allocations: 99.7 kB / 403.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.1534, allocations: 1.816 MB / 405.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.1536, allocations: 19.88 kB / 405.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1537, allocations: 23.98 kB / 405.6 MB, free: 4.258 MB / 366.1 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 0.0002189/0.1539, allocations: 166.6 kB / 405.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.154, allocations: 23.86 kB / 405.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.1551, allocations: 0.7096 MB / 406.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.1551, allocations: 4 kB / 406.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1551, allocations: 0 / 406.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009548/0.1561, allocations: 0.88 MB / 407.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1576, allocations: 1.083 MB / 408.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1576, allocations: 0 / 408.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.1579, allocations: 63.91 kB / 408.5 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.1595, allocations: 176.5 kB / 408.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1595, allocations: 12 kB / 408.7 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/0.1599, allocations: 0.5797 MB / 409.3 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1599, allocations: 4.094 kB / 409.3 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.161, allocations: 0.7476 MB / 410 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.161, allocations: 27.84 kB / 410.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/0.1611, allocations: 7.938 kB / 410.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.1613, allocations: 12 kB / 410.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1613, allocations: 19.95 kB / 410.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1614, allocations: 15.98 kB / 410.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1616, allocations: 201.2 kB / 410.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1616, allocations: 0 / 410.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004236/0.1658, allocations: 0.7442 MB / 411.1 MB, free: 14.59 MB / 382.1 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.02503/0.1908, allocations: 6.516 MB / 417.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1919, allocations: 466.5 kB / 418 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.1919, allocations: 0 / 418 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.1923, allocations: 218.1 kB / 418.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.1933, allocations: 162.5 kB / 418.4 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1949, allocations: 0.8293 MB / 419.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1951, allocations: 200.9 kB / 419.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.1955, allocations: 187.3 kB / 419.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.1956, allocations: 44.48 kB / 419.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1956, allocations: 0 / 419.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of Templates: time 0.0439/0.2395, allocations: 28.59 MB / 448.3 MB, free: 9.41 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.773617513477802]