Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.000972, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 163.5 kB / 24.91 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9576/0.9576, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.188e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01138/0.0114, allocations: 10.79 MB / 284.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09935/0.1107, allocations: 9.192 MB / 293.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1109, allocations: 7.25 kB / 293.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1113, allocations: 151.2 kB / 293.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.1118, allocations: 399.5 kB / 294 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.1148, allocations: 1.818 MB / 295.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.1156, allocations: 0.9827 MB / 296.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1157, allocations: 82.11 kB / 296.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.1162, allocations: 0.493 MB / 297.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1165, allocations: 259.8 kB / 297.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.1165, allocations: 39.5 kB / 297.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005301/0.1218, allocations: 5.444 MB / 303.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.1219, allocations: 113.4 kB / 303.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.122, allocations: 169.9 kB / 303.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.1272, allocations: 4.916 MB / 308.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1272, allocations: 0.7812 kB / 308.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1272, allocations: 0 / 308.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1272, allocations: 1.25 kB / 308.3 MB, free: 11.87 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.001407/0.1286, allocations: 0.7383 MB / 309 MB, free: 11.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.1286, allocations: 11.98 kB / 309 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.1289, allocations: 132 kB / 309.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1291, allocations: 222 kB / 309.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1291, allocations: 28.66 kB / 309.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1292, allocations: 39.12 kB / 309.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.1295, allocations: 0.5015 MB / 309.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1295, allocations: 1.078 kB / 309.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1295, allocations: 16 kB / 309.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1295, allocations: 8 kB / 309.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1298, allocations: 198.4 kB / 310.1 MB, free: 9.93 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.00115/0.1309, allocations: 1.943 MB / 312.1 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1312, allocations: 169.3 kB / 312.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1312, allocations: 68.56 kB / 312.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.1314, allocations: 142.9 kB / 312.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.1314, allocations: 40.28 kB / 312.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.1314, allocations: 0 / 312.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002605/0.1341, allocations: 0.8652 MB / 313.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.233e-05/0.1341, allocations: 61.06 kB / 313.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.1341, allocations: 204.1 kB / 313.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1342, allocations: 37.7 kB / 313.7 MB, free: 6.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.1342, allocations: 184.8 kB / 313.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1342, allocations: 129.6 kB / 314 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.1343, allocations: 79.25 kB / 314 MB, free: 6.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.1343, allocations: 342.1 kB / 314.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.1344, allocations: 36.98 kB / 314.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.1344, allocations: 162.9 kB / 314.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1346, allocations: 247.7 kB / 314.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1346, allocations: 0 / 314.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002921/0.1349, allocations: 300.5 kB / 315.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1349, allocations: 12.53 kB / 315.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1349, allocations: 4 kB / 315.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.1377, allocations: 234.1 kB / 315.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1379, allocations: 94.7 kB / 315.4 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004402/0.1383, allocations: 1.695 MB / 317.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.1384, allocations: 11.94 kB / 317.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1384, allocations: 16 kB / 317.2 MB, free: 2.793 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 (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 6.69e-05/0.1385, allocations: 137 kB / 317.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.1386, allocations: 43.78 kB / 317.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1389, allocations: 431.7 kB / 317.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1389, allocations: 7.984 kB / 317.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1389, allocations: 1.719 kB / 317.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001846/0.1391, allocations: 0.5722 MB / 318.3 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.1395, allocations: 0.6588 MB / 319 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1395, allocations: 3.984 kB / 319 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1397, allocations: 69.03 kB / 319.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/0.1402, allocations: 155.3 kB / 319.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1402, allocations: 9.719 kB / 319.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.633e-05/0.1403, allocations: 0.5266 MB / 319.8 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1403, allocations: 3.047 kB / 319.8 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1407, allocations: 477.2 kB / 320.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.1407, allocations: 34.78 kB / 320.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1408, allocations: 15.95 kB / 320.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1408, allocations: 8.594 kB / 320.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1409, allocations: 25.05 kB / 320.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1409, allocations: 8 kB / 320.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.1409, allocations: 81.12 kB / 320.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1409, allocations: 4 kB / 320.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008841/0.1418, allocations: 376.5 kB / 320.8 MB, free: 15.08 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 ($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.006857/0.1487, allocations: 3.475 MB / 324.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.149, allocations: 324.8 kB / 324.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.149, allocations: 3.938 kB / 324.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1491, allocations: 128 kB / 324.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1495, allocations: 174 kB / 324.9 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.1505, allocations: 0.7589 MB / 325.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.1506, allocations: 122.8 kB / 325.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.1508, allocations: 157.7 kB / 325.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.151, allocations: 167.2 kB / 326.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.151, allocations: 0 / 326.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of Templates: time 0.01852/0.1695, allocations: 21.58 MB / 347.6 MB, free: 4.492 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7876516389660537]