Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 114.5 kB / 17.73 MB, free: 5.328 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.001151/0.001151, allocations: 183 kB / 18.67 MB, free: 4.398 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.415/1.415, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.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.001726/0.001726, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1012, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3588/0.4601, allocations: 150.9 MB / 0.5137 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4619, allocations: 1.491 MB / 0.5151 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.462, allocations: 4 kB / 0.5151 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.4625, allocations: 47.72 kB / 0.5152 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008985/0.4634, allocations: 386.2 kB / 0.5155 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.4639, allocations: 172 kB / 0.5157 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.4642, allocations: 191.2 kB / 0.5159 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4642, allocations: 4 kB / 0.5159 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.4644, allocations: 79.69 kB / 0.516 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.4646, allocations: 51.77 kB / 0.516 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.4646, allocations: 8 kB / 0.516 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4657, allocations: 0.5807 MB / 0.5166 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.4658, allocations: 31.89 kB / 0.5166 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.4659, allocations: 51.8 kB / 0.5167 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.4665, allocations: 390.4 kB / 0.517 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4665, allocations: 4 kB / 0.517 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4665, allocations: 0 / 0.517 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4666, allocations: 0 / 0.517 GB, free: 4.805 MB / 446.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.0006197/0.4672, allocations: 438.8 kB / 0.5175 GB, free: 4.328 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4672, allocations: 8.031 kB / 0.5175 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.4694, allocations: 188.6 kB / 0.5177 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.4697, allocations: 208.3 kB / 0.5179 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4697, allocations: 8.297 kB / 0.5179 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.4698, allocations: 19.94 kB / 0.5179 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.4702, allocations: 193.5 kB / 0.5181 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4703, allocations: 4 kB / 0.5181 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.4703, allocations: 4.688 kB / 0.5181 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4703, allocations: 0 / 0.5181 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.4709, allocations: 247.8 kB / 0.5183 GB, free: 3.422 MB / 446.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.001818/0.4727, allocations: 0.6803 MB / 0.519 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.4732, allocations: 182.5 kB / 0.5191 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.4734, allocations: 97.88 kB / 0.5192 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4736, allocations: 93.09 kB / 0.5193 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4736, allocations: 30.56 kB / 0.5194 GB, free: 2.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4736, allocations: 0 / 0.5194 GB, free: 2.25 MB / 446.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.005591/0.4792, allocations: 1.552 MB / 0.5209 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4793, allocations: 55.41 kB / 0.5209 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.4794, allocations: 113.8 kB / 0.521 GB, free: 412 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4794, allocations: 29.7 kB / 0.5211 GB, free: 376 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.4795, allocations: 100.4 kB / 0.5212 GB, free: 272 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.4796, allocations: 67.38 kB / 0.5212 GB, free: 204 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.4797, allocations: 45.69 kB / 0.5213 GB, free: 152 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4798, allocations: 314.8 kB / 0.5216 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.48, allocations: 87.95 kB / 0.5216 GB, free: 15.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.4803, allocations: 135.2 kB / 0.5218 GB, free: 15.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.4807, allocations: 219.3 kB / 0.522 GB, free: 15.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4807, allocations: 4 kB / 0.522 GB, free: 15.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006466/0.4814, allocations: 290.2 kB / 0.5223 GB, free: 15.08 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4814, allocations: 4 kB / 0.5223 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4814, allocations: 4 kB / 0.5223 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.4816, allocations: 28.78 kB / 0.5223 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.482, allocations: 56.05 kB / 0.5224 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/0.4824, allocations: 0.5329 MB / 0.5229 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4826, allocations: 15.97 kB / 0.5229 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4827, allocations: 4 kB / 0.5229 GB, free: 14.41 MB / 462.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.0001111/0.4828, allocations: 129.9 kB / 0.523 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.4829, allocations: 15.89 kB / 0.523 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.4836, allocations: 307.2 kB / 0.5233 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4836, allocations: 4 kB / 0.5233 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4836, allocations: 11.88 kB / 0.5233 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4836, allocations: 0 / 0.5233 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.4847, allocations: 0.6646 MB / 0.524 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4847, allocations: 96 / 0.524 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.4852, allocations: 63.89 kB / 0.5241 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.349e-05/0.4852, allocations: 16.84 kB / 0.5241 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4853, allocations: 11.98 kB / 0.5241 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/0.4862, allocations: 1.374 MB / 0.5254 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4863, allocations: 0 / 0.5254 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.4871, allocations: 454.8 kB / 0.5259 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.4871, allocations: 89.03 kB / 0.5259 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4872, allocations: 4 kB / 0.5259 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4875, allocations: 15.98 kB / 0.526 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.4875, allocations: 16.05 kB / 0.526 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4876, allocations: 7.984 kB / 0.526 GB, free: 10.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.4876, allocations: 91.58 kB / 0.5261 GB, free: 10.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4876, allocations: 0 / 0.5261 GB, free: 10.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.4881, allocations: 127.7 kB / 0.5262 GB, free: 10.75 MB / 462.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.0006163/0.4887, allocations: 256.1 kB / 0.5264 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.4894, allocations: 236 kB / 0.5267 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4894, allocations: 0 / 0.5267 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.4898, allocations: 245.2 kB / 0.5269 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.4902, allocations: 52.25 kB / 0.5269 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.4911, allocations: 481.1 kB / 0.5274 GB, free: 9.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.4914, allocations: 0.7046 MB / 0.5281 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.4917, allocations: 57.33 kB / 0.5281 GB, free: 8.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4918, allocations: 23.42 kB / 0.5282 GB, free: 8.656 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4918, allocations: 0 / 0.5282 GB, free: 8.656 MB / 462.1 MB Notification: Performance of Templates: time 0.009689/0.5015, allocations: 6.268 MB / 0.5343 GB, free: 2.379 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches