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.001115/0.001116, allocations: 180 kB / 17.01 MB, free: 5.125 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.823/1.823, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.001142/0.001142, allocations: 100.8 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3219, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.813/2.135, allocations: 0.7179 GB / 1.085 GB, free: 34.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/2.135, allocations: 75.03 kB / 1.085 GB, free: 34.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06869/2.204, allocations: 33.85 MB / 1.118 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.346e-06/2.204, allocations: 0 / 1.118 GB, free: 5.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/2.204, allocations: 4 kB / 1.118 GB, free: 5.953 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.0005815/2.205, allocations: 410.9 kB / 1.118 GB, free: 5.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/2.205, allocations: 12.03 kB / 1.118 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/2.206, allocations: 185 kB / 1.119 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/2.207, allocations: 209.1 kB / 1.119 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/2.207, allocations: 8.281 kB / 1.119 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/2.207, allocations: 10.94 kB / 1.119 GB, free: 5.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/2.207, allocations: 205 kB / 1.119 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/2.207, allocations: 4 kB / 1.119 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/2.207, allocations: 2.125 kB / 1.119 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/2.207, allocations: 0 / 1.119 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/2.208, allocations: 222.7 kB / 1.119 GB, free: 4.793 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.001294/2.209, allocations: 0.6228 MB / 1.12 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/2.209, allocations: 166.4 kB / 1.12 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/2.21, allocations: 89.09 kB / 1.12 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/2.21, allocations: 37.12 kB / 1.12 GB, free: 3.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/2.21, allocations: 0 / 1.12 GB, free: 3.957 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.00532/2.215, allocations: 1.465 MB / 1.122 GB, free: 2.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/2.215, allocations: 55.41 kB / 1.122 GB, free: 2.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/2.215, allocations: 110 kB / 1.122 GB, free: 2.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/2.215, allocations: 31.89 kB / 1.122 GB, free: 2.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/2.215, allocations: 94.78 kB / 1.122 GB, free: 2.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/2.215, allocations: 68.69 kB / 1.122 GB, free: 2.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/2.215, allocations: 3.188 kB / 1.122 GB, free: 2.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/2.215, allocations: 325.6 kB / 1.122 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/2.215, allocations: 83.64 kB / 1.122 GB, free: 1.906 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/2.216, allocations: 114.3 kB / 1.122 GB, free: 1.816 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/2.216, allocations: 95.11 kB / 1.123 GB, free: 1.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/2.216, allocations: 3.938 kB / 1.123 GB, free: 1.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004949/2.216, allocations: 276.4 kB / 1.123 GB, free: 1.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/2.216, allocations: 4 kB / 1.123 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/2.216, allocations: 8 kB / 1.123 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/2.217, allocations: 19.28 kB / 1.123 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/2.217, allocations: 55.22 kB / 1.123 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002826/2.217, allocations: 0.5426 MB / 1.123 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/2.217, allocations: 7.406 kB / 1.123 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/2.217, allocations: 15.11 kB / 1.123 GB, free: 0.8984 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.0001181/2.218, allocations: 129.1 kB / 1.124 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/2.218, allocations: 11.91 kB / 1.124 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/2.218, allocations: 289.8 kB / 1.124 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/2.218, allocations: 4 kB / 1.124 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/2.218, allocations: 4 kB / 1.124 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/2.218, allocations: 0 / 1.124 GB, free: 492 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2721/2.49, allocations: 0.6519 MB / 1.124 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/2.491, allocations: 0 / 1.124 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/2.491, allocations: 51.92 kB / 1.125 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/2.491, allocations: 27.56 kB / 1.125 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/2.491, allocations: 7.219 kB / 1.125 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/2.492, allocations: 1.263 MB / 1.126 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/2.492, allocations: 3.406 kB / 1.126 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/2.494, allocations: 469.3 kB / 1.126 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/2.494, allocations: 84.23 kB / 1.126 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/2.494, allocations: 6.469 kB / 1.126 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/2.494, allocations: 12 kB / 1.126 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/2.494, allocations: 20.89 kB / 1.126 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/2.494, allocations: 14.27 kB / 1.126 GB, free: 137.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.688e-05/2.495, allocations: 87.06 kB / 1.126 GB, free: 137.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.495, allocations: 0 / 1.126 GB, free: 137.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001398/2.496, allocations: 159.2 kB / 1.127 GB, free: 137.8 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.00238/2.498, allocations: 0.6179 MB / 1.127 GB, free: 137.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/2.499, allocations: 213.9 kB / 1.127 GB, free: 137.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/2.499, allocations: 0 / 1.127 GB, free: 137.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/2.5, allocations: 230.4 kB / 1.128 GB, free: 137.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/2.5, allocations: 51.08 kB / 1.128 GB, free: 137.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/2.502, allocations: 0.5593 MB / 1.128 GB, free: 137.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/2.502, allocations: 0.7117 MB / 1.129 GB, free: 136.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000576/2.503, allocations: 52.84 kB / 1.129 GB, free: 136.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/2.503, allocations: 23.03 kB / 1.129 GB, free: 136.7 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/2.503, allocations: 0 / 1.129 GB, free: 136.7 MB / 426.7 MB Notification: Performance of Templates: time 0.02384/2.527, allocations: 11.35 MB / 1.14 GB, free: 136 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/jenkins/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