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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.648/1.648, allocations: 205.4 MB / 224.2 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.0007621/0.000762, allocations: 82.36 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 20 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.564, allocations: 0.7181 GB / 1.086 GB, free: 50.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/1.564, allocations: 83.66 kB / 1.086 GB, free: 50.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06843/1.632, allocations: 33.84 MB / 1.119 GB, free: 16.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.632, allocations: 4 kB / 1.119 GB, free: 16.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/1.632, allocations: 0 / 1.119 GB, free: 16.45 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.0005278/1.633, allocations: 415.6 kB / 1.12 GB, free: 15.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.633, allocations: 12.03 kB / 1.12 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.635, allocations: 180.6 kB / 1.12 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/1.635, allocations: 212.2 kB / 1.12 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.635, allocations: 4.562 kB / 1.12 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/1.635, allocations: 8.375 kB / 1.12 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/1.635, allocations: 206 kB / 1.12 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.635, allocations: 4 kB / 1.12 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.635, allocations: 11.94 kB / 1.12 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.635, allocations: 0 / 1.12 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/1.636, allocations: 211.9 kB / 1.121 GB, free: 15.11 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.001223/1.637, allocations: 0.6267 MB / 1.121 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/1.637, allocations: 162.5 kB / 1.121 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/1.638, allocations: 88.81 kB / 1.121 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/1.638, allocations: 93.09 kB / 1.122 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.638, allocations: 30.56 kB / 1.122 GB, free: 14.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/1.638, allocations: 0 / 1.122 GB, free: 14.03 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.004966/1.643, allocations: 1.471 MB / 1.123 GB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/1.643, allocations: 59.41 kB / 1.123 GB, free: 12.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/1.643, allocations: 117.7 kB / 1.123 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.643, allocations: 25.7 kB / 1.123 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/1.643, allocations: 104.2 kB / 1.123 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/1.643, allocations: 59.11 kB / 1.123 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/1.643, allocations: 4 kB / 1.123 GB, free: 12.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.536e-05/1.643, allocations: 322.8 kB / 1.124 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.643, allocations: 83.95 kB / 1.124 GB, free: 11.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.643, allocations: 115.2 kB / 1.124 GB, free: 11.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/1.644, allocations: 211.2 kB / 1.124 GB, free: 11.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.644, allocations: 4 kB / 1.124 GB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004789/1.644, allocations: 262.2 kB / 1.124 GB, free: 11.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.644, allocations: 4 kB / 1.124 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.644, allocations: 4 kB / 1.124 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/1.644, allocations: 28.78 kB / 1.124 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/1.645, allocations: 59.89 kB / 1.124 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002406/1.645, allocations: 0.5328 MB / 1.125 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/1.645, allocations: 16.02 kB / 1.125 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/1.645, allocations: 8 kB / 1.125 GB, free: 10.35 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.0001067/1.645, allocations: 129.7 kB / 1.125 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/1.646, allocations: 7.906 kB / 1.125 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/1.646, allocations: 287.2 kB / 1.125 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.646, allocations: 0 / 1.125 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.646, allocations: 4 kB / 1.125 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.646, allocations: 4 kB / 1.125 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/1.647, allocations: 0.6576 MB / 1.126 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.647, allocations: 4 kB / 1.126 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/1.648, allocations: 47.91 kB / 1.126 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-05/1.648, allocations: 28.88 kB / 1.126 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.648, allocations: 15.92 kB / 1.126 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/1.648, allocations: 1.268 MB / 1.127 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.648, allocations: 0 / 1.127 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/1.649, allocations: 422.6 kB / 1.128 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/1.649, allocations: 97.11 kB / 1.128 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/1.649, allocations: 4 kB / 1.128 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/1.649, allocations: 8 kB / 1.128 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/1.649, allocations: 19.91 kB / 1.128 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.649, allocations: 11.98 kB / 1.128 GB, free: 7.086 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.342e-05/1.649, allocations: 87.28 kB / 1.128 GB, free: 7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.649, allocations: 0 / 1.128 GB, free: 7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006515/1.65, allocations: 167.9 kB / 1.128 GB, free: 6.836 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.001177/1.651, allocations: 0.6192 MB / 1.129 GB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005563/1.652, allocations: 211.8 kB / 1.129 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.652, allocations: 4 kB / 1.129 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/1.652, allocations: 222.5 kB / 1.129 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/1.653, allocations: 45.59 kB / 1.129 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008261/1.653, allocations: 0.5628 MB / 1.13 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/1.654, allocations: 0.7126 MB / 1.13 GB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003678/1.654, allocations: 49.33 kB / 1.13 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/1.654, allocations: 23.42 kB / 1.13 GB, free: 4.312 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/1.654, allocations: 3.938 kB / 1.13 GB, free: 4.309 MB / 426.7 MB Notification: Performance of Templates: time 0.1746/1.829, allocations: 11.98 MB / 1.142 GB, free: 137.9 MB / 426.7 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