Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.001316/0.001316, allocations: 106 kB / 21.18 MB, free: 0.7188 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.001336/0.001336, allocations: 189.2 kB / 24.47 MB, free: 4.094 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.401/1.401, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases")
translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") [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.001754/0.001754, allocations: 59.92 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2618, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1851/0.4469, allocations: 154.8 MB / 0.5387 GB, free: 8.109 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003848/0.4508, allocations: 3.053 MB / 0.5416 GB, free: 5.047 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.4509, allocations: 8 kB / 0.5416 GB, free: 5.039 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.4514, allocations: 115.4 kB / 0.5418 GB, free: 4.926 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003177/0.4545, allocations: 1.249 MB / 0.543 GB, free: 3.676 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.4557, allocations: 382.8 kB / 0.5433 GB, free: 3.301 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006898/0.4563, allocations: 474.8 kB / 0.5438 GB, free: 2.836 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.4564, allocations: 13.73 kB / 0.5438 GB, free: 2.824 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.4568, allocations: 235 kB / 0.544 GB, free: 2.594 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.4571, allocations: 147.5 kB / 0.5442 GB, free: 2.449 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.4571, allocations: 12 kB / 0.5442 GB, free: 2.438 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.4614, allocations: 2.269 MB / 0.5464 GB, free: 172 kB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.4615, allocations: 143.7 kB / 0.5465 GB, free: 28 kB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000215/0.4617, allocations: 167.3 kB / 0.5467 GB, free: 15.86 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002341/0.4641, allocations: 1.539 MB / 0.5482 GB, free: 14.32 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4641, allocations: 3.938 kB / 0.5482 GB, free: 14.32 MB / 478.1 MB
Notification: Performance of FrontEnd: time 1.523e-06/0.4641, allocations: 3.938 kB / 0.5482 GB, free: 14.31 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 7.374e-06/0.4641, allocations: 3.938 kB / 0.5482 GB, free: 14.31 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 75
 * Number of variables: 75
Notification: Performance of Generate backend data structure: time 0.00208/0.4662, allocations: 0.7115 MB / 0.5489 GB, free: 13.56 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4662, allocations: 11.98 kB / 0.5489 GB, free: 13.55 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.4669, allocations: 112.7 kB / 0.549 GB, free: 13.44 MB / 478.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.4673, allocations: 217.7 kB / 0.5492 GB, free: 13.2 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4673, allocations: 20.59 kB / 0.5492 GB, free: 13.18 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.4674, allocations: 32 kB / 0.5493 GB, free: 13.15 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4685, allocations: 0.6009 MB / 0.5499 GB, free: 12.54 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4685, allocations: 0 / 0.5499 GB, free: 12.54 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.4686, allocations: 12 kB / 0.5499 GB, free: 12.53 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.4686, allocations: 20.42 kB / 0.5499 GB, free: 12.51 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.47, allocations: 0.6458 MB / 0.5505 GB, free: 11.86 MB / 478.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.003174/0.4731, allocations: 1.248 MB / 0.5517 GB, free: 10.56 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4741, allocations: 360.7 kB / 0.5521 GB, free: 10.19 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.4746, allocations: 165.6 kB / 0.5522 GB, free: 10.02 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.4768, allocations: 499.3 kB / 0.5527 GB, free: 9.535 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4768, allocations: 42.73 kB / 0.5528 GB, free: 9.484 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.4768, allocations: 0 / 0.5528 GB, free: 9.484 MB / 478.1 MB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: medium1.T
Please use -d=bltdump for more information.
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: medium2.T
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=48): time 0.01496/0.4918, allocations: 3.177 MB / 0.5559 GB, free: 6.172 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4918, allocations: 85.05 kB / 0.5559 GB, free: 6.07 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.492, allocations: 179.5 kB / 0.5561 GB, free: 5.887 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.196e-05/0.4921, allocations: 29.7 kB / 0.5561 GB, free: 5.852 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4922, allocations: 184.6 kB / 0.5563 GB, free: 5.664 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.4924, allocations: 182.4 kB / 0.5565 GB, free: 5.484 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.4926, allocations: 122.2 kB / 0.5566 GB, free: 5.359 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001511/0.4927, allocations: 338.8 kB / 0.5569 GB, free: 5.02 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.4935, allocations: 265.1 kB / 0.5572 GB, free: 4.758 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.4944, allocations: 429.4 kB / 0.5576 GB, free: 4.273 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.496, allocations: 0.6991 MB / 0.5583 GB, free: 3.508 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4961, allocations: 4 kB / 0.5583 GB, free: 3.504 MB / 478.1 MB
Notification: Performance of matching and sorting (n=72) (initialization): time 0.002087/0.4981, allocations: 0.7881 MB / 0.5591 GB, free: 2.703 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4982, allocations: 12.03 kB / 0.5591 GB, free: 2.691 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4982, allocations: 7.984 kB / 0.5591 GB, free: 2.684 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.4984, allocations: 57.69 kB / 0.5591 GB, free: 2.621 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4996, allocations: 171.7 kB / 0.5593 GB, free: 2.453 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007742/0.5004, allocations: 1.077 MB / 0.5603 GB, free: 1.324 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.5011, allocations: 48.14 kB / 0.5604 GB, free: 1.277 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.5012, allocations: 39.97 kB / 0.5604 GB, free: 1.238 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * 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 (70):
 * Single equations (assignments): 68
 * 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.0002966/0.5015, allocations: 181.8 kB / 0.5606 GB, free: 1.051 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5017, allocations: 27.81 kB / 0.5606 GB, free: 1.023 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.5039, allocations: 0.7786 MB / 0.5614 GB, free: 232 kB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5039, allocations: 8 kB / 0.5614 GB, free: 224 kB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5039, allocations: 4 kB / 0.5614 GB, free: 220 kB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5039, allocations: 0 / 0.5614 GB, free: 220 kB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1866/0.6905, allocations: 1.519 MB / 0.5629 GB, free: 163.8 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6905, allocations: 2.25 kB / 0.5629 GB, free: 163.8 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.6916, allocations: 149.4 kB / 0.563 GB, free: 163.8 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.6919, allocations: 44.27 kB / 0.5631 GB, free: 163.8 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/0.6919, allocations: 21 kB / 0.5631 GB, free: 163.8 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.6933, allocations: 2.531 MB / 0.5656 GB, free: 161.2 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6933, allocations: 2.5 kB / 0.5656 GB, free: 161.2 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.6962, allocations: 1.079 MB / 0.5666 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6963, allocations: 31.27 kB / 0.5666 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6964, allocations: 10.19 kB / 0.5667 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.6972, allocations: 39.77 kB / 0.5667 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6974, allocations: 48.73 kB / 0.5667 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6975, allocations: 34.89 kB / 0.5668 GB, free: 160.7 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.0001786/0.6976, allocations: 122.8 kB / 0.5669 GB, free: 160.6 MB / 478.1 MB
Notification: Performance of sort global known variables: time 5e-08/0.6976, allocations: 0 / 0.5669 GB, free: 160.6 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.00208/0.6997, allocations: 387.9 kB / 0.5673 GB, free: 160.6 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (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): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/0.7022, allocations: 0.8655 MB / 0.5681 GB, free: 160.4 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.00207/0.7043, allocations: 0.6284 MB / 0.5687 GB, free: 160.3 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.7043, allocations: 8.406 kB / 0.5687 GB, free: 160.3 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7054, allocations: 0.5218 MB / 0.5692 GB, free: 160 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.7061, allocations: 89.69 kB / 0.5693 GB, free: 159.9 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.7081, allocations: 1.009 MB / 0.5703 GB, free: 159.4 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.7084, allocations: 0.7875 MB / 0.5711 GB, free: 158.7 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.0007988/0.7092, allocations: 185 kB / 0.5713 GB, free: 158.6 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.7095, allocations: 64.41 kB / 0.5713 GB, free: 158.6 MB / 478.1 MB
Notification: Performance of SimCode: time 1.362e-06/0.7095, allocations: 0 / 0.5713 GB, free: 158.6 MB / 478.1 MB
Notification: Performance of Templates: time 0.02237/0.7319, allocations: 16.62 MB / 0.5876 GB, free: 150.4 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.604832852259278]