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.0009305/0.0009305, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009504/0.0009504, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.8881/0.8881, allocations: 177 MB / 205.2 MB, free: 5.047 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.012e-06/1.012e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.659e-06/1.067e-05, allocations: 2.312 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009577/0.009587, allocations: 10.74 MB / 284.1 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1014/0.111, allocations: 9.197 MB / 293.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.1112, allocations: 7.844 kB / 293.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.1116, allocations: 150.8 kB / 293.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000561/0.1122, allocations: 394.5 kB / 293.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.1159, allocations: 1.926 MB / 295.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1169, allocations: 0.9835 MB / 296.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1171, allocations: 84.8 kB / 296.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006231/0.1177, allocations: 0.4952 MB / 297.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.118, allocations: 263.3 kB / 297.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.1181, allocations: 36.88 kB / 297.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.1243, allocations: 5.332 MB / 303 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1244, allocations: 119.8 kB / 303.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1245, allocations: 167.5 kB / 303.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005981/0.1305, allocations: 4.921 MB / 308.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1305, allocations: 0.8125 kB / 308.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1305, allocations: 0 / 308.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1305, allocations: 0.7812 kB / 308.2 MB, free: 11.93 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.002028/0.1326, allocations: 0.7315 MB / 308.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.1326, allocations: 15.98 kB / 308.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.1329, allocations: 134.4 kB / 309.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1331, allocations: 223.6 kB / 309.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1331, allocations: 25.47 kB / 309.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.1332, allocations: 35.94 kB / 309.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1335, allocations: 0.496 MB / 309.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1335, allocations: 3.469 kB / 309.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1335, allocations: 16 kB / 309.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1335, allocations: 8.812 kB / 309.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.1338, allocations: 196 kB / 310 MB, free: 9.996 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.001305/0.1351, allocations: 1.937 MB / 312 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.1353, allocations: 175.6 kB / 312.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.1354, allocations: 71.23 kB / 312.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.1356, allocations: 150.7 kB / 312.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1356, allocations: 34.56 kB / 312.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.1356, allocations: 0 / 312.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002368/0.138, allocations: 0.8634 MB / 313.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.289e-05/0.138, allocations: 61.97 kB / 313.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.1381, allocations: 209.5 kB / 313.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1381, allocations: 35.42 kB / 313.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.1381, allocations: 184.5 kB / 313.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1382, allocations: 130.7 kB / 313.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.1382, allocations: 76.28 kB / 313.9 MB, free: 6.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.1383, allocations: 342.8 kB / 314.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.1383, allocations: 44.97 kB / 314.3 MB, free: 5.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.1384, allocations: 162.8 kB / 314.5 MB, free: 5.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1385, allocations: 241 kB / 314.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1385, allocations: 4.812 kB / 314.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002909/0.1388, allocations: 293.1 kB / 315 MB, free: 4.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1388, allocations: 4 kB / 315 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1388, allocations: 5.688 kB / 315 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.1414, allocations: 232.9 kB / 315.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1415, allocations: 87.42 kB / 315.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004725/0.142, allocations: 1.687 MB / 317 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.1421, allocations: 12.78 kB / 317 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1421, allocations: 26.17 kB / 317.1 MB, free: 2.863 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 7.914e-05/0.1422, allocations: 138.8 kB / 317.2 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.1423, allocations: 43.78 kB / 317.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.1426, allocations: 426.2 kB / 317.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1426, allocations: 4 kB / 317.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1426, allocations: 3 kB / 317.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001976/0.1428, allocations: 0.5735 MB / 318.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.1433, allocations: 0.6646 MB / 318.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1433, allocations: 0 / 318.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.1434, allocations: 60.69 kB / 319 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.144, allocations: 157.2 kB / 319.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.144, allocations: 8.062 kB / 319.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001082/0.1441, allocations: 0.533 MB / 319.7 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1441, allocations: 0 / 319.7 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.1445, allocations: 473 kB / 320.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.1445, allocations: 36.98 kB / 320.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1445, allocations: 11.95 kB / 320.2 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.1446, allocations: 8 kB / 320.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1446, allocations: 23.7 kB / 320.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1446, allocations: 9.344 kB / 320.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.193e-05/0.1447, allocations: 91.41 kB / 320.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1447, allocations: 0 / 320.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001322/0.146, allocations: 376.5 kB / 320.7 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.007349/0.1534, allocations: 3.473 MB / 324.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1537, allocations: 324.4 kB / 324.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1537, allocations: 4 kB / 324.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1539, allocations: 134.7 kB / 324.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1543, allocations: 168.4 kB / 324.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1554, allocations: 0.7575 MB / 325.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.1554, allocations: 120.3 kB / 325.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.1557, allocations: 161.2 kB / 325.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.1559, allocations: 168.5 kB / 325.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1559, allocations: 0 / 325.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01931/0.1752, allocations: 21.53 MB / 347.5 MB, free: 4.641 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 -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.8719096183776855]