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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 111.9 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 193.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 224.1 MB, free: 12.36 MB / 190.1 MB 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.001125/0.001125, allocations: 43.94 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08766, allocations: 46.64 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3523/0.44, allocations: 149.1 MB / 475.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.4436, allocations: 3.04 MB / 478.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.4437, allocations: 4 kB / 478.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.4441, allocations: 43.78 kB / 478.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.4463, allocations: 0.947 MB / 479.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.4468, allocations: 184.5 kB / 480.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.4471, allocations: 346.7 kB / 480.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.4472, allocations: 13.08 kB / 480.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.4474, allocations: 151.5 kB / 480.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.4476, allocations: 123.6 kB / 480.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.4476, allocations: 13.12 kB / 480.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.45, allocations: 1.59 MB / 482.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.4501, allocations: 75.77 kB / 482.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.4502, allocations: 103.6 kB / 482.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.4515, allocations: 1.072 MB / 483.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4515, allocations: 0 / 483.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4515, allocations: 0 / 483.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.4515, allocations: 4 kB / 483.5 MB, free: 10.8 MB / 382.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.0008745/0.4524, allocations: 0.5428 MB / 484.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4525, allocations: 12.03 kB / 484.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.4562, allocations: 381.6 kB / 484.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4565, allocations: 272 kB / 484.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4565, allocations: 16.88 kB / 484.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.4566, allocations: 23.94 kB / 484.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009355/0.4575, allocations: 493.3 kB / 485.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4576, allocations: 0 / 485.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4576, allocations: 4 kB / 485.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4576, allocations: 8 kB / 485.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4587, allocations: 0.5152 MB / 485.8 MB, free: 8.465 MB / 382.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.002148/0.4608, allocations: 0.9814 MB / 486.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.4614, allocations: 296.2 kB / 487 MB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.4617, allocations: 153.6 kB / 487.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.4633, allocations: 0.8969 MB / 488.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4634, allocations: 34.56 kB / 488.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.4634, allocations: 4 kB / 488.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.000943/0.4643, allocations: 405.8 kB / 488.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4644, allocations: 77.11 kB / 488.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.4645, allocations: 113.8 kB / 488.7 MB, free: 5.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.4645, allocations: 33.7 kB / 488.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.4646, allocations: 108.4 kB / 488.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.4647, allocations: 110.4 kB / 489 MB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4648, allocations: 66.02 kB / 489 MB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.465, allocations: 322.8 kB / 489.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.4652, allocations: 120.6 kB / 489.4 MB, free: 4.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.4655, allocations: 203.4 kB / 489.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.466, allocations: 335.4 kB / 490 MB, free: 3.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.466, allocations: 3.938 kB / 490 MB, free: 3.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006633/0.4667, allocations: 386.4 kB / 490.4 MB, free: 3.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4667, allocations: 8 kB / 490.4 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4667, allocations: 4 kB / 490.4 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4667, allocations: 4 kB / 490.4 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.4672, allocations: 75.89 kB / 490.4 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.4672, allocations: 4 kB / 490.5 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.4675, allocations: 39.8 kB / 490.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.4675, allocations: 16 kB / 490.5 MB, free: 3.355 MB / 382.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.0001391/0.4677, allocations: 137.8 kB / 490.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.4678, allocations: 23.84 kB / 490.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.4686, allocations: 375.1 kB / 491 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4686, allocations: 7.938 kB / 491 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4686, allocations: 4 kB / 491 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.4687, allocations: 7.938 kB / 491 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.4692, allocations: 376.4 kB / 491.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4692, allocations: 0 / 491.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.4697, allocations: 57.52 kB / 491.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4697, allocations: 4 kB / 491.5 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4697, allocations: 8 kB / 491.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4697, allocations: 0 / 491.5 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4697, allocations: 3.938 kB / 491.5 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.4706, allocations: 0.5531 MB / 492 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.4706, allocations: 88.95 kB / 492.1 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.4707, allocations: 12.05 kB / 492.1 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.4711, allocations: 15.98 kB / 492.2 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4711, allocations: 19.98 kB / 492.2 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.4712, allocations: 19.98 kB / 492.2 MB, free: 1.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.4712, allocations: 91.27 kB / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4712, allocations: 0 / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008301/0.4721, allocations: 227.7 kB / 492.5 MB, free: 1.262 MB / 382.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.001019/0.4731, allocations: 435.5 kB / 492.9 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.4737, allocations: 303.7 kB / 493.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4737, allocations: 0 / 493.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.474, allocations: 147.8 kB / 493.4 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006199/0.4746, allocations: 90.39 kB / 493.5 MB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4758, allocations: 0.8044 MB / 494.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.4761, allocations: 0.7363 MB / 495 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004791/0.4766, allocations: 85.7 kB / 495.1 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4767, allocations: 35.42 kB / 495.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4767, allocations: 0 / 495.1 MB, free: 14.59 MB / 398.1 MB Notification: Performance of Templates: time 0.01264/0.4893, allocations: 8.417 MB / 0.4917 GB, free: 6.168 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches