Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.001684/0.001684, allocations: 100.6 kB / 16.27 MB, free: 5.965 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.001684/0.001684, allocations: 191.8 kB / 17.2 MB, free: 5.598 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.673/1.673, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2361/0.2361, allocations: 43.52 MB / 313.9 MB, free: 0.5469 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.00159/0.00159, allocations: 68.59 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1118, allocations: 57.79 MB / 440.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4298/0.5417, allocations: 150.8 MB / 0.5775 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.5433, allocations: 1.496 MB / 0.579 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.5433, allocations: 1.406 kB / 0.579 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.5437, allocations: 52.42 kB / 0.579 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007876/0.5445, allocations: 384.6 kB / 0.5794 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.545, allocations: 170.2 kB / 0.5795 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.5452, allocations: 183.1 kB / 0.5797 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.5452, allocations: 8.875 kB / 0.5797 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.5454, allocations: 78.81 kB / 0.5798 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.5455, allocations: 53.39 kB / 0.5798 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.5455, allocations: 5.812 kB / 0.5798 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.5464, allocations: 0.5731 MB / 0.5804 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.5465, allocations: 33.69 kB / 0.5804 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.5465, allocations: 51.55 kB / 0.5805 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.547, allocations: 385.8 kB / 0.5809 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5471, allocations: 2.438 kB / 0.5809 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5471, allocations: 2.719 kB / 0.5809 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.5471, allocations: 4 kB / 0.5809 GB, free: 12.05 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005715/0.5477, allocations: 429.8 kB / 0.5813 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5477, allocations: 11.73 kB / 0.5813 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.55, allocations: 192.6 kB / 0.5815 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.5503, allocations: 206.4 kB / 0.5817 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.5503, allocations: 10.66 kB / 0.5817 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.5503, allocations: 14.94 kB / 0.5817 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.5508, allocations: 201.3 kB / 0.5819 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5508, allocations: 0 / 0.5819 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.5508, allocations: 5.719 kB / 0.5819 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5508, allocations: 1.938 kB / 0.5819 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.5514, allocations: 240.2 kB / 0.5821 GB, free: 11.39 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.001689/0.5531, allocations: 0.6677 MB / 0.5828 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.5535, allocations: 192.5 kB / 0.583 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.5537, allocations: 93.5 kB / 0.583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.5539, allocations: 100 kB / 0.5831 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5539, allocations: 32.81 kB / 0.5832 GB, free: 10.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.5539, allocations: 3.938 kB / 0.5832 GB, free: 10.84 MB / 430.1 MB 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.005839/0.5598, allocations: 1.535 MB / 0.5847 GB, free: 10.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.5598, allocations: 53.84 kB / 0.5847 GB, free: 10.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.56, allocations: 115.3 kB / 0.5848 GB, free: 9.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.56, allocations: 30.83 kB / 0.5849 GB, free: 9.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.5601, allocations: 102.7 kB / 0.585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.5602, allocations: 63.61 kB / 0.585 GB, free: 9.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.5603, allocations: 46.59 kB / 0.5851 GB, free: 9.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5604, allocations: 320.7 kB / 0.5854 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.5606, allocations: 95.42 kB / 0.5855 GB, free: 9.418 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.5609, allocations: 125.4 kB / 0.5856 GB, free: 9.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.5613, allocations: 220.9 kB / 0.5858 GB, free: 9.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5613, allocations: 6.562 kB / 0.5858 GB, free: 9.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005649/0.5619, allocations: 281.4 kB / 0.5861 GB, free: 9.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5619, allocations: 7.375 kB / 0.5861 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5619, allocations: 0 / 0.5861 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.562, allocations: 24.88 kB / 0.5861 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.5625, allocations: 63.83 kB / 0.5862 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003838/0.5629, allocations: 0.5292 MB / 0.5867 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.5632, allocations: 8.781 kB / 0.5867 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.5633, allocations: 11.7 kB / 0.5867 GB, free: 8.68 MB / 430.1 MB 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.0001422/0.5634, allocations: 140.3 kB / 0.5868 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.5635, allocations: 13.16 kB / 0.5868 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.5642, allocations: 317.2 kB / 0.5871 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5643, allocations: 5.812 kB / 0.5872 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5643, allocations: 10.94 kB / 0.5872 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5643, allocations: 0 / 0.5872 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5654, allocations: 0.6717 MB / 0.5878 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5654, allocations: 6.719 kB / 0.5878 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.5658, allocations: 47.17 kB / 0.5879 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-05/0.5659, allocations: 19.53 kB / 0.5879 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.566, allocations: 12.55 kB / 0.5879 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009669/0.5669, allocations: 1.371 MB / 0.5892 GB, free: 6.555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5669, allocations: 3.938 kB / 0.5892 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.5678, allocations: 445.4 kB / 0.5897 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.5678, allocations: 89.3 kB / 0.5898 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.5679, allocations: 10.28 kB / 0.5898 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.5682, allocations: 10.39 kB / 0.5898 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.5683, allocations: 17.36 kB / 0.5898 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.5683, allocations: 12.48 kB / 0.5898 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.5684, allocations: 90.58 kB / 0.5899 GB, free: 6.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5684, allocations: 0 / 0.5899 GB, free: 6.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.569, allocations: 123 kB / 0.59 GB, free: 6.125 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006827/0.5697, allocations: 249.5 kB / 0.5902 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006278/0.5703, allocations: 243.1 kB / 0.5905 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5703, allocations: 0 / 0.5905 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.5707, allocations: 236.8 kB / 0.5907 GB, free: 5.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.5712, allocations: 47.33 kB / 0.5907 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.5721, allocations: 490.4 kB / 0.5912 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.5724, allocations: 0.711 MB / 0.5919 GB, free: 4.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.5728, allocations: 54.92 kB / 0.592 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5729, allocations: 27.61 kB / 0.592 GB, free: 4.676 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5729, allocations: 0 / 0.592 GB, free: 4.676 MB / 430.1 MB Notification: Performance of Templates: time 0.01008/0.583, allocations: 6.224 MB / 0.5981 GB, free: 1.484 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches