Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001495, allocations: 186.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.051/2.39, allocations: 0.7179 GB / 1.084 GB, free: 34.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/2.39, allocations: 81.47 kB / 1.084 GB, free: 34.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.116/2.506, allocations: 33.85 MB / 1.117 GB, free: 5.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.506, allocations: 0 / 1.117 GB, free: 5.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/2.506, allocations: 0 / 1.117 GB, free: 5.746 MB / 426.7 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.0005774/2.507, allocations: 418.8 kB / 1.117 GB, free: 5.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/2.507, allocations: 8.031 kB / 1.117 GB, free: 5.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/2.51, allocations: 185.8 kB / 1.117 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/2.51, allocations: 205 kB / 1.118 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/2.51, allocations: 12.22 kB / 1.118 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/2.51, allocations: 15.19 kB / 1.118 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/2.511, allocations: 206.3 kB / 1.118 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/2.511, allocations: 0 / 1.118 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/2.511, allocations: 0 / 1.118 GB, free: 4.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/2.511, allocations: 4 kB / 1.118 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/2.512, allocations: 219.9 kB / 1.118 GB, free: 4.582 MB / 426.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.002043/2.514, allocations: 0.6242 MB / 1.119 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/2.515, allocations: 163.9 kB / 1.119 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/2.515, allocations: 91.59 kB / 1.119 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/2.515, allocations: 38.5 kB / 1.119 GB, free: 3.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/2.515, allocations: 0 / 1.119 GB, free: 3.746 MB / 426.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009153/2.524, allocations: 1.467 MB / 1.12 GB, free: 2.438 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/2.524, allocations: 51.41 kB / 1.12 GB, free: 2.375 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/2.524, allocations: 111.3 kB / 1.121 GB, free: 2.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/2.524, allocations: 31.08 kB / 1.121 GB, free: 2.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/2.524, allocations: 162.8 kB / 1.121 GB, free: 2.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/2.524, allocations: 72.23 kB / 1.121 GB, free: 2.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/2.524, allocations: 2.625 kB / 1.121 GB, free: 2.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/2.525, allocations: 323.8 kB / 1.121 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/2.525, allocations: 78.28 kB / 1.121 GB, free: 1.637 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/2.525, allocations: 118.5 kB / 1.121 GB, free: 1.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/2.526, allocations: 96.17 kB / 1.121 GB, free: 1.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.526, allocations: 7.938 kB / 1.121 GB, free: 1.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009653/2.527, allocations: 261.7 kB / 1.122 GB, free: 1.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/2.527, allocations: 7.594 kB / 1.122 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/2.527, allocations: 4 kB / 1.122 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/2.527, allocations: 24.14 kB / 1.122 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/2.527, allocations: 55.09 kB / 1.122 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/2.528, allocations: 0.5388 MB / 1.122 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/2.528, allocations: 9.094 kB / 1.122 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/2.528, allocations: 8 kB / 1.122 GB, free: 0.6406 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.528, allocations: 139.5 kB / 1.122 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/2.528, allocations: 11.81 kB / 1.122 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/2.53, allocations: 291.3 kB / 1.123 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/2.53, allocations: 8 kB / 1.123 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/2.53, allocations: 0 / 1.123 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.53, allocations: 3.984 kB / 1.123 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2739/2.804, allocations: 0.6483 MB / 1.123 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.804, allocations: 0 / 1.123 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/2.804, allocations: 49.12 kB / 1.123 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/2.804, allocations: 26.89 kB / 1.123 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/2.804, allocations: 6.75 kB / 1.123 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009408/2.805, allocations: 1.271 MB / 1.125 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.805, allocations: 5.672 kB / 1.125 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/2.807, allocations: 464.1 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/2.807, allocations: 90.94 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/2.807, allocations: 4.406 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/2.807, allocations: 12.06 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/2.808, allocations: 15.72 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/2.808, allocations: 10.16 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.513e-05/2.808, allocations: 88.33 kB / 1.125 GB, free: 137.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.808, allocations: 2.125 kB / 1.125 GB, free: 137.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009885/2.809, allocations: 161.5 kB / 1.125 GB, free: 137.4 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/2.81, allocations: 0.6231 MB / 1.126 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/2.812, allocations: 214.9 kB / 1.126 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.812, allocations: 1.312 kB / 1.126 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/2.812, allocations: 227.6 kB / 1.126 GB, free: 137.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/2.813, allocations: 42.34 kB / 1.127 GB, free: 137.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/2.814, allocations: 0.5887 MB / 1.127 GB, free: 136.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/2.814, allocations: 0.7099 MB / 1.128 GB, free: 136.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/2.815, allocations: 24.02 kB / 1.128 GB, free: 136.2 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/2.815, allocations: 1.062 kB / 1.128 GB, free: 136.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01729/2.832, allocations: 7.468 MB / 1.135 GB, free: 135.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches