Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.001717/0.001717, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001748/0.001748, allocations: 179.9 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir")
translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 56.39 kB / 347.6 MB, free: 9.582 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 49.17 MB / 396.8 MB, free: 9.508 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2037/0.4571, allocations: 151.7 MB / 0.5356 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004331/0.4614, allocations: 3.053 MB / 0.5386 GB, free: 8.168 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.4616, allocations: 0 / 0.5386 GB, free: 8.168 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.4619, allocations: 67.64 kB / 0.5387 GB, free: 8.102 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002739/0.4647, allocations: 1.05 MB / 0.5397 GB, free: 7.051 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.4652, allocations: 199.5 kB / 0.5399 GB, free: 6.855 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004991/0.4657, allocations: 362.6 kB / 0.5402 GB, free: 6.5 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.4658, allocations: 9.266 kB / 0.5402 GB, free: 6.492 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.4661, allocations: 155.5 kB / 0.5404 GB, free: 6.34 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.4663, allocations: 115.6 kB / 0.5405 GB, free: 6.227 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4663, allocations: 16 kB / 0.5405 GB, free: 6.211 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.4694, allocations: 1.574 MB / 0.542 GB, free: 4.633 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4695, allocations: 83.72 kB / 0.5421 GB, free: 4.551 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.4696, allocations: 103.6 kB / 0.5422 GB, free: 4.449 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00184/0.4715, allocations: 0.9916 MB / 0.5432 GB, free: 3.461 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.4715, allocations: 7.984 kB / 0.5432 GB, free: 3.453 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.4715, allocations: 0 / 0.5432 GB, free: 3.453 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.841e-06/0.4715, allocations: 4 kB / 0.5432 GB, free: 3.449 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 45
 * Number of variables: 45
Notification: Performance of Generate backend data structure: time 0.0009444/0.4724, allocations: 489.1 kB / 0.5437 GB, free: 2.941 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4725, allocations: 11.98 kB / 0.5437 GB, free: 2.93 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.4739, allocations: 200.6 kB / 0.5439 GB, free: 2.734 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.4743, allocations: 190.3 kB / 0.5441 GB, free: 2.523 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4743, allocations: 16.75 kB / 0.5441 GB, free: 2.508 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.4744, allocations: 23.89 kB / 0.5441 GB, free: 2.484 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.475, allocations: 377.7 kB / 0.5445 GB, free: 2.105 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.475, allocations: 0 / 0.5445 GB, free: 2.105 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.4751, allocations: 11.98 kB / 0.5445 GB, free: 2.094 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.4751, allocations: 4 kB / 0.5445 GB, free: 2.09 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/0.4758, allocations: 411.8 kB / 0.5449 GB, free: 1.688 MB / 462.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.001713/0.4775, allocations: 0.7883 MB / 0.5456 GB, free: 0.8516 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.478, allocations: 229 kB / 0.5459 GB, free: 0.6094 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4782, allocations: 117.7 kB / 0.546 GB, free: 500 kB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.4797, allocations: 297.7 kB / 0.5462 GB, free: 200 kB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.4797, allocations: 46.72 kB / 0.5463 GB, free: 144 kB / 462.1 MB
Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.4797, allocations: 0 / 0.5463 GB, free: 144 kB / 462.1 MB
Notification: Performance of matching and sorting (n=29): time 0.001234/0.481, allocations: 365.5 kB / 0.5466 GB, free: 15.78 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.481, allocations: 81.11 kB / 0.5467 GB, free: 15.68 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4811, allocations: 109.8 kB / 0.5468 GB, free: 15.56 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.4812, allocations: 29.7 kB / 0.5469 GB, free: 15.53 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.4813, allocations: 112.5 kB / 0.547 GB, free: 15.41 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.774e-05/0.4814, allocations: 115 kB / 0.5471 GB, free: 15.3 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4815, allocations: 58.03 kB / 0.5471 GB, free: 15.24 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001545/0.4816, allocations: 330.8 kB / 0.5474 GB, free: 14.91 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.4818, allocations: 100.6 kB / 0.5475 GB, free: 14.81 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.4821, allocations: 175.5 kB / 0.5477 GB, free: 14.6 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.4826, allocations: 310.6 kB / 0.548 GB, free: 14.26 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4826, allocations: 0 / 0.548 GB, free: 14.26 MB / 478.1 MB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006515/0.4833, allocations: 345.4 kB / 0.5483 GB, free: 13.92 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4833, allocations: 8 kB / 0.5483 GB, free: 13.91 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.4833, allocations: 4 kB / 0.5483 GB, free: 13.91 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4833, allocations: 4 kB / 0.5483 GB, free: 13.9 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.4836, allocations: 67.89 kB / 0.5484 GB, free: 13.84 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4837, allocations: 11.94 kB / 0.5484 GB, free: 13.82 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.4839, allocations: 31.78 kB / 0.5484 GB, free: 13.79 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.4839, allocations: 12 kB / 0.5485 GB, free: 13.78 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (39):
 * Single equations (assignments): 39
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4841, allocations: 149.8 kB / 0.5486 GB, free: 13.62 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.4842, allocations: 19.84 kB / 0.5486 GB, free: 13.61 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.4849, allocations: 318.8 kB / 0.5489 GB, free: 13.29 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4849, allocations: 0 / 0.5489 GB, free: 13.29 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4849, allocations: 4 kB / 0.5489 GB, free: 13.29 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4849, allocations: 3.984 kB / 0.5489 GB, free: 13.28 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.4854, allocations: 298.2 kB / 0.5492 GB, free: 12.95 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4854, allocations: 4 kB / 0.5492 GB, free: 12.94 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.4858, allocations: 55.91 kB / 0.5493 GB, free: 12.89 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4858, allocations: 4 kB / 0.5493 GB, free: 12.88 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.4858, allocations: 11.98 kB / 0.5493 GB, free: 12.87 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4858, allocations: 4.312 kB / 0.5493 GB, free: 12.87 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4858, allocations: 0 / 0.5493 GB, free: 12.87 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.4866, allocations: 0.5101 MB / 0.5498 GB, free: 12.34 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.4866, allocations: 23.81 kB / 0.5498 GB, free: 12.32 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4867, allocations: 8 kB / 0.5498 GB, free: 12.31 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.487, allocations: 19.98 kB / 0.5498 GB, free: 12.29 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.487, allocations: 19.97 kB / 0.5499 GB, free: 12.27 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.4871, allocations: 16.11 kB / 0.5499 GB, free: 12.25 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 5.64e-05/0.4871, allocations: 91.25 kB / 0.55 GB, free: 12.16 MB / 478.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4871, allocations: 0 / 0.55 GB, free: 12.16 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.0008424/0.488, allocations: 227.4 kB / 0.5502 GB, free: 11.94 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (29):
 * Single equations (assignments): 29
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.489, allocations: 442.2 kB / 0.5506 GB, free: 11.5 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005472/0.4896, allocations: 251.8 kB / 0.5508 GB, free: 11.25 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4896, allocations: 0 / 0.5508 GB, free: 11.25 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.4898, allocations: 124.5 kB / 0.551 GB, free: 11.13 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.4904, allocations: 80.08 kB / 0.551 GB, free: 11.05 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4915, allocations: 0.7354 MB / 0.5518 GB, free: 10.29 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4919, allocations: 0.7361 MB / 0.5525 GB, free: 9.523 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.0002926/0.4922, allocations: 73.78 kB / 0.5525 GB, free: 9.453 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.4923, allocations: 27.42 kB / 0.5526 GB, free: 9.426 MB / 478.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.4923, allocations: 0 / 0.5526 GB, free: 9.426 MB / 478.1 MB
Notification: Performance of Templates: time 0.01445/0.5067, allocations: 8.532 MB / 0.5609 GB, free: 0.8789 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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: 5.263361860066652]