Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.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="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009865, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 177.1 kB / 16.57 MB, free: 6.844 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.457/1.457, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3578/0.3578, allocations: 43.55 MB / 314.5 MB, free: 8.754 MB / 254.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.0005218/0.0005219, allocations: 12 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3719/0.4955, allocations: 125.9 MB / 0.5554 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.4989, allocations: 2.516 MB / 0.5578 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.499, allocations: 4 kB / 0.5578 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.4994, allocations: 46.5 kB / 0.5579 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.5011, allocations: 0.7025 MB / 0.5586 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.5016, allocations: 164.4 kB / 0.5587 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.5019, allocations: 217.7 kB / 0.5589 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.5019, allocations: 7.781 kB / 0.5589 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.5023, allocations: 162 kB / 0.5591 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.5024, allocations: 83.78 kB / 0.5592 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.5024, allocations: 8 kB / 0.5592 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.5047, allocations: 1.09 MB / 0.5602 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.5048, allocations: 71.78 kB / 0.5603 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.5049, allocations: 57.64 kB / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.5059, allocations: 0.5789 MB / 0.5609 GB, free: 8.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5059, allocations: 4 kB / 0.5609 GB, free: 8.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5059, allocations: 4 kB / 0.5609 GB, free: 8.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.5059, allocations: 0 / 0.5609 GB, free: 8.125 MB / 430.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.0008025/0.5067, allocations: 0.4988 MB / 0.5614 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5068, allocations: 8.031 kB / 0.5614 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.5081, allocations: 206.3 kB / 0.5616 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.5085, allocations: 230.8 kB / 0.5618 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5085, allocations: 16.38 kB / 0.5619 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.5086, allocations: 16 kB / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.5092, allocations: 383.2 kB / 0.5622 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5092, allocations: 0 / 0.5622 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.5093, allocations: 8 kB / 0.5622 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5093, allocations: 4 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.5098, allocations: 419.6 kB / 0.5626 GB, free: 6.273 MB / 430.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.001532/0.5114, allocations: 0.7969 MB / 0.5634 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.5117, allocations: 217.1 kB / 0.5636 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.513, allocations: 0.6789 MB / 0.5643 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.513, allocations: 38.55 kB / 0.5643 GB, free: 4.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.513, allocations: 0 / 0.5643 GB, free: 4.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.001183/0.5142, allocations: 371 kB / 0.5647 GB, free: 3.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.5143, allocations: 81.11 kB / 0.5648 GB, free: 3.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5144, allocations: 109.8 kB / 0.5649 GB, free: 3.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.5144, allocations: 33.7 kB / 0.5649 GB, free: 3.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.5145, allocations: 108.4 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.5146, allocations: 110.4 kB / 0.5651 GB, free: 3.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.5146, allocations: 12 kB / 0.5651 GB, free: 3.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5148, allocations: 326.8 kB / 0.5654 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.515, allocations: 96.61 kB / 0.5655 GB, free: 3.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.5152, allocations: 192.6 kB / 0.5657 GB, free: 2.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.5154, allocations: 108.5 kB / 0.5658 GB, free: 2.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5154, allocations: 4 kB / 0.5658 GB, free: 2.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005526/0.516, allocations: 346.2 kB / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.516, allocations: 11.95 kB / 0.5662 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.516, allocations: 1.719 kB / 0.5662 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.516, allocations: 8 kB / 0.5662 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.5164, allocations: 75.83 kB / 0.5662 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5164, allocations: 11.94 kB / 0.5663 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.5166, allocations: 24.16 kB / 0.5663 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.5167, allocations: 23.98 kB / 0.5663 GB, free: 2.258 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.5168, allocations: 137.7 kB / 0.5664 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-05/0.5169, allocations: 23.8 kB / 0.5665 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.5175, allocations: 327.8 kB / 0.5668 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5176, allocations: 4 kB / 0.5668 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5176, allocations: 4 kB / 0.5668 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5176, allocations: 0 / 0.5668 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.5181, allocations: 327 kB / 0.5671 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5181, allocations: 4 kB / 0.5671 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.5184, allocations: 56.66 kB / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5184, allocations: 4 kB / 0.5671 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.5185, allocations: 15.94 kB / 0.5672 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5185, allocations: 0 / 0.5672 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5185, allocations: 0 / 0.5672 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.5192, allocations: 0.5196 MB / 0.5677 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.5193, allocations: 88.95 kB / 0.5678 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.5193, allocations: 16 kB / 0.5678 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.5197, allocations: 16.48 kB / 0.5678 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.5197, allocations: 19.98 kB / 0.5678 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.5198, allocations: 19.92 kB / 0.5678 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.5198, allocations: 91.27 kB / 0.5679 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5198, allocations: 0 / 0.5679 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008272/0.5207, allocations: 223.7 kB / 0.5681 GB, free: 308 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008629/0.5215, allocations: 351.7 kB / 0.5685 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.522, allocations: 268.5 kB / 0.5687 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.522, allocations: 0 / 0.5687 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5222, allocations: 123.8 kB / 0.5688 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.5228, allocations: 75.48 kB / 0.5689 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5239, allocations: 0.8934 MB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.5243, allocations: 0.7365 MB / 0.5705 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003664/0.5246, allocations: 75.73 kB / 0.5706 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.5247, allocations: 31.42 kB / 0.5706 GB, free: 13.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5247, allocations: 0 / 0.5706 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Templates: time 0.0124/0.5372, allocations: 7.861 MB / 0.5783 GB, free: 5.895 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches