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.001457/0.001457, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001265/0.001266, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.451/1.451, allocations: 222.9 MB / 242.4 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.2351/0.2351, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1679/0.5381, allocations: 149.6 MB / 0.665 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.5401, allocations: 1.593 MB / 0.6665 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.5402, allocations: 0 / 0.6665 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.5406, allocations: 51.72 kB / 0.6666 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008991/0.5415, allocations: 414.1 kB / 0.667 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.542, allocations: 171.4 kB / 0.6671 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.5423, allocations: 183.2 kB / 0.6673 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.5423, allocations: 7.938 kB / 0.6673 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.5425, allocations: 75.75 kB / 0.6674 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.5426, allocations: 67.67 kB / 0.6674 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.5427, allocations: 8 kB / 0.6674 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5437, allocations: 0.5885 MB / 0.668 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.5438, allocations: 27.95 kB / 0.668 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.5439, allocations: 55.73 kB / 0.6681 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.5445, allocations: 404.8 kB / 0.6685 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5445, allocations: 0 / 0.6685 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5445, allocations: 4 kB / 0.6685 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5446, allocations: 0 / 0.6685 GB, free: 2.324 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.0006332/0.5452, allocations: 431.4 kB / 0.6689 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5452, allocations: 8.031 kB / 0.6689 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.5476, allocations: 200.6 kB / 0.6691 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.5479, allocations: 207.8 kB / 0.6693 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5479, allocations: 8 kB / 0.6693 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.5479, allocations: 8 kB / 0.6693 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.5484, allocations: 207.7 kB / 0.6695 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5485, allocations: 0 / 0.6695 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.5485, allocations: 0 / 0.6695 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5485, allocations: 7.938 kB / 0.6695 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.5491, allocations: 235.8 kB / 0.6697 GB, free: 0.9492 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.001818/0.5509, allocations: 0.6517 MB / 0.6704 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.5514, allocations: 190.4 kB / 0.6706 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.5516, allocations: 96.81 kB / 0.6707 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5518, allocations: 89.33 kB / 0.6707 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.5518, allocations: 38.56 kB / 0.6708 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.5518, allocations: 0 / 0.6708 GB, free: 15.79 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.005808/0.5576, allocations: 1.545 MB / 0.6723 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5577, allocations: 55.41 kB / 0.6723 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.5578, allocations: 109.8 kB / 0.6724 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5578, allocations: 29.7 kB / 0.6725 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.5579, allocations: 104.2 kB / 0.6726 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.5579, allocations: 63.09 kB / 0.6726 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.558, allocations: 45.69 kB / 0.6727 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5581, allocations: 318.8 kB / 0.673 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5584, allocations: 95.75 kB / 0.6731 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.5586, allocations: 131.4 kB / 0.6732 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.5591, allocations: 222.1 kB / 0.6734 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5591, allocations: 0 / 0.6734 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006234/0.5597, allocations: 286.2 kB / 0.6737 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5597, allocations: 8 kB / 0.6737 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5598, allocations: 3.984 kB / 0.6737 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.5599, allocations: 24.84 kB / 0.6737 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.5604, allocations: 59.98 kB / 0.6738 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003384/0.5607, allocations: 0.5329 MB / 0.6743 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.561, allocations: 11.94 kB / 0.6743 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.5611, allocations: 11.98 kB / 0.6743 GB, free: 11.95 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.0001259/0.5612, allocations: 125.9 kB / 0.6744 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.5613, allocations: 7.906 kB / 0.6744 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.5621, allocations: 321.7 kB / 0.6748 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5621, allocations: 8 kB / 0.6748 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5621, allocations: 0 / 0.6748 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5621, allocations: 0 / 0.6748 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5632, allocations: 0.6755 MB / 0.6754 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5632, allocations: 8.094 kB / 0.6754 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.5637, allocations: 43.97 kB / 0.6755 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-05/0.5638, allocations: 28.72 kB / 0.6755 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.5638, allocations: 11.98 kB / 0.6755 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.5649, allocations: 1.359 MB / 0.6768 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5649, allocations: 3.938 kB / 0.6768 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.5657, allocations: 457.6 kB / 0.6773 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.5658, allocations: 88.95 kB / 0.6774 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.5658, allocations: 0 / 0.6774 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.5662, allocations: 20.05 kB / 0.6774 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.5662, allocations: 23.91 kB / 0.6774 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.5663, allocations: 4 kB / 0.6774 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.5663, allocations: 91.27 kB / 0.6775 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5663, allocations: 0 / 0.6775 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005182/0.5669, allocations: 131.9 kB / 0.6776 GB, free: 8.289 MB / 0.5294 GB 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.0006217/0.5675, allocations: 251 kB / 0.6779 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.5681, allocations: 250.6 kB / 0.6781 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5681, allocations: 0 / 0.6781 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.5685, allocations: 226.6 kB / 0.6783 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.569, allocations: 44.14 kB / 0.6784 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.5699, allocations: 475.2 kB / 0.6788 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5703, allocations: 0.7046 MB / 0.6795 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.5705, allocations: 61.31 kB / 0.6796 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5707, allocations: 19.44 kB / 0.6796 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/0.5707, allocations: 0 / 0.6796 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.01009/0.5808, allocations: 6.223 MB / 0.6856 GB, free: 0 / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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