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.001358/0.001358, allocations: 196.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001045, allocations: 103 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.25e-05/1.252e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.905/2.022, allocations: 0.7329 GB / 1.237 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/2.022, allocations: 71.97 kB / 1.237 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.117/2.14, allocations: 62.56 MB / 1.298 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/2.14, allocations: 0 / 1.298 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.204e-05/2.14, allocations: 4 kB / 1.298 GB, free: 67.13 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.0006101/2.14, allocations: 478.5 kB / 1.299 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/2.14, allocations: 12.03 kB / 1.299 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/2.145, allocations: 0.7102 MB / 1.3 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/2.146, allocations: 278.8 kB / 1.3 GB, free: 65.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/2.146, allocations: 11.95 kB / 1.3 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/2.146, allocations: 15.94 kB / 1.3 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008756/2.147, allocations: 0.6289 MB / 1.3 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/2.147, allocations: 400.5 kB / 1.301 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/2.147, allocations: 0 / 1.301 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/2.147, allocations: 0 / 1.301 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/2.148, allocations: 8 kB / 1.301 GB, free: 64.51 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.002376/2.15, allocations: 1.316 MB / 1.302 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/2.15, allocations: 325 kB / 1.302 GB, free: 62.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/2.15, allocations: 221.7 kB / 1.303 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/2.151, allocations: 375.2 kB / 1.303 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/2.151, allocations: 34.56 kB / 1.303 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.774e-06/2.151, allocations: 0 / 1.303 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0007006/2.152, allocations: 441.6 kB / 1.303 GB, free: 61.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/2.152, allocations: 85.11 kB / 1.304 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/2.152, allocations: 114.7 kB / 1.304 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/2.152, allocations: 29.7 kB / 1.304 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/2.152, allocations: 116.5 kB / 1.304 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/2.152, allocations: 106.5 kB / 1.304 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/2.152, allocations: 0 / 1.304 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.486e-05/2.152, allocations: 326.8 kB / 1.304 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/2.153, allocations: 192 kB / 1.304 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/2.153, allocations: 308.5 kB / 1.305 GB, free: 60.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/2.153, allocations: 222.3 kB / 1.305 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.153, allocations: 4 kB / 1.305 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007249/2.154, allocations: 0.5327 MB / 1.305 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/2.154, allocations: 4 kB / 1.305 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/2.154, allocations: 7.938 kB / 1.305 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/2.154, allocations: 8 kB / 1.305 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/2.154, allocations: 83.81 kB / 1.306 GB, free: 59.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/2.154, allocations: 11.98 kB / 1.306 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/2.155, allocations: 31.77 kB / 1.306 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/2.155, allocations: 28.08 kB / 1.306 GB, free: 59.42 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 (41): * Single equations (assignments): 41 * 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.0001066/2.155, allocations: 112.8 kB / 1.306 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/2.155, allocations: 19.81 kB / 1.306 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/2.156, allocations: 0.5276 MB / 1.306 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/2.156, allocations: 4 kB / 1.306 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.156, allocations: 4 kB / 1.306 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/2.156, allocations: 0 / 1.306 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/2.157, allocations: 0.5109 MB / 1.307 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/2.157, allocations: 0 / 1.307 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/2.157, allocations: 55.95 kB / 1.307 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/2.157, allocations: 4 kB / 1.307 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/2.157, allocations: 11.98 kB / 1.307 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/2.157, allocations: 0 / 1.307 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.157, allocations: 3.938 kB / 1.307 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007652/2.158, allocations: 0.7238 MB / 1.307 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/2.158, allocations: 92.86 kB / 1.308 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/2.158, allocations: 4 kB / 1.308 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/2.159, allocations: 19.97 kB / 1.308 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/2.159, allocations: 19.97 kB / 1.308 GB, free: 57.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/2.159, allocations: 19.98 kB / 1.308 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.747e-05/2.159, allocations: 99.27 kB / 1.308 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.159, allocations: 3.938 kB / 1.308 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007467/2.159, allocations: 196 kB / 1.308 GB, free: 56.91 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 (28): * Single equations (assignments): 28 * 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.001087/2.16, allocations: 0.8384 MB / 1.309 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000542/2.161, allocations: 467.9 kB / 1.309 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/2.161, allocations: 0 / 1.309 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/2.161, allocations: 232.6 kB / 1.309 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/2.162, allocations: 89.25 kB / 1.31 GB, free: 55.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/2.163, allocations: 0.791 MB / 1.31 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/2.163, allocations: 0.7408 MB / 1.311 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007233/2.164, allocations: 129.9 kB / 1.311 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/2.164, allocations: 27.42 kB / 1.311 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/2.164, allocations: 0 / 1.311 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.01211/2.176, allocations: 10.57 MB / 1.321 GB, free: 43.02 MB / 0.5261 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