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.0009306/0.0009308, allocations: 180.4 kB / 17.41 MB, free: 4.387 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.396/1.396, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007845/0.0007845, allocations: 89.41 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2352, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.638, allocations: 0.7181 GB / 1.085 GB, free: 50.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.639, allocations: 79.28 kB / 1.085 GB, free: 50.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06742/1.706, allocations: 33.83 MB / 1.118 GB, free: 16.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.706, allocations: 4 kB / 1.118 GB, free: 16.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/1.706, allocations: 0 / 1.118 GB, free: 16.51 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.0005301/1.707, allocations: 411.6 kB / 1.118 GB, free: 16.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.707, allocations: 12.03 kB / 1.119 GB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/1.708, allocations: 192.6 kB / 1.119 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/1.709, allocations: 212.2 kB / 1.119 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.709, allocations: 8.562 kB / 1.119 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/1.709, allocations: 8.375 kB / 1.119 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/1.709, allocations: 202.6 kB / 1.119 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.709, allocations: 0 / 1.119 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/1.709, allocations: 11.94 kB / 1.119 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.709, allocations: 0 / 1.119 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/1.71, allocations: 215.4 kB / 1.119 GB, free: 15.18 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.001239/1.711, allocations: 0.6267 MB / 1.12 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/1.711, allocations: 166.5 kB / 1.12 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.711, allocations: 84.45 kB / 1.12 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.712, allocations: 89.09 kB / 1.12 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/1.712, allocations: 42.55 kB / 1.12 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/1.712, allocations: 0 / 1.12 GB, free: 14.09 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.004861/1.717, allocations: 1.463 MB / 1.122 GB, free: 12.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.717, allocations: 59.34 kB / 1.122 GB, free: 12.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/1.717, allocations: 109.8 kB / 1.122 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/1.717, allocations: 33.7 kB / 1.122 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/1.717, allocations: 104.2 kB / 1.122 GB, free: 12.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.717, allocations: 67.08 kB / 1.122 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/1.717, allocations: 4 kB / 1.122 GB, free: 12.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/1.717, allocations: 318.8 kB / 1.122 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/1.717, allocations: 79.95 kB / 1.122 GB, free: 11.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/1.717, allocations: 121.7 kB / 1.123 GB, free: 11.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.718, allocations: 203.3 kB / 1.123 GB, free: 11.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.718, allocations: 4 kB / 1.123 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000481/1.718, allocations: 266.1 kB / 1.123 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.718, allocations: 8 kB / 1.123 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.718, allocations: 0 / 1.123 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/1.718, allocations: 36.81 kB / 1.123 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.719, allocations: 51.95 kB / 1.123 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002601/1.719, allocations: 0.5327 MB / 1.124 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.719, allocations: 16.02 kB / 1.124 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.719, allocations: 4 kB / 1.124 GB, free: 10.41 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.0001335/1.719, allocations: 133.8 kB / 1.124 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/1.719, allocations: 11.89 kB / 1.124 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/1.72, allocations: 283.2 kB / 1.124 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.72, allocations: 3.984 kB / 1.124 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.72, allocations: 0 / 1.124 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.72, allocations: 0 / 1.124 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/1.721, allocations: 0.663 MB / 1.125 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.721, allocations: 4 kB / 1.125 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/1.721, allocations: 55.89 kB / 1.125 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-05/1.721, allocations: 24.78 kB / 1.125 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.722, allocations: 7.938 kB / 1.125 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/1.722, allocations: 1.265 MB / 1.126 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.722, allocations: 0 / 1.126 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/1.723, allocations: 437.3 kB / 1.126 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.449e-05/1.723, allocations: 88.95 kB / 1.127 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/1.723, allocations: 8 kB / 1.127 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/1.723, allocations: 7.984 kB / 1.127 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/1.723, allocations: 23.98 kB / 1.127 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.723, allocations: 11.98 kB / 1.127 GB, free: 7.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.508e-05/1.723, allocations: 87.27 kB / 1.127 GB, free: 7.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.723, allocations: 0 / 1.127 GB, free: 7.059 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007227/1.724, allocations: 163.9 kB / 1.127 GB, free: 6.898 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.001083/1.725, allocations: 0.6234 MB / 1.127 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/1.726, allocations: 211.8 kB / 1.128 GB, free: 6.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.726, allocations: 4 kB / 1.128 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/1.726, allocations: 226.7 kB / 1.128 GB, free: 5.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/1.726, allocations: 41.38 kB / 1.128 GB, free: 5.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/1.727, allocations: 0.5842 MB / 1.128 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/1.727, allocations: 0.7126 MB / 1.129 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.727, allocations: 39.36 kB / 1.129 GB, free: 4.375 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/1.727, allocations: 0 / 1.129 GB, free: 4.375 MB / 426.7 MB Notification: Performance of Templates: time 0.181/1.909, allocations: 7.055 MB / 1.136 GB, free: 137.8 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