Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001373, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.779/1.779, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001156/0.001156, allocations: 98.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2389/0.2389, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.242/2.401, allocations: 0.7642 GB / 1.243 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.402, allocations: 75.95 kB / 1.243 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/2.522, allocations: 62.01 MB / 1.304 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.537e-06/2.522, allocations: 3.938 kB / 1.304 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.393e-05/2.522, allocations: 4 kB / 1.304 GB, free: 18.51 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007928/2.523, allocations: 479.4 kB / 1.304 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/2.523, allocations: 11.97 kB / 1.304 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/2.528, allocations: 0.6985 MB / 1.305 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/2.529, allocations: 286.6 kB / 1.305 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/2.529, allocations: 12.33 kB / 1.305 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/2.529, allocations: 23.95 kB / 1.305 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/2.53, allocations: 0.6994 MB / 1.306 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/2.53, allocations: 4 kB / 1.306 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/2.531, allocations: 8 kB / 1.306 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/2.531, allocations: 8 kB / 1.306 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/2.532, allocations: 0.7612 MB / 1.307 GB, free: 15.43 MB / 0.5105 GB 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.00284/2.535, allocations: 1.229 MB / 1.308 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/2.536, allocations: 320.8 kB / 1.308 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000547/2.536, allocations: 250.2 kB / 1.308 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/2.536, allocations: 38.56 kB / 1.308 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/2.536, allocations: 4 kB / 1.308 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001216/2.537, allocations: 0.5472 MB / 1.309 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/2.537, allocations: 77.11 kB / 1.309 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/2.538, allocations: 119 kB / 1.309 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/2.538, allocations: 33.7 kB / 1.309 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/2.538, allocations: 116.2 kB / 1.309 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/2.538, allocations: 98.64 kB / 1.309 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/2.538, allocations: 4 kB / 1.309 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/2.538, allocations: 326.8 kB / 1.31 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/2.538, allocations: 183.9 kB / 1.31 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/2.539, allocations: 284.2 kB / 1.31 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/2.539, allocations: 211.9 kB / 1.31 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/2.539, allocations: 3.953 kB / 1.31 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008651/2.54, allocations: 0.5154 MB / 1.311 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/2.54, allocations: 4 kB / 1.311 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.54, allocations: 4.406 kB / 1.311 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/2.54, allocations: 12 kB / 1.311 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/2.54, allocations: 75.89 kB / 1.311 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/2.54, allocations: 11.98 kB / 1.311 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/2.541, allocations: 39.67 kB / 1.311 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/2.541, allocations: 23.98 kB / 1.311 GB, free: 10.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (38): * Single equations (assignments): 38 * 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.0001458/2.541, allocations: 149.7 kB / 1.311 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/2.541, allocations: 19.86 kB / 1.311 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009865/2.542, allocations: 494.3 kB / 1.312 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/2.542, allocations: 0 / 1.312 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/2.542, allocations: 4 kB / 1.312 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/2.542, allocations: 0 / 1.312 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/2.543, allocations: 0.4988 MB / 1.312 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/2.543, allocations: 0 / 1.312 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/2.543, allocations: 59.95 kB / 1.312 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/2.543, allocations: 0 / 1.312 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/2.543, allocations: 15.92 kB / 1.312 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/2.543, allocations: 4 kB / 1.312 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/2.543, allocations: 0 / 1.312 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/2.544, allocations: 0.6732 MB / 1.313 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/2.544, allocations: 100.9 kB / 1.313 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/2.545, allocations: 7.984 kB / 1.313 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/2.545, allocations: 23.92 kB / 1.313 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/2.545, allocations: 15.98 kB / 1.313 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/2.545, allocations: 23.91 kB / 1.313 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.142e-05/2.545, allocations: 99.27 kB / 1.313 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.545, allocations: 0 / 1.313 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009666/2.546, allocations: 215.8 kB / 1.313 GB, free: 8.234 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.00119/2.547, allocations: 0.7216 MB / 1.314 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007576/2.548, allocations: 423.8 kB / 1.314 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.548, allocations: 0 / 1.314 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/2.548, allocations: 215.1 kB / 1.315 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/2.549, allocations: 84.61 kB / 1.315 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/2.55, allocations: 1.07 MB / 1.316 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/2.55, allocations: 0.7367 MB / 1.316 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007295/2.551, allocations: 113.7 kB / 1.316 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/2.551, allocations: 35.41 kB / 1.317 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/2.551, allocations: 0 / 1.317 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of Templates: time 0.2678/2.819, allocations: 14.48 MB / 1.331 GB, free: 168.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches