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.0008542/0.0008542, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001443/0.001443, allocations: 167.7 kB / 25.61 MB, free: 8.582 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.9142/0.9142, allocations: 177.1 MB / 206 MB, free: 4.469 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.834e-06/1.834e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.586e-05, allocations: 4.406 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01092/0.01095, allocations: 10.69 MB / 284.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00772/0.01867, allocations: 9.052 MB / 293.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.01891, allocations: 7.938 kB / 293.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.01933, allocations: 147.1 kB / 294.1 MB, free: 460 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.01986, allocations: 397.5 kB / 294.5 MB, free: 60 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.02395, allocations: 1.913 MB / 296.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009103/0.02486, allocations: 0.9851 MB / 297.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.02502, allocations: 77.23 kB / 297.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.02556, allocations: 0.4988 MB / 297.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.02583, allocations: 279.1 kB / 298.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.02587, allocations: 36 kB / 298.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.03142, allocations: 5.325 MB / 303.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.03154, allocations: 119.6 kB / 303.7 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.03172, allocations: 167.7 kB / 303.9 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007119/0.03884, allocations: 4.912 MB / 308.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.03885, allocations: 0 / 308.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.03885, allocations: 0 / 308.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.03886, allocations: 0 / 308.8 MB, free: 1.723 MB / 282.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.002838/0.04169, allocations: 0.8684 MB / 309.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.04173, allocations: 12.03 kB / 309.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.04215, allocations: 139.1 kB / 309.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.04243, allocations: 263.4 kB / 310 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.04246, allocations: 24.66 kB / 310.1 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.0425, allocations: 39.94 kB / 310.1 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.043, allocations: 0.5061 MB / 310.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.04301, allocations: 3.953 kB / 310.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.04304, allocations: 16 kB / 310.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.04305, allocations: 8 kB / 310.6 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.04334, allocations: 212.2 kB / 310.8 MB, free: 15.5 MB / 298.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.002005/0.04534, allocations: 2.516 MB / 313.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.04568, allocations: 211.2 kB / 313.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.04576, allocations: 79.58 kB / 313.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.04604, allocations: 151.8 kB / 313.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.04606, allocations: 33.39 kB / 313.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/0.04606, allocations: 0 / 313.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.002774/0.04883, allocations: 0.9069 MB / 314.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.04886, allocations: 55.41 kB / 314.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.04901, allocations: 278.5 kB / 315.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.04903, allocations: 33.7 kB / 315.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.04914, allocations: 247 kB / 315.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.0492, allocations: 122.9 kB / 315.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.04929, allocations: 99.77 kB / 315.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.04942, allocations: 0.5078 MB / 316.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.04948, allocations: 52.95 kB / 316.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.04961, allocations: 207.9 kB / 316.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.05013, allocations: 302.7 kB / 316.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.05013, allocations: 0 / 316.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004568/0.05059, allocations: 360.8 kB / 317 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.05061, allocations: 7.938 kB / 317 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.05061, allocations: 4 kB / 317 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.0534, allocations: 243.1 kB / 317.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.05361, allocations: 88.25 kB / 317.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.05473, allocations: 2.514 MB / 319.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.05488, allocations: 12 kB / 319.8 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.0549, allocations: 20.06 kB / 319.8 MB, free: 5.98 MB / 298.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 0.000152/0.05505, allocations: 192.6 kB / 320 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.05516, allocations: 51.69 kB / 320.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.05565, allocations: 444.4 kB / 320.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.05566, allocations: 11.98 kB / 320.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.05566, allocations: 3.938 kB / 320.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003556/0.05602, allocations: 0.6093 MB / 321.1 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007658/0.05678, allocations: 0.7806 MB / 321.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.05678, allocations: 0 / 321.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.05693, allocations: 63.91 kB / 322 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007452/0.05767, allocations: 163.3 kB / 322.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.05769, allocations: 19.92 kB / 322.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002607/0.05795, allocations: 0.7921 MB / 323 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.05796, allocations: 4.062 kB / 323 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.05843, allocations: 0.5352 MB / 323.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.05847, allocations: 27.81 kB / 323.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.0585, allocations: 15.89 kB / 323.5 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.0586, allocations: 4 kB / 323.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.05863, allocations: 23.95 kB / 323.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/0.05892, allocations: 15.98 kB / 323.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.05902, allocations: 201.1 kB / 323.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05902, allocations: 0 / 323.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002095/0.06111, allocations: 371.2 kB / 324.1 MB, free: 1.465 MB / 298.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.009906/0.07102, allocations: 3.492 MB / 327.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006422/0.07166, allocations: 406 kB / 328 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.07166, allocations: 0 / 328 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.07188, allocations: 134.3 kB / 328.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.07263, allocations: 169.1 kB / 328.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.07408, allocations: 0.7882 MB / 329.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.07416, allocations: 115 kB / 329.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.07446, allocations: 161.6 kB / 329.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.07478, allocations: 206.1 kB / 329.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.07478, allocations: 0 / 329.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of Templates: time 0.02676/0.1015, allocations: 21.72 MB / 351.3 MB, free: 6.32 MB / 330.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 -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: 4.091151271015406]