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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.000945, allocations: 108.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3694/0.3694, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 51.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3804, allocations: 60.81 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1699/0.5503, allocations: 147.7 MB / 0.6506 GB, free: 11.98 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.554, allocations: 3.229 MB / 0.6538 GB, free: 8.742 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.5541, allocations: 3.938 kB / 0.6538 GB, free: 8.738 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.5545, allocations: 51.77 kB / 0.6538 GB, free: 8.688 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.5567, allocations: 0.9436 MB / 0.6547 GB, free: 7.742 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.5571, allocations: 191.8 kB / 0.6549 GB, free: 7.559 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.5577, allocations: 486.5 kB / 0.6554 GB, free: 7.082 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.5577, allocations: 12.72 kB / 0.6554 GB, free: 7.07 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.558, allocations: 135.5 kB / 0.6555 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.5582, allocations: 127.5 kB / 0.6556 GB, free: 6.812 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.5582, allocations: 8 kB / 0.6557 GB, free: 6.805 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.561, allocations: 1.746 MB / 0.6574 GB, free: 5.055 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.5611, allocations: 71.83 kB / 0.6574 GB, free: 4.984 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.5612, allocations: 107.5 kB / 0.6575 GB, free: 4.879 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5627, allocations: 1.122 MB / 0.6586 GB, free: 3.754 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5627, allocations: 4 kB / 0.6586 GB, free: 3.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.5628, allocations: 0 / 0.6586 GB, free: 3.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.5628, allocations: 0 / 0.6586 GB, free: 3.75 MB / 474.7 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.0008088/0.5636, allocations: 0.5385 MB / 0.6592 GB, free: 3.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5636, allocations: 8.031 kB / 0.6592 GB, free: 3.156 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/0.5675, allocations: 392.2 kB / 0.6595 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.5679, allocations: 259.9 kB / 0.6598 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5679, allocations: 16.31 kB / 0.6598 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.568, allocations: 23.91 kB / 0.6598 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.5689, allocations: 485.3 kB / 0.6603 GB, free: 1.957 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.569, allocations: 8 kB / 0.6603 GB, free: 1.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.569, allocations: 12 kB / 0.6603 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.569, allocations: 4 kB / 0.6603 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.5701, allocations: 0.4997 MB / 0.6608 GB, free: 1.434 MB / 474.7 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.002204/0.5723, allocations: 0.9925 MB / 0.6618 GB, free: 404 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.5729, allocations: 293 kB / 0.662 GB, free: 92 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.5732, allocations: 149.7 kB / 0.6622 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.5749, allocations: 0.984 MB / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.575, allocations: 38.5 kB / 0.6632 GB, free: 14.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.575, allocations: 4 kB / 0.6632 GB, free: 14.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009283/0.5759, allocations: 409.7 kB / 0.6636 GB, free: 14.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.576, allocations: 77.11 kB / 0.6637 GB, free: 14.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.5761, allocations: 109.8 kB / 0.6638 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.5761, allocations: 33.7 kB / 0.6638 GB, free: 14.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.5762, allocations: 112.4 kB / 0.6639 GB, free: 13.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.5763, allocations: 110.4 kB / 0.664 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5764, allocations: 62.03 kB / 0.6641 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5765, allocations: 330.8 kB / 0.6644 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.5768, allocations: 116.6 kB / 0.6645 GB, free: 13.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.577, allocations: 203.5 kB / 0.6647 GB, free: 13.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005536/0.5776, allocations: 336 kB / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5776, allocations: 3.938 kB / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006838/0.5783, allocations: 384.7 kB / 0.6654 GB, free: 12.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5783, allocations: 8 kB / 0.6654 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5783, allocations: 0 / 0.6654 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5784, allocations: 8 kB / 0.6654 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.5788, allocations: 75.89 kB / 0.6655 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5788, allocations: 8.25 kB / 0.6655 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.5791, allocations: 35.77 kB / 0.6655 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.5792, allocations: 16 kB / 0.6655 GB, free: 12.22 MB / 490.7 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.0001408/0.5793, allocations: 141.7 kB / 0.6657 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/0.5795, allocations: 19.81 kB / 0.6657 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.5802, allocations: 376.4 kB / 0.666 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5802, allocations: 4 kB / 0.666 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5803, allocations: 0 / 0.666 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5803, allocations: 0 / 0.666 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.5808, allocations: 356.8 kB / 0.6664 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5808, allocations: 0 / 0.6664 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.5813, allocations: 59.91 kB / 0.6664 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5813, allocations: 0 / 0.6664 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.5813, allocations: 11.98 kB / 0.6664 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5813, allocations: 12 kB / 0.6665 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5813, allocations: 0 / 0.6665 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.5831, allocations: 1.638 MB / 0.6681 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.5832, allocations: 88.95 kB / 0.6681 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.5832, allocations: 8 kB / 0.6682 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.5837, allocations: 19.89 kB / 0.6682 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5837, allocations: 23.91 kB / 0.6682 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.5838, allocations: 19.92 kB / 0.6682 GB, free: 9.246 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.5838, allocations: 91.27 kB / 0.6683 GB, free: 9.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.173e-06/0.5838, allocations: 4 kB / 0.6683 GB, free: 9.152 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.5847, allocations: 255.7 kB / 0.6685 GB, free: 8.902 MB / 490.7 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.001037/0.5858, allocations: 428 kB / 0.669 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.5864, allocations: 303.6 kB / 0.6692 GB, free: 8.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5864, allocations: 0 / 0.6692 GB, free: 8.176 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.5866, allocations: 151.8 kB / 0.6694 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.5873, allocations: 84.42 kB / 0.6695 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.5886, allocations: 0.989 MB / 0.6704 GB, free: 6.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5889, allocations: 0.7404 MB / 0.6712 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.5894, allocations: 85.77 kB / 0.6712 GB, free: 6.059 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5895, allocations: 35.42 kB / 0.6713 GB, free: 6.023 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5895, allocations: 0 / 0.6713 GB, free: 6.023 MB / 490.7 MB Notification: Performance of Templates: time 0.2599/0.8494, allocations: 8.308 MB / 0.6794 GB, free: 144.5 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches