Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.127e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01/0.01002, allocations: 10.78 MB / 284.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1018/0.1119, allocations: 9.184 MB / 293.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.1121, allocations: 8.125 kB / 293.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.1125, allocations: 146.9 kB / 293.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.1131, allocations: 402.7 kB / 294 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.1166, allocations: 1.81 MB / 295.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008903/0.1175, allocations: 0.9882 MB / 296.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1176, allocations: 85.78 kB / 296.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.1182, allocations: 0.4923 MB / 297.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1186, allocations: 256.8 kB / 297.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.1186, allocations: 37.62 kB / 297.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006289/0.1249, allocations: 5.448 MB / 303.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.125, allocations: 108.3 kB / 303.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1252, allocations: 173.5 kB / 303.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.1312, allocations: 4.917 MB / 308.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1312, allocations: 1.719 kB / 308.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1312, allocations: 0 / 308.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1313, allocations: 0 / 308.3 MB, free: 11.94 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.001958/0.1332, allocations: 0.7303 MB / 309 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1332, allocations: 13.66 kB / 309.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.1336, allocations: 139.3 kB / 309.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1338, allocations: 217.4 kB / 309.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1339, allocations: 25.47 kB / 309.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1339, allocations: 39.94 kB / 309.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.1343, allocations: 0.4986 MB / 310 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1343, allocations: 0 / 310 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1343, allocations: 12.81 kB / 310 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1343, allocations: 8 kB / 310 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.1346, allocations: 200.3 kB / 310.2 MB, free: 10.01 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.001357/0.1359, allocations: 1.934 MB / 312.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1362, allocations: 187.4 kB / 312.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1363, allocations: 63.33 kB / 312.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.1365, allocations: 148.3 kB / 312.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.1365, allocations: 34.56 kB / 312.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.1365, allocations: 4.812 kB / 312.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002737/0.1392, allocations: 0.8524 MB / 313.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.1393, allocations: 59.34 kB / 313.5 MB, free: 6.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.1394, allocations: 217.4 kB / 313.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1394, allocations: 33.7 kB / 313.7 MB, free: 6.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.1394, allocations: 186.9 kB / 313.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1395, allocations: 128.8 kB / 314 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1395, allocations: 75.73 kB / 314.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.1396, allocations: 341.2 kB / 314.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1396, allocations: 48.97 kB / 314.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.1397, allocations: 161.6 kB / 314.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1398, allocations: 243 kB / 314.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1398, allocations: 4 kB / 314.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003212/0.1402, allocations: 285 kB / 315.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1402, allocations: 4 kB / 315.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1402, allocations: 4 kB / 315.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.143, allocations: 226.7 kB / 315.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.1432, allocations: 104.6 kB / 315.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005474/0.1438, allocations: 1.695 MB / 317.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1439, allocations: 15.94 kB / 317.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1439, allocations: 16 kB / 317.2 MB, free: 2.867 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 9.591e-05/0.144, allocations: 150.7 kB / 317.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/0.1441, allocations: 35.86 kB / 317.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1445, allocations: 432.5 kB / 317.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1445, allocations: 5.688 kB / 317.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1445, allocations: 0 / 317.8 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002031/0.1447, allocations: 0.5724 MB / 318.4 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.1452, allocations: 0.6525 MB / 319 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1452, allocations: 5.719 kB / 319 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1454, allocations: 73.86 kB / 319.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.146, allocations: 158.7 kB / 319.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.146, allocations: 8 kB / 319.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001104/0.1461, allocations: 0.5285 MB / 319.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1461, allocations: 0 / 319.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.1465, allocations: 484.1 kB / 320.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.1465, allocations: 23.81 kB / 320.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1465, allocations: 15.89 kB / 320.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.1466, allocations: 8.062 kB / 320.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1467, allocations: 29.42 kB / 320.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1467, allocations: 11.98 kB / 320.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.1468, allocations: 81.84 kB / 320.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1468, allocations: 0 / 320.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001705/0.1485, allocations: 372.5 kB / 320.8 MB, free: 15.16 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.008019/0.1565, allocations: 3.487 MB / 324.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.157, allocations: 319.8 kB / 324.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.157, allocations: 4 kB / 324.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.1571, allocations: 126.8 kB / 324.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.1577, allocations: 175.6 kB / 324.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1588, allocations: 0.7676 MB / 325.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.1589, allocations: 110.9 kB / 325.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.1591, allocations: 164.1 kB / 325.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.1594, allocations: 175.2 kB / 326.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1594, allocations: 0.8125 kB / 326.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of Templates: time 0.02164/0.181, allocations: 21.6 MB / 347.7 MB, free: 4.586 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.744123720098287]