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.001047/0.001047, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.001023/0.001023, allocations: 197.8 kB / 18.86 MB, free: 4.625 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.342/1.342, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001206/0.001206, allocations: 56.25 kB / 280.8 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1013, allocations: 46.63 MB / 327.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3622/0.4635, allocations: 148.7 MB / 476.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4653, allocations: 1.489 MB / 477.7 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.4654, allocations: 0 / 477.7 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.4658, allocations: 48.91 kB / 477.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009886/0.4668, allocations: 354.5 kB / 478 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.4673, allocations: 151.6 kB / 478.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.4676, allocations: 190.2 kB / 478.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.4677, allocations: 4 kB / 478.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.4678, allocations: 83.69 kB / 478.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.468, allocations: 59.77 kB / 478.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.468, allocations: 4 kB / 478.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.469, allocations: 0.6002 MB / 479.1 MB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.4691, allocations: 27.98 kB / 479.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.4692, allocations: 59.7 kB / 479.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.4696, allocations: 277.1 kB / 479.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4696, allocations: 0 / 479.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4696, allocations: 0 / 479.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.4697, allocations: 0 / 479.5 MB, free: 15.66 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.000574/0.4702, allocations: 424.1 kB / 479.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4703, allocations: 11.97 kB / 479.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.4725, allocations: 205 kB / 480.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.4728, allocations: 208.2 kB / 480.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4728, allocations: 8.312 kB / 480.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.4729, allocations: 11.98 kB / 480.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.4734, allocations: 205.5 kB / 480.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4734, allocations: 3.938 kB / 480.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.4735, allocations: 0 / 480.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4735, allocations: 4 kB / 480.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.4741, allocations: 247.8 kB / 480.8 MB, free: 14.27 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.001795/0.4759, allocations: 0.6563 MB / 481.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.4763, allocations: 194.4 kB / 481.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.4765, allocations: 88.81 kB / 481.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.4767, allocations: 89.34 kB / 481.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4768, allocations: 42.55 kB / 481.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.4768, allocations: 0 / 481.8 MB, free: 13.11 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.00567/0.4825, allocations: 1.544 MB / 483.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4825, allocations: 51.41 kB / 483.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.4826, allocations: 113.8 kB / 483.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4827, allocations: 29.7 kB / 483.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.4827, allocations: 104.2 kB / 483.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.4828, allocations: 67.08 kB / 483.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.4829, allocations: 45.56 kB / 483.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.483, allocations: 326.8 kB / 484.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.4832, allocations: 91.95 kB / 484.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.4835, allocations: 119.4 kB / 484.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.4839, allocations: 227.3 kB / 484.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4839, allocations: 4 kB / 484.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006647/0.4846, allocations: 286 kB / 484.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4846, allocations: 8 kB / 484.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4846, allocations: 4.094 kB / 484.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.4848, allocations: 24.84 kB / 484.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.4852, allocations: 55.89 kB / 484.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.4856, allocations: 0.529 MB / 485.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.4859, allocations: 20.05 kB / 485.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.486, allocations: 11.98 kB / 485.5 MB, free: 9.266 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.0001418/0.4861, allocations: 125.7 kB / 485.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.4862, allocations: 15.89 kB / 485.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.487, allocations: 315.2 kB / 485.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.487, allocations: 4 kB / 485.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.487, allocations: 7.922 kB / 485.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.487, allocations: 0 / 485.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.4882, allocations: 0.679 MB / 486.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4882, allocations: 0 / 486.6 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.4886, allocations: 47.95 kB / 486.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.4887, allocations: 20.84 kB / 486.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4887, allocations: 7.984 kB / 486.7 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009418/0.4897, allocations: 1.37 MB / 488.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4897, allocations: 8.016 kB / 488.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.4905, allocations: 446.6 kB / 488.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4906, allocations: 88.98 kB / 488.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4906, allocations: 11.94 kB / 488.6 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.491, allocations: 11.98 kB / 488.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.491, allocations: 11.98 kB / 488.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.4911, allocations: 15.98 kB / 488.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.4911, allocations: 91.28 kB / 488.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4911, allocations: 0 / 488.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.4917, allocations: 131.9 kB / 488.9 MB, free: 5.613 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.0006815/0.4924, allocations: 247 kB / 489.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006314/0.493, allocations: 243.7 kB / 489.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.493, allocations: 0 / 489.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.4934, allocations: 234.7 kB / 489.6 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.4939, allocations: 52.38 kB / 489.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.4948, allocations: 0.5496 MB / 490.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.4951, allocations: 0.7085 MB / 490.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4953, allocations: 27.42 kB / 490.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4953, allocations: 0 / 490.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of Templates: time 0.007667/0.503, allocations: 5.138 MB / 496 MB, free: 14.33 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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches