Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 176 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007413/0.0007415, allocations: 95.73 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.0002229, allocations: 4 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1842, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2945/0.4787, allocations: 143.1 MB / 0.5075 GB, free: 1.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.482, allocations: 4.612 MB / 0.512 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.4821, allocations: 3.312 kB / 0.512 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.4825, allocations: 98.62 kB / 0.5121 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.4843, allocations: 1.094 MB / 0.5132 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.4851, allocations: 357.1 kB / 0.5135 GB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.4857, allocations: 0.6228 MB / 0.5141 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.4857, allocations: 16.33 kB / 0.5142 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.486, allocations: 212.5 kB / 0.5144 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.4862, allocations: 172.8 kB / 0.5145 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.4863, allocations: 8.438 kB / 0.5145 GB, free: 15.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.4898, allocations: 2.491 MB / 0.517 GB, free: 15.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.4899, allocations: 131 kB / 0.5171 GB, free: 15.15 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.4901, allocations: 194 kB / 0.5173 GB, free: 15.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.4923, allocations: 1.776 MB / 0.519 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4923, allocations: 4.906 kB / 0.519 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4923, allocations: 0 / 0.519 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.4923, allocations: 0 / 0.519 GB, free: 15.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001709/0.494, allocations: 0.6987 MB / 0.5197 GB, free: 14.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4941, allocations: 9.438 kB / 0.5197 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.4962, allocations: 266.1 kB / 0.52 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.4966, allocations: 286.7 kB / 0.5202 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4966, allocations: 24.41 kB / 0.5203 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.4967, allocations: 26.47 kB / 0.5203 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.4979, allocations: 0.6671 MB / 0.5209 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4979, allocations: 4.438 kB / 0.5209 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.498, allocations: 14.8 kB / 0.521 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.498, allocations: 19.08 kB / 0.521 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.4996, allocations: 0.7589 MB / 0.5217 GB, free: 14.28 MB / 394.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.003473/0.5031, allocations: 1.814 MB / 0.5235 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.5043, allocations: 472.7 kB / 0.5239 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.5049, allocations: 234.8 kB / 0.5242 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002271/0.5071, allocations: 1.375 MB / 0.5255 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5072, allocations: 41.12 kB / 0.5255 GB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/0.5072, allocations: 0 / 0.5255 GB, free: 12.18 MB / 394.7 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01179/0.519, allocations: 3.642 MB / 0.5291 GB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5191, allocations: 85.48 kB / 0.5292 GB, free: 10.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.5192, allocations: 174 kB / 0.5293 GB, free: 10.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.5193, allocations: 35.02 kB / 0.5294 GB, free: 10.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5194, allocations: 177.4 kB / 0.5295 GB, free: 10.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.5196, allocations: 181.1 kB / 0.5297 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.5196, allocations: 8.625 kB / 0.5297 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5198, allocations: 341.7 kB / 0.5301 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.5204, allocations: 263.7 kB / 0.5303 GB, free: 9.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.5211, allocations: 418.1 kB / 0.5307 GB, free: 9.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.5225, allocations: 0.6975 MB / 0.5314 GB, free: 9.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5225, allocations: 3.938 kB / 0.5314 GB, free: 9.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001677/0.5242, allocations: 0.7833 MB / 0.5322 GB, free: 9.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5242, allocations: 5.219 kB / 0.5322 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5242, allocations: 9.812 kB / 0.5322 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.5244, allocations: 53.94 kB / 0.5322 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5255, allocations: 175.9 kB / 0.5324 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005678/0.5261, allocations: 1.083 MB / 0.5334 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.5268, allocations: 48.73 kB / 0.5335 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.5269, allocations: 38.45 kB / 0.5335 GB, free: 8.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.5271, allocations: 171.4 kB / 0.5337 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/0.5272, allocations: 28.47 kB / 0.5337 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.5292, allocations: 0.7896 MB / 0.5345 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5292, allocations: 9 kB / 0.5345 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5292, allocations: 0 / 0.5345 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5292, allocations: 6.922 kB / 0.5345 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.532, allocations: 1.551 MB / 0.536 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.532, allocations: 4 kB / 0.536 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/0.533, allocations: 151.6 kB / 0.5362 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.5331, allocations: 44.81 kB / 0.5362 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.5332, allocations: 30.81 kB / 0.5362 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5349, allocations: 2.526 MB / 0.5387 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5349, allocations: 5.938 kB / 0.5387 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5371, allocations: 1.071 MB / 0.5398 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.5371, allocations: 97.64 kB / 0.5399 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.5372, allocations: 17.83 kB / 0.5399 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.538, allocations: 47.03 kB / 0.5399 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.538, allocations: 42.53 kB / 0.54 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.5381, allocations: 33.47 kB / 0.54 GB, free: 3.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.5382, allocations: 119.6 kB / 0.5401 GB, free: 3.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5382, allocations: 6.906 kB / 0.5401 GB, free: 3.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001589/0.5398, allocations: 400 kB / 0.5405 GB, free: 3.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002407/0.5422, allocations: 0.8672 MB / 0.5413 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.5438, allocations: 0.6577 MB / 0.542 GB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5438, allocations: 0 / 0.542 GB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009151/0.5447, allocations: 0.528 MB / 0.5425 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.5454, allocations: 108.2 kB / 0.5426 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.5473, allocations: 1.216 MB / 0.5438 GB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5477, allocations: 0.7802 MB / 0.5445 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.5488, allocations: 183.2 kB / 0.5447 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5491, allocations: 62.55 kB / 0.5448 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5491, allocations: 4.484 kB / 0.5448 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of Templates: time 0.02107/0.5702, allocations: 15.58 MB / 0.56 GB, free: 5.922 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches