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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 106.8 kB / 18.45 MB, free: 4.621 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.001213/0.001213, allocations: 187.1 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 60.82 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1706/0.5288, allocations: 149.9 MB / 0.6659 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.5328, allocations: 3.138 MB / 0.669 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.533, allocations: 0 / 0.669 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.5334, allocations: 67.64 kB / 0.6691 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.5363, allocations: 1.029 MB / 0.6701 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.5369, allocations: 203.1 kB / 0.6703 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.5374, allocations: 354.7 kB / 0.6706 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.5375, allocations: 9.078 kB / 0.6706 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.5379, allocations: 155.5 kB / 0.6708 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.5381, allocations: 107.6 kB / 0.6709 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.5382, allocations: 12 kB / 0.6709 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.5413, allocations: 1.496 MB / 0.6723 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5414, allocations: 75.78 kB / 0.6724 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5416, allocations: 111.6 kB / 0.6725 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5435, allocations: 0.99 MB / 0.6735 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5435, allocations: 0 / 0.6735 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5435, allocations: 0 / 0.6735 GB, free: 14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5435, allocations: 4 kB / 0.6735 GB, free: 14 MB / 0.5294 GB 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.001122/0.5447, allocations: 0.5423 MB / 0.674 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5447, allocations: 8.031 kB / 0.674 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.5462, allocations: 208.5 kB / 0.6742 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.5467, allocations: 251.8 kB / 0.6745 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.5467, allocations: 20.38 kB / 0.6745 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.5468, allocations: 16 kB / 0.6745 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.5474, allocations: 373.4 kB / 0.6749 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5474, allocations: 0 / 0.6749 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5475, allocations: 15.94 kB / 0.6749 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5475, allocations: 7.984 kB / 0.6749 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.5481, allocations: 395.8 kB / 0.6753 GB, free: 12.09 MB / 0.5294 GB 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.001771/0.5499, allocations: 0.8085 MB / 0.676 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.5503, allocations: 225 kB / 0.6763 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.5505, allocations: 117.7 kB / 0.6764 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/0.5525, allocations: 0.9841 MB / 0.6773 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.5525, allocations: 42.48 kB / 0.6774 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.325e-06/0.5526, allocations: 4 kB / 0.6774 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001232/0.5538, allocations: 364.8 kB / 0.6777 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.5539, allocations: 88.98 kB / 0.6778 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.554, allocations: 105.8 kB / 0.6779 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.554, allocations: 33.7 kB / 0.6779 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.5541, allocations: 112.4 kB / 0.6781 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.5542, allocations: 106.5 kB / 0.6782 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5543, allocations: 62.02 kB / 0.6782 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5544, allocations: 330.8 kB / 0.6785 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.5546, allocations: 96.61 kB / 0.6786 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.5549, allocations: 175.5 kB / 0.6788 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.5553, allocations: 309.9 kB / 0.6791 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5554, allocations: 0 / 0.6791 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006195/0.556, allocations: 347.7 kB / 0.6794 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.556, allocations: 8 kB / 0.6794 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.556, allocations: 0 / 0.6794 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.556, allocations: 4 kB / 0.6794 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5564, allocations: 71.91 kB / 0.6795 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.5564, allocations: 7.938 kB / 0.6795 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.5567, allocations: 27.77 kB / 0.6795 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.5567, allocations: 20 kB / 0.6796 GB, free: 7.309 MB / 0.5294 GB 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.0001448/0.5569, allocations: 145.8 kB / 0.6797 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.557, allocations: 15.81 kB / 0.6797 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.5577, allocations: 314.2 kB / 0.68 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5577, allocations: 0 / 0.68 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5577, allocations: 0 / 0.68 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.5578, allocations: 92.95 kB / 0.6801 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.5579, allocations: 7.984 kB / 0.6801 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5582, allocations: 23.94 kB / 0.6801 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.5583, allocations: 15.97 kB / 0.6801 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000773/0.5591, allocations: 419.9 kB / 0.6805 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008383/0.5599, allocations: 0.5525 MB / 0.6811 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00021/0.5601, allocations: 95.2 kB / 0.6812 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.5602, allocations: 103.5 kB / 0.6813 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of Backend: time 2.886e-06/0.5602, allocations: 0 / 0.6813 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.5622, allocations: 0.6019 MB / 0.6819 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001245/0.5635, allocations: 1.118 MB / 0.6829 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of Templates: time 0.01416/0.5777, allocations: 8.611 MB / 0.6914 GB, free: 11.12 MB / 0.545 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches