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.001071/0.001071, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001059/0.001059, allocations: 198 kB / 18.07 MB, free: 5.41 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.331/1.331, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001209/0.00121, allocations: 47.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09837/0.09959, allocations: 46.63 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3345/0.4342, allocations: 149 MB / 475.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.4378, allocations: 3.126 MB / 478.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.438, allocations: 8 kB / 478.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.4383, allocations: 55.7 kB / 478.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.4403, allocations: 0.9236 MB / 479.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.4408, allocations: 194.1 kB / 479.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.4413, allocations: 478.5 kB / 480.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.4413, allocations: 13.08 kB / 480.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.4416, allocations: 135.5 kB / 480.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.4417, allocations: 119.6 kB / 480.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.4418, allocations: 8 kB / 480.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.4443, allocations: 1.722 MB / 482.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.4444, allocations: 75.7 kB / 482.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4445, allocations: 95.64 kB / 482.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.446, allocations: 1.126 MB / 483.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.446, allocations: 0 / 483.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.446, allocations: 0 / 483.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.446, allocations: 4 kB / 483.6 MB, free: 10.62 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.0008478/0.4469, allocations: 0.5312 MB / 484.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4469, allocations: 8.031 kB / 484.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.4507, allocations: 380.2 kB / 484.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4511, allocations: 268 kB / 484.8 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4511, allocations: 12.94 kB / 484.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.4512, allocations: 23.94 kB / 484.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4522, allocations: 489.3 kB / 485.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4522, allocations: 0 / 485.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.4523, allocations: 8 kB / 485.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4523, allocations: 7.984 kB / 485.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4534, allocations: 0.5191 MB / 485.8 MB, free: 8.305 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.002244/0.4557, allocations: 0.9936 MB / 486.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.4563, allocations: 285.1 kB / 487.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4566, allocations: 170.3 kB / 487.3 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/0.4583, allocations: 0.8931 MB / 488.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4584, allocations: 34.5 kB / 488.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.4584, allocations: 0 / 488.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009466/0.4593, allocations: 401.8 kB / 488.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4594, allocations: 85.09 kB / 488.7 MB, free: 5.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.4595, allocations: 113.8 kB / 488.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4595, allocations: 33.7 kB / 488.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.4596, allocations: 108.4 kB / 488.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.4597, allocations: 106.4 kB / 489 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4598, allocations: 62.02 kB / 489.1 MB, free: 4.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4599, allocations: 322.8 kB / 489.4 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.4601, allocations: 120.6 kB / 489.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.4605, allocations: 207.4 kB / 489.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.461, allocations: 334.1 kB / 490 MB, free: 3.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.461, allocations: 3.984 kB / 490 MB, free: 3.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007098/0.4617, allocations: 382.3 kB / 490.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.4618, allocations: 8 kB / 490.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4618, allocations: 4 kB / 490.4 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4618, allocations: 4 kB / 490.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.4623, allocations: 79.83 kB / 490.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4623, allocations: 4 kB / 490.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.4626, allocations: 39.8 kB / 490.6 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.4627, allocations: 19.98 kB / 490.6 MB, free: 3.184 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.0001443/0.4628, allocations: 137.8 kB / 490.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4629, allocations: 15.84 kB / 490.7 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.4637, allocations: 371.7 kB / 491.1 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4637, allocations: 4 kB / 491.1 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4638, allocations: 4 kB / 491.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4638, allocations: 3.984 kB / 491.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.4644, allocations: 368.5 kB / 491.5 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4644, allocations: 0 / 491.5 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.4648, allocations: 67.83 kB / 491.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4648, allocations: 7.984 kB / 491.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.4649, allocations: 8 kB / 491.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4649, allocations: 0 / 491.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4649, allocations: 10.11 kB / 491.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.4658, allocations: 0.5492 MB / 492.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.4659, allocations: 96.94 kB / 492.2 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.4659, allocations: 4.062 kB / 492.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.4663, allocations: 19.98 kB / 492.2 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.4664, allocations: 19.97 kB / 492.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.4665, allocations: 19.98 kB / 492.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.4665, allocations: 83.28 kB / 492.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4665, allocations: 0 / 492.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009004/0.4674, allocations: 247.7 kB / 492.6 MB, free: 1.082 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.001113/0.4686, allocations: 430.5 kB / 493 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.4692, allocations: 293.5 kB / 493.3 MB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4692, allocations: 3.938 kB / 493.3 MB, free: 372 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.4695, allocations: 140.5 kB / 493.4 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/0.4701, allocations: 91.8 kB / 493.5 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4714, allocations: 0.797 MB / 494.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.4718, allocations: 0.7365 MB / 495.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.4723, allocations: 86.3 kB / 495.1 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.4724, allocations: 35.42 kB / 495.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4724, allocations: 0 / 495.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of Templates: time 0.01327/0.4857, allocations: 8.257 MB / 0.4916 GB, free: 6.18 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