Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 111.7 kB / 18.45 MB, free: 4.566 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.001175/0.001176, allocations: 186.1 kB / 19.38 MB, free: 3.645 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3141, allocations: 60.82 MB / 0.5195 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1528/0.4669, allocations: 149.6 MB / 0.6656 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.4689, allocations: 1.6 MB / 0.6672 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.469, allocations: 0 / 0.6672 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.4693, allocations: 43.73 kB / 0.6672 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.4704, allocations: 410.1 kB / 0.6676 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.4709, allocations: 163.4 kB / 0.6678 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.4712, allocations: 187.3 kB / 0.668 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.4712, allocations: 11.92 kB / 0.668 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4713, allocations: 75.7 kB / 0.668 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4715, allocations: 63.75 kB / 0.6681 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4715, allocations: 4 kB / 0.6681 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.4725, allocations: 0.5963 MB / 0.6687 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.4726, allocations: 23.97 kB / 0.6687 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.4726, allocations: 55.78 kB / 0.6688 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.4733, allocations: 407.4 kB / 0.6691 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4733, allocations: 0 / 0.6691 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4733, allocations: 0 / 0.6691 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.4733, allocations: 0 / 0.6691 GB, free: 2.316 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005279/0.4738, allocations: 430.9 kB / 0.6696 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4739, allocations: 12.03 kB / 0.6696 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.4763, allocations: 196.6 kB / 0.6698 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.4765, allocations: 211.8 kB / 0.67 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4766, allocations: 8 kB / 0.67 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.4766, allocations: 12 kB / 0.67 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.4771, allocations: 196 kB / 0.6702 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4771, allocations: 0 / 0.6702 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.4772, allocations: 7.984 kB / 0.6702 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4772, allocations: 7.938 kB / 0.6702 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.4778, allocations: 243.8 kB / 0.6704 GB, free: 0.9297 MB / 0.5137 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.001803/0.4796, allocations: 0.6595 MB / 0.6711 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.4801, allocations: 194.2 kB / 0.6712 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.4803, allocations: 96.81 kB / 0.6713 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.4805, allocations: 89.05 kB / 0.6714 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4806, allocations: 42.55 kB / 0.6715 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.4806, allocations: 0 / 0.6715 GB, free: 15.76 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00592/0.4865, allocations: 1.527 MB / 0.673 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4865, allocations: 51.41 kB / 0.673 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.4866, allocations: 121.7 kB / 0.6731 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4867, allocations: 29.7 kB / 0.6731 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.4867, allocations: 96.42 kB / 0.6732 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.4868, allocations: 71.36 kB / 0.6733 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.4869, allocations: 41.7 kB / 0.6733 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.487, allocations: 322.8 kB / 0.6737 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4873, allocations: 99.81 kB / 0.6737 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.4875, allocations: 123.4 kB / 0.6739 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.488, allocations: 226.1 kB / 0.6741 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.488, allocations: 8 kB / 0.6741 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006222/0.4886, allocations: 282.2 kB / 0.6744 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4887, allocations: 8 kB / 0.6744 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4887, allocations: 0 / 0.6744 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.4888, allocations: 24.84 kB / 0.6744 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.4893, allocations: 52.06 kB / 0.6744 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003332/0.4896, allocations: 0.5367 MB / 0.675 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.49, allocations: 15.95 kB / 0.675 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.49, allocations: 8 kB / 0.675 GB, free: 11.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.4901, allocations: 121.8 kB / 0.6751 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.4902, allocations: 16.05 kB / 0.6751 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.491, allocations: 313.5 kB / 0.6754 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.491, allocations: 7.922 kB / 0.6754 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.491, allocations: 4 kB / 0.6754 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.4911, allocations: 85.06 kB / 0.6755 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.4911, allocations: 4 kB / 0.6755 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.4915, allocations: 11.94 kB / 0.6755 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.4915, allocations: 15.97 kB / 0.6755 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.4926, allocations: 329.6 kB / 0.6759 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008334/0.4934, allocations: 454 kB / 0.6763 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002176/0.4936, allocations: 87.94 kB / 0.6764 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.4937, allocations: 91.27 kB / 0.6765 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of Backend: time 2.525e-06/0.4937, allocations: 0 / 0.6765 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.4951, allocations: 428.7 kB / 0.6769 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0008614/0.4959, allocations: 0.8634 MB / 0.6777 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of Templates: time 0.01234/0.5083, allocations: 7.904 MB / 0.6854 GB, free: 1.117 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches