Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.4 MB / 236 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008578, allocations: 95.78 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.315e-05, allocations: 8.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 61.9 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.926/2.074, allocations: 0.7325 GB / 1.234 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/2.075, allocations: 71.97 kB / 1.234 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1128/2.188, allocations: 63.56 MB / 1.296 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.492e-06/2.188, allocations: 0 / 1.296 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.242e-05/2.188, allocations: 0 / 1.296 GB, free: 45.29 MB / 0.5261 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.0005933/2.188, allocations: 478.5 kB / 1.297 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/2.188, allocations: 8.031 kB / 1.297 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/2.193, allocations: 0.718 MB / 1.297 GB, free: 44.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/2.194, allocations: 286.7 kB / 1.298 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/2.194, allocations: 12.33 kB / 1.298 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/2.194, allocations: 20 kB / 1.298 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/2.195, allocations: 0.6373 MB / 1.298 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/2.195, allocations: 0 / 1.298 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/2.195, allocations: 15.95 kB / 1.298 GB, free: 43.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/2.195, allocations: 8 kB / 1.298 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/2.196, allocations: 0.7027 MB / 1.299 GB, free: 42.32 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.002259/2.198, allocations: 1.21 MB / 1.3 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/2.199, allocations: 289.1 kB / 1.301 GB, free: 40.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/2.199, allocations: 185.7 kB / 1.301 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/2.2, allocations: 371.3 kB / 1.301 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/2.2, allocations: 34.56 kB / 1.301 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/2.2, allocations: 8 kB / 1.301 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.0006651/2.2, allocations: 366.6 kB / 1.301 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/2.201, allocations: 85.11 kB / 1.302 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/2.201, allocations: 125.9 kB / 1.302 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/2.201, allocations: 25.7 kB / 1.302 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/2.201, allocations: 120.3 kB / 1.302 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/2.201, allocations: 94.55 kB / 1.302 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/2.201, allocations: 8 kB / 1.302 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/2.201, allocations: 334.8 kB / 1.302 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/2.201, allocations: 164 kB / 1.302 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/2.201, allocations: 260.8 kB / 1.303 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/2.202, allocations: 197.2 kB / 1.303 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.202, allocations: 0 / 1.303 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006688/2.202, allocations: 482.8 kB / 1.303 GB, free: 37.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/2.202, allocations: 16.02 kB / 1.303 GB, free: 37.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/2.202, allocations: 0 / 1.303 GB, free: 37.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/2.202, allocations: 8 kB / 1.303 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/2.203, allocations: 79.88 kB / 1.303 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/2.203, allocations: 15.94 kB / 1.303 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/2.203, allocations: 35.73 kB / 1.303 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/2.203, allocations: 19.98 kB / 1.303 GB, free: 37.61 MB / 0.5261 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 () * 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 9.791e-05/2.203, allocations: 128.9 kB / 1.304 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/2.204, allocations: 11.91 kB / 1.304 GB, free: 37.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/2.204, allocations: 463.1 kB / 1.304 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/2.204, allocations: 4 kB / 1.304 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/2.204, allocations: 0 / 1.304 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.204, allocations: 0 / 1.304 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/2.205, allocations: 0.5009 MB / 1.305 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/2.205, allocations: 4 kB / 1.305 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/2.205, allocations: 59.89 kB / 1.305 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/2.205, allocations: 7.891 kB / 1.305 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/2.205, allocations: 11.98 kB / 1.305 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/2.205, allocations: 4 kB / 1.305 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/2.205, allocations: 0 / 1.305 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/2.206, allocations: 0.6342 MB / 1.305 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/2.206, allocations: 96.94 kB / 1.305 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/2.206, allocations: 4 kB / 1.305 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/2.207, allocations: 23.92 kB / 1.305 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/2.207, allocations: 19.88 kB / 1.305 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/2.207, allocations: 19.98 kB / 1.305 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.243e-05/2.207, allocations: 103.6 kB / 1.305 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.207, allocations: 4 kB / 1.305 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009002/2.208, allocations: 208 kB / 1.306 GB, free: 35.21 MB / 0.5261 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 () * 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.001092/2.209, allocations: 0.7296 MB / 1.306 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005285/2.209, allocations: 400.6 kB / 1.307 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.209, allocations: 0.8125 kB / 1.307 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002303/2.21, allocations: 191.8 kB / 1.307 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/2.21, allocations: 97.05 kB / 1.307 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/2.211, allocations: 0.777 MB / 1.308 GB, free: 33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/2.211, allocations: 0.7484 MB / 1.309 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006499/2.212, allocations: 105.8 kB / 1.309 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/2.212, allocations: 27.42 kB / 1.309 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/2.212, allocations: 0 / 1.309 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.01785/2.23, allocations: 16.24 MB / 1.325 GB, free: 15.89 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches