Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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.001507/0.001507, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001584/0.001584, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.643/1.643, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 44.91 MB / 353.5 MB, free: 11.9 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
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(ModelicaTest.Media.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="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir")
translateModel(ModelicaTest.Media.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="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.88 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4467, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2061/0.6528, allocations: 150.4 MB / 0.6957 GB, free: 8.48 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.006141/0.6589, allocations: 3.158 MB / 0.6988 GB, free: 5.312 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.6591, allocations: 0 / 0.6988 GB, free: 5.312 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.6596, allocations: 63.64 kB / 0.6988 GB, free: 5.25 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.003609/0.6632, allocations: 1.065 MB / 0.6999 GB, free: 4.184 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.6638, allocations: 199.3 kB / 0.7 GB, free: 3.992 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0004772/0.6642, allocations: 366.6 kB / 0.7004 GB, free: 3.633 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.6643, allocations: 13.25 kB / 0.7004 GB, free: 3.621 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.6646, allocations: 151.5 kB / 0.7006 GB, free: 3.473 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.6648, allocations: 115.6 kB / 0.7007 GB, free: 3.359 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.6648, allocations: 15.98 kB / 0.7007 GB, free: 3.344 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.668, allocations: 1.597 MB / 0.7022 GB, free: 1.746 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.6681, allocations: 75.78 kB / 0.7023 GB, free: 1.672 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.6683, allocations: 107.6 kB / 0.7024 GB, free: 1.566 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.001857/0.6701, allocations: 0.9975 MB / 0.7034 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6701, allocations: 0 / 0.7034 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 2.515e-06/0.6701, allocations: 0 / 0.7034 GB, free: 0.5664 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 8.385e-06/0.6701, allocations: 0 / 0.7034 GB, free: 0.5664 MB / 0.5294 GB
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.001178/0.6713, allocations: 0.4955 MB / 0.7039 GB, free: 44 kB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.6714, allocations: 8.031 kB / 0.7039 GB, free: 36 kB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.673, allocations: 208.6 kB / 0.7041 GB, free: 15.83 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.6734, allocations: 190.1 kB / 0.7043 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.6734, allocations: 16.38 kB / 0.7043 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.6735, allocations: 20 kB / 0.7043 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.6742, allocations: 369.7 kB / 0.7046 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6742, allocations: 0 / 0.7046 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.6743, allocations: 12 kB / 0.7047 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6743, allocations: 7.938 kB / 0.7047 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.6749, allocations: 399.8 kB / 0.705 GB, free: 14.8 MB / 0.545 GB
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.001787/0.6767, allocations: 0.7803 MB / 0.7058 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.6771, allocations: 217.2 kB / 0.706 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.6773, allocations: 121.9 kB / 0.7061 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.6789, allocations: 321.6 kB / 0.7064 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.679, allocations: 34.56 kB / 0.7065 GB, free: 13.26 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=29): time 4.349e-06/0.679, allocations: 4 kB / 0.7065 GB, free: 13.26 MB / 0.545 GB
Notification: Performance of matching and sorting (n=29): time 0.001262/0.6802, allocations: 368.5 kB / 0.7068 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6803, allocations: 85.11 kB / 0.7069 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.6804, allocations: 109.8 kB / 0.707 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.6804, allocations: 33.7 kB / 0.707 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.6805, allocations: 112.5 kB / 0.7072 GB, free: 12.53 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.6806, allocations: 119 kB / 0.7073 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6807, allocations: 62.03 kB / 0.7073 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001518/0.6809, allocations: 326.8 kB / 0.7076 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.6811, allocations: 96.59 kB / 0.7077 GB, free: 11.92 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.6814, allocations: 187.5 kB / 0.7079 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.6819, allocations: 298.1 kB / 0.7082 GB, free: 11.38 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.6819, allocations: 4 kB / 0.7082 GB, free: 11.37 MB / 0.545 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006375/0.6825, allocations: 337.3 kB / 0.7085 GB, free: 11.04 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6825, allocations: 4 kB / 0.7085 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6826, allocations: 4 kB / 0.7085 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.6826, allocations: 7.984 kB / 0.7085 GB, free: 11.02 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.6829, allocations: 75.89 kB / 0.7086 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6829, allocations: 4 kB / 0.7086 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.6831, allocations: 27.78 kB / 0.7086 GB, free: 10.91 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.6832, allocations: 23.98 kB / 0.7087 GB, free: 10.89 MB / 0.545 GB
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.0001771/0.6834, allocations: 149.8 kB / 0.7088 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.6835, allocations: 15.91 kB / 0.7088 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.6842, allocations: 323.2 kB / 0.7091 GB, free: 10.4 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6842, allocations: 4 kB / 0.7091 GB, free: 10.39 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6842, allocations: 0 / 0.7091 GB, free: 10.39 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6842, allocations: 3.984 kB / 0.7091 GB, free: 10.39 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.6848, allocations: 298.2 kB / 0.7094 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6848, allocations: 0 / 0.7094 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.6851, allocations: 63.83 kB / 0.7095 GB, free: 9.988 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6851, allocations: 4 kB / 0.7095 GB, free: 9.984 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.6852, allocations: 12 kB / 0.7095 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6852, allocations: 0 / 0.7095 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6852, allocations: 0 / 0.7095 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.686, allocations: 0.5059 MB / 0.71 GB, free: 9.453 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.686, allocations: 19.84 kB / 0.71 GB, free: 9.434 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.6861, allocations: 4.062 kB / 0.71 GB, free: 9.43 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.6864, allocations: 19.98 kB / 0.71 GB, free: 9.41 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.6864, allocations: 23.95 kB / 0.7101 GB, free: 9.387 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.6865, allocations: 15.94 kB / 0.7101 GB, free: 9.371 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.672e-05/0.6865, allocations: 95.5 kB / 0.7102 GB, free: 9.277 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.6865, allocations: 0 / 0.7102 GB, free: 9.277 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0009211/0.6875, allocations: 235.4 kB / 0.7104 GB, free: 9.047 MB / 0.545 GB
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.00103/0.6885, allocations: 438.3 kB / 0.7108 GB, free: 8.609 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.00057/0.6891, allocations: 247.3 kB / 0.711 GB, free: 8.371 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6891, allocations: 0 / 0.711 GB, free: 8.371 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.6893, allocations: 127.8 kB / 0.7112 GB, free: 8.246 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.6899, allocations: 90.12 kB / 0.7112 GB, free: 8.16 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.6912, allocations: 0.7127 MB / 0.7119 GB, free: 7.414 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.6916, allocations: 0.744 MB / 0.7127 GB, free: 6.645 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.000309/0.6919, allocations: 65.84 kB / 0.7127 GB, free: 6.582 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.692, allocations: 27.44 kB / 0.7128 GB, free: 6.559 MB / 0.545 GB
Notification: Performance of SimCode: time 2.81e-07/0.692, allocations: 0 / 0.7128 GB, free: 6.559 MB / 0.545 GB
Notification: Performance of Templates: time 0.01507/0.7071, allocations: 8.398 MB / 0.721 GB, free: 14.2 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.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: 6.136919877491891]