Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 178.2 kB / 18.04 MB, free: 3.66 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.602/1.602, allocations: 205.4 MB / 224.2 MB, free: 8.996 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.0008504/0.0008503, allocations: 88.73 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 15.98 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3053, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.716, allocations: 0.7294 GB / 1.098 GB, free: 38.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.716, allocations: 79.95 kB / 1.098 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2989/2.015, allocations: 40.07 MB / 1.137 GB, free: 138.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/2.015, allocations: 0 / 1.137 GB, free: 138.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/2.015, allocations: 6.906 kB / 1.137 GB, free: 138.9 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000935/2.016, allocations: 0.5105 MB / 1.137 GB, free: 138.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/2.016, allocations: 10.22 kB / 1.137 GB, free: 138.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/2.019, allocations: 360.3 kB / 1.138 GB, free: 138.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/2.02, allocations: 263.1 kB / 1.138 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/2.02, allocations: 11.31 kB / 1.138 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/2.02, allocations: 23.53 kB / 1.138 GB, free: 138.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009713/2.021, allocations: 497.7 kB / 1.138 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/2.021, allocations: 192 / 1.138 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.019e-05/2.021, allocations: 14.58 kB / 1.138 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/2.021, allocations: 3.875 kB / 1.138 GB, free: 138.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/2.022, allocations: 0.5095 MB / 1.139 GB, free: 138.2 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.002278/2.024, allocations: 0.9739 MB / 1.14 GB, free: 137.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/2.025, allocations: 287.6 kB / 1.14 GB, free: 137.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/2.025, allocations: 150.6 kB / 1.14 GB, free: 137.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/2.027, allocations: 0.8702 MB / 1.141 GB, free: 137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/2.027, allocations: 41.72 kB / 1.141 GB, free: 136.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.886e-06/2.027, allocations: 0 / 1.141 GB, free: 136.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008983/2.028, allocations: 401.5 kB / 1.142 GB, free: 136.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/2.028, allocations: 83.33 kB / 1.142 GB, free: 136.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/2.028, allocations: 109.9 kB / 1.142 GB, free: 136.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/2.028, allocations: 42.11 kB / 1.142 GB, free: 136.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/2.028, allocations: 105.2 kB / 1.142 GB, free: 136.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/2.028, allocations: 112.2 kB / 1.142 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/2.028, allocations: 9.062 kB / 1.142 GB, free: 136.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/2.028, allocations: 321.2 kB / 1.142 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/2.028, allocations: 117.3 kB / 1.142 GB, free: 136.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/2.029, allocations: 206.5 kB / 1.143 GB, free: 136.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/2.029, allocations: 327.3 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/2.029, allocations: 3.406 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006796/2.03, allocations: 373.6 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.03, allocations: 7.719 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.03, allocations: 8.266 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/2.03, allocations: 10.16 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/2.03, allocations: 72.72 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/2.03, allocations: 7.766 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/2.031, allocations: 38.31 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/2.031, allocations: 16.5 kB / 1.143 GB, free: 136 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/2.031, allocations: 141.7 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/2.031, allocations: 15.12 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008/2.032, allocations: 373.4 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/2.032, allocations: 5.656 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/2.032, allocations: 0.6562 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/2.032, allocations: 4.078 kB / 1.144 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/2.032, allocations: 369.7 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.032, allocations: 3.188 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/2.033, allocations: 58.69 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/2.033, allocations: 5.844 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/2.033, allocations: 10.03 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/2.033, allocations: 1.375 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.033, allocations: 4.531 kB / 1.144 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/2.034, allocations: 0.5523 MB / 1.145 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/2.034, allocations: 97.73 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/2.034, allocations: 8.703 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/2.034, allocations: 17.64 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/2.034, allocations: 20.47 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/2.034, allocations: 22.17 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.898e-05/2.035, allocations: 87.58 kB / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/2.035, allocations: 0 / 1.145 GB, free: 135.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001163/2.036, allocations: 270.9 kB / 1.145 GB, free: 135.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/2.038, allocations: 0.7444 MB / 1.146 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006992/2.038, allocations: 294.3 kB / 1.146 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.038, allocations: 7.875 kB / 1.146 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/2.039, allocations: 146.5 kB / 1.147 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/2.039, allocations: 86.69 kB / 1.147 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/2.041, allocations: 0.9042 MB / 1.148 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/2.041, allocations: 0.7309 MB / 1.148 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005433/2.042, allocations: 85.39 kB / 1.148 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/2.042, allocations: 32.09 kB / 1.148 GB, free: 133.9 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/2.042, allocations: 4 kB / 1.148 GB, free: 133.9 MB / 426.7 MB Notification: Performance of Templates: time 0.02377/2.066, allocations: 14.53 MB / 1.163 GB, free: 132.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches