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.001125/0.001125, allocations: 110.2 kB / 18.25 MB, free: 4.77 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.001198/0.001198, allocations: 195.3 kB / 19.18 MB, free: 3.844 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.461/1.461, allocations: 205.1 MB / 225 MB, free: 12.3 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.001387/0.001387, allocations: 48.16 kB / 281.3 MB, free: 3.199 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09647, allocations: 46.63 MB / 327.9 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3452/0.4418, allocations: 150.8 MB / 478.8 MB, free: 304 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.4437, allocations: 1.493 MB / 480.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.4438, allocations: 0 / 480.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.4442, allocations: 58.72 kB / 480.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.4451, allocations: 378.2 kB / 480.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.4456, allocations: 167.4 kB / 480.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.4458, allocations: 187.2 kB / 481.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.4459, allocations: 8 kB / 481.1 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.446, allocations: 71.75 kB / 481.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.4462, allocations: 59.7 kB / 481.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.4462, allocations: 12 kB / 481.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4472, allocations: 0.5691 MB / 481.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.4473, allocations: 35.89 kB / 481.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.4474, allocations: 45.48 kB / 481.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.448, allocations: 396.6 kB / 482.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.448, allocations: 4 kB / 482.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.448, allocations: 0 / 482.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.448, allocations: 0 / 482.2 MB, free: 12.85 MB / 382.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.0005705/0.4486, allocations: 424.1 kB / 482.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4487, allocations: 8.031 kB / 482.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.4511, allocations: 201 kB / 482.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4513, allocations: 205.1 kB / 483.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4513, allocations: 16.25 kB / 483.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.4514, allocations: 12 kB / 483.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.4519, allocations: 205.5 kB / 483.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4519, allocations: 0 / 483.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.452, allocations: 8 kB / 483.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.452, allocations: 0 / 483.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.4526, allocations: 239.8 kB / 483.5 MB, free: 11.47 MB / 382.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.001887/0.4545, allocations: 0.6797 MB / 484.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.455, allocations: 190.3 kB / 484.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.4552, allocations: 88.83 kB / 484.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.4554, allocations: 93.09 kB / 484.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4554, allocations: 38.55 kB / 484.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.4555, allocations: 0 / 484.6 MB, free: 10.3 MB / 382.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.006263/0.4617, allocations: 1.533 MB / 486.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4618, allocations: 55.41 kB / 486.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.4619, allocations: 109.8 kB / 486.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.4619, allocations: 29.7 kB / 486.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.462, allocations: 108.1 kB / 486.4 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.4621, allocations: 67.09 kB / 486.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/0.4622, allocations: 45.56 kB / 486.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4623, allocations: 322.8 kB / 486.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4625, allocations: 87.95 kB / 486.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.4628, allocations: 119.4 kB / 487.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.4633, allocations: 231.3 kB / 487.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4633, allocations: 0 / 487.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006817/0.464, allocations: 294 kB / 487.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.464, allocations: 4 kB / 487.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4641, allocations: 0 / 487.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.4642, allocations: 24.84 kB / 487.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.4647, allocations: 59.89 kB / 487.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003916/0.4651, allocations: 0.5329 MB / 488.2 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4655, allocations: 12.02 kB / 488.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.4655, allocations: 12 kB / 488.2 MB, free: 6.465 MB / 382.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.000136/0.4657, allocations: 133.7 kB / 488.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.4658, allocations: 7.906 kB / 488.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/0.4666, allocations: 319.6 kB / 488.7 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4666, allocations: 4 kB / 488.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4666, allocations: 7.922 kB / 488.7 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4666, allocations: 0 / 488.7 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.4678, allocations: 0.6718 MB / 489.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4678, allocations: 0 / 489.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.4683, allocations: 47.95 kB / 489.4 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-05/0.4684, allocations: 28.88 kB / 489.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4685, allocations: 11.98 kB / 489.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009887/0.4695, allocations: 1.364 MB / 490.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4695, allocations: 4.031 kB / 490.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.4704, allocations: 454 kB / 491.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.4704, allocations: 88.94 kB / 491.3 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.4705, allocations: 11.88 kB / 491.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.4709, allocations: 12.86 kB / 491.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.4709, allocations: 20.05 kB / 491.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.471, allocations: 11.98 kB / 491.4 MB, free: 3.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.471, allocations: 87.28 kB / 491.5 MB, free: 2.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.471, allocations: 0 / 491.5 MB, free: 2.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005638/0.4716, allocations: 127.9 kB / 491.6 MB, free: 2.809 MB / 382.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.0007146/0.4723, allocations: 251 kB / 491.9 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.473, allocations: 243.9 kB / 492.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.473, allocations: 0 / 492.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.4735, allocations: 234.5 kB / 492.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.474, allocations: 49.62 kB / 492.4 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.4749, allocations: 0.5045 MB / 492.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4752, allocations: 0.7123 MB / 493.6 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.4754, allocations: 23.42 kB / 493.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4754, allocations: 0 / 493.6 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of Templates: time 0.008088/0.4835, allocations: 5.146 MB / 498.8 MB, free: 11.56 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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