Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 90.56 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.714e-05, allocations: 10.33 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 63.24 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.574/1.697, allocations: 0.7335 GB / 1.245 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/1.697, allocations: 75.95 kB / 1.245 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1119/1.809, allocations: 63.58 MB / 1.307 GB, free: 94.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.202e-06/1.809, allocations: 0 / 1.307 GB, free: 94.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.068e-05/1.809, allocations: 4 kB / 1.307 GB, free: 94.75 MB / 0.5417 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.0005493/1.809, allocations: 476.9 kB / 1.307 GB, free: 94.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/1.809, allocations: 15.97 kB / 1.307 GB, free: 94.22 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/1.815, allocations: 0.7141 MB / 1.308 GB, free: 93.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/1.815, allocations: 282.7 kB / 1.308 GB, free: 93.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.815, allocations: 16.28 kB / 1.308 GB, free: 93.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.815, allocations: 20 kB / 1.308 GB, free: 93.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/1.816, allocations: 0.6527 MB / 1.309 GB, free: 92.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.816, allocations: 0 / 1.309 GB, free: 92.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/1.816, allocations: 4 kB / 1.309 GB, free: 92.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.816, allocations: 8 kB / 1.309 GB, free: 92.47 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000952/1.817, allocations: 0.6989 MB / 1.31 GB, free: 91.77 MB / 0.5417 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.00212/1.819, allocations: 1.214 MB / 1.311 GB, free: 90.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/1.82, allocations: 281.1 kB / 1.311 GB, free: 90.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/1.82, allocations: 191.2 kB / 1.311 GB, free: 90.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/1.82, allocations: 375.1 kB / 1.312 GB, free: 89.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/1.82, allocations: 38.56 kB / 1.312 GB, free: 89.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/1.82, allocations: 4 kB / 1.312 GB, free: 89.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.0006199/1.821, allocations: 373.6 kB / 1.312 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/1.821, allocations: 77.11 kB / 1.312 GB, free: 89.08 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/1.821, allocations: 120.9 kB / 1.312 GB, free: 88.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/1.821, allocations: 33.7 kB / 1.312 GB, free: 88.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/1.821, allocations: 112.3 kB / 1.313 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/1.821, allocations: 106.5 kB / 1.313 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/1.821, allocations: 4 kB / 1.313 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/1.821, allocations: 330.8 kB / 1.313 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/1.822, allocations: 168 kB / 1.313 GB, free: 88.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/1.822, allocations: 268.5 kB / 1.313 GB, free: 87.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/1.822, allocations: 193.5 kB / 1.314 GB, free: 87.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.822, allocations: 4 kB / 1.314 GB, free: 87.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006375/1.823, allocations: 478.3 kB / 1.314 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.823, allocations: 8.406 kB / 1.314 GB, free: 87.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.823, allocations: 8 kB / 1.314 GB, free: 87.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.823, allocations: 4 kB / 1.314 GB, free: 87.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/1.823, allocations: 83.81 kB / 1.314 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.823, allocations: 4 kB / 1.314 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/1.824, allocations: 39.67 kB / 1.314 GB, free: 87.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/1.824, allocations: 23.98 kB / 1.314 GB, free: 87.06 MB / 0.5417 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 8.982e-05/1.824, allocations: 124.9 kB / 1.314 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/1.824, allocations: 15.81 kB / 1.314 GB, free: 86.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/1.825, allocations: 459.1 kB / 1.315 GB, free: 86.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.825, allocations: 4 kB / 1.315 GB, free: 86.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.825, allocations: 4 kB / 1.315 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.825, allocations: 3.938 kB / 1.315 GB, free: 86.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/1.825, allocations: 0.5009 MB / 1.315 GB, free: 85.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.825, allocations: 4 kB / 1.315 GB, free: 85.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/1.826, allocations: 51.95 kB / 1.315 GB, free: 85.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.826, allocations: 4 kB / 1.315 GB, free: 85.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/1.826, allocations: 11.98 kB / 1.315 GB, free: 85.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.826, allocations: 3.938 kB / 1.315 GB, free: 85.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.826, allocations: 0 / 1.315 GB, free: 85.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/1.827, allocations: 0.6474 MB / 1.316 GB, free: 85.15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/1.827, allocations: 92.94 kB / 1.316 GB, free: 85.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/1.827, allocations: 8 kB / 1.316 GB, free: 85.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/1.827, allocations: 19.89 kB / 1.316 GB, free: 85.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/1.827, allocations: 19.97 kB / 1.316 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/1.827, allocations: 19.98 kB / 1.316 GB, free: 84.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.839e-05/1.827, allocations: 97.23 kB / 1.316 GB, free: 84.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.827, allocations: 4 kB / 1.316 GB, free: 84.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007082/1.828, allocations: 219.9 kB / 1.316 GB, free: 84.66 MB / 0.5417 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.0009851/1.829, allocations: 0.7323 MB / 1.317 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005098/1.829, allocations: 405 kB / 1.318 GB, free: 83.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.829, allocations: 0 / 1.318 GB, free: 83.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/1.83, allocations: 196.6 kB / 1.318 GB, free: 83.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/1.83, allocations: 85 kB / 1.318 GB, free: 83.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/1.831, allocations: 0.7812 MB / 1.319 GB, free: 82.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/1.831, allocations: 0.7406 MB / 1.319 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000633/1.832, allocations: 109.4 kB / 1.319 GB, free: 81.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.832, allocations: 31.42 kB / 1.319 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/1.832, allocations: 0 / 1.319 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.01637/1.848, allocations: 16.22 MB / 1.335 GB, free: 65.34 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches