Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.001311/0.001311, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001368/0.001368, allocations: 183.8 kB / 23.71 MB, free: 4.695 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.418/1.418, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2")
translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2508, allocations: 52.17 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04178/0.2926, allocations: 38.22 MB / 461.3 MB, free: 8.332 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.04018/0.3328, allocations: 30.83 MB / 492.2 MB, free: 9.395 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007704/0.3335, allocations: 7.938 kB / 492.2 MB, free: 9.387 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001612/0.3351, allocations: 429.7 kB / 492.6 MB, free: 8.965 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3367, allocations: 0.5361 MB / 493.1 MB, free: 8.426 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01557/0.3523, allocations: 5.278 MB / 498.4 MB, free: 3.137 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00202/0.3543, allocations: 1.375 MB / 499.8 MB, free: 1.758 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.3546, allocations: 130.8 kB / 499.9 MB, free: 1.625 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008613/0.3555, allocations: 0.5411 MB / 0.4887 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006187/0.3561, allocations: 474.1 kB / 0.4892 GB, free: 0.6172 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.3562, allocations: 52 kB / 0.4892 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.02613/0.3823, allocations: 12.95 MB / 0.5019 GB, free: 3.594 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.3827, allocations: 155.5 kB / 0.502 GB, free: 3.441 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.3833, allocations: 314.8 kB / 0.5023 GB, free: 3.133 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04581/0.4291, allocations: 14.93 MB / 0.5169 GB, free: 4.184 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.4291, allocations: 3.984 kB / 0.5169 GB, free: 4.18 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.4291, allocations: 0 / 0.5169 GB, free: 4.18 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.023e-05/0.4291, allocations: 0 / 0.5169 GB, free: 4.18 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 116
 * Number of variables: 116
Notification: Performance of Generate backend data structure: time 0.008204/0.4373, allocations: 1.408 MB / 0.5183 GB, free: 2.734 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4373, allocations: 12.03 kB / 0.5183 GB, free: 2.723 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.4381, allocations: 91.61 kB / 0.5184 GB, free: 2.633 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.4387, allocations: 328.3 kB / 0.5187 GB, free: 2.285 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.4387, allocations: 33 kB / 0.5187 GB, free: 2.254 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.4388, allocations: 51.94 kB / 0.5188 GB, free: 2.203 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.4401, allocations: 0.6205 MB / 0.5194 GB, free: 1.531 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.4401, allocations: 4 kB / 0.5194 GB, free: 1.527 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.4402, allocations: 16 kB / 0.5194 GB, free: 1.512 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4402, allocations: 12 kB / 0.5194 GB, free: 1.5 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.4412, allocations: 0.5385 MB / 0.5199 GB, free: 0.9648 MB / 430.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.004612/0.4459, allocations: 3.676 MB / 0.5235 GB, free: 13.02 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.4468, allocations: 395.7 kB / 0.5239 GB, free: 12.62 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.4472, allocations: 200.8 kB / 0.5241 GB, free: 12.43 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.002096/0.4493, allocations: 0.6246 MB / 0.5247 GB, free: 11.8 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4493, allocations: 38.94 kB / 0.5247 GB, free: 11.75 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.4493, allocations: 3.938 kB / 0.5247 GB, free: 11.75 MB / 446.1 MB
Notification: Performance of matching and sorting (n=54): time 0.0097/0.459, allocations: 1.872 MB / 0.5266 GB, free: 9.836 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4591, allocations: 71.72 kB / 0.5266 GB, free: 9.754 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.4594, allocations: 308.4 kB / 0.5269 GB, free: 9.445 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.4595, allocations: 37.7 kB / 0.527 GB, free: 9.402 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.4597, allocations: 233.2 kB / 0.5272 GB, free: 9.172 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4598, allocations: 198.2 kB / 0.5274 GB, free: 8.977 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.46, allocations: 118.3 kB / 0.5275 GB, free: 8.855 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001764/0.4602, allocations: 358.8 kB / 0.5278 GB, free: 8.496 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4605, allocations: 177.2 kB / 0.528 GB, free: 8.324 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.461, allocations: 332 kB / 0.5283 GB, free: 7.938 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.4619, allocations: 0.5446 MB / 0.5288 GB, free: 7.332 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4619, allocations: 0 / 0.5288 GB, free: 7.332 MB / 446.1 MB
Notification: Performance of matching and sorting (n=76) (initialization): time 0.001401/0.4633, allocations: 0.6776 MB / 0.5295 GB, free: 6.641 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4633, allocations: 12.5 kB / 0.5295 GB, free: 6.629 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4633, allocations: 8.062 kB / 0.5295 GB, free: 6.621 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.4734, allocations: 450 kB / 0.53 GB, free: 6.172 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.4741, allocations: 139.8 kB / 0.5301 GB, free: 6.035 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.477, allocations: 2.989 MB / 0.533 GB, free: 2.859 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.4774, allocations: 19.88 kB / 0.533 GB, free: 2.84 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.4775, allocations: 39.92 kB / 0.5331 GB, free: 2.801 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 20
 * Number of states: 0 ()
 * Number of discrete variables: 4 (volume1.medium.phase,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 (73):
 * Single equations (assignments): 69
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
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): 3 systems
   {(1,1), (1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003754/0.4779, allocations: 192.1 kB / 0.5333 GB, free: 2.605 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.478, allocations: 39.77 kB / 0.5333 GB, free: 2.566 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.4799, allocations: 1.075 MB / 0.5343 GB, free: 1.469 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4799, allocations: 11.98 kB / 0.5343 GB, free: 1.457 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.4799, allocations: 0 / 0.5343 GB, free: 1.457 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.4813, allocations: 1.11 MB / 0.5354 GB, free: 284 kB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1995/0.6808, allocations: 1.73 MB / 0.5371 GB, free: 103.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6808, allocations: 0.7031 kB / 0.5371 GB, free: 103.5 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.6812, allocations: 105.2 kB / 0.5372 GB, free: 103.5 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/0.6845, allocations: 354.3 kB / 0.5376 GB, free: 103.4 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.6845, allocations: 19.17 kB / 0.5376 GB, free: 103.4 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004971/0.685, allocations: 1.148 MB / 0.5387 GB, free: 102.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.685, allocations: 0 / 0.5387 GB, free: 102.3 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.6864, allocations: 1.145 MB / 0.5398 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6866, allocations: 50.72 kB / 0.5399 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.6866, allocations: 17.86 kB / 0.5399 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.6869, allocations: 11.95 kB / 0.5399 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.687, allocations: 41.62 kB / 0.5399 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.687, allocations: 22.81 kB / 0.54 GB, free: 101.8 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0002722/0.6873, allocations: 249.8 kB / 0.5402 GB, free: 101.6 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.11e-07/0.6873, allocations: 0.7812 kB / 0.5402 GB, free: 101.6 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.00725/0.6945, allocations: 0.9769 MB / 0.5412 GB, free: 101.6 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h)
 * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (58):
 * Single equations (assignments): 53
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * 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 Backend phase and start with SimCode phase: time 0.0287/0.7232, allocations: 7.881 MB / 0.5488 GB, free: 97.93 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.001548/0.7248, allocations: 0.6931 MB / 0.5495 GB, free: 97.62 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7248, allocations: 0 / 0.5495 GB, free: 97.62 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.7253, allocations: 353.8 kB / 0.5499 GB, free: 97.47 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7267, allocations: 270.4 kB / 0.5501 GB, free: 97.29 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.7286, allocations: 1.35 MB / 0.5514 GB, free: 96.14 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.7288, allocations: 0.8669 MB / 0.5523 GB, free: 95.32 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0004207/0.7292, allocations: 235.9 kB / 0.5525 GB, free: 95.17 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.7293, allocations: 51.09 kB / 0.5526 GB, free: 95.13 MB / 446.1 MB
Notification: Performance of SimCode: time 6.81e-07/0.7293, allocations: 0 / 0.5526 GB, free: 95.13 MB / 446.1 MB
Notification: Performance of Templates: time 0.03887/0.7682, allocations: 36.75 MB / 0.5885 GB, free: 59.19 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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: 8.899057692848146]