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.001042/0.001042, allocations: 179.2 kB / 18.09 MB, free: 3.754 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.459/1.459, allocations: 223.3 MB / 242.1 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.000962, allocations: 106.3 kB / 293.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3562/0.3562, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004262, allocations: 8 kB / 461.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4405, allocations: 61.87 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/2.015, allocations: 0.7326 GB / 1.243 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/2.016, allocations: 75.95 kB / 1.243 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3692/2.385, allocations: 63.57 MB / 1.306 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/2.385, allocations: 0 / 1.306 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.339e-05/2.385, allocations: 3.031 kB / 1.306 GB, free: 159.2 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.0006671/2.386, allocations: 477.6 kB / 1.306 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/2.386, allocations: 12.45 kB / 1.306 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/2.391, allocations: 0.694 MB / 1.307 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/2.391, allocations: 283.2 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/2.391, allocations: 20.23 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/2.391, allocations: 18.59 kB / 1.307 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/2.392, allocations: 0.6901 MB / 1.308 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.392, allocations: 192 / 1.308 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/2.393, allocations: 10.16 kB / 1.308 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/2.393, allocations: 5.719 kB / 1.308 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/2.394, allocations: 0.7486 MB / 1.308 GB, free: 158.6 MB / 0.5261 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.00226/2.396, allocations: 1.222 MB / 1.31 GB, free: 158 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/2.397, allocations: 318.4 kB / 1.31 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/2.397, allocations: 204.5 kB / 1.31 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/2.398, allocations: 376 kB / 1.31 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/2.398, allocations: 40.19 kB / 1.31 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/2.398, allocations: 0 / 1.31 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001149/2.399, allocations: 0.546 MB / 1.311 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/2.399, allocations: 80.05 kB / 1.311 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/2.399, allocations: 128.5 kB / 1.311 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/2.399, allocations: 32.55 kB / 1.311 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/2.399, allocations: 125.5 kB / 1.311 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/2.399, allocations: 90.89 kB / 1.311 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/2.399, allocations: 5.938 kB / 1.311 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/2.399, allocations: 329.2 kB / 1.312 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/2.4, allocations: 180 kB / 1.312 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/2.4, allocations: 286.4 kB / 1.312 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/2.401, allocations: 485.7 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.401, allocations: 3 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008637/2.402, allocations: 0.5079 MB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/2.402, allocations: 9.906 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/2.402, allocations: 5.688 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/2.402, allocations: 2.938 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/2.402, allocations: 77.33 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/2.402, allocations: 9.031 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/2.403, allocations: 44.14 kB / 1.313 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/2.403, allocations: 23.66 kB / 1.313 GB, free: 156.6 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 () * 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.0001319/2.403, allocations: 142.4 kB / 1.313 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/2.403, allocations: 17.03 kB / 1.313 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/2.404, allocations: 482.3 kB / 1.314 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/2.404, allocations: 6.75 kB / 1.314 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/2.404, allocations: 4.875 kB / 1.314 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/2.404, allocations: 3.938 kB / 1.314 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/2.404, allocations: 0.4942 MB / 1.314 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/2.405, allocations: 2.469 kB / 1.314 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/2.405, allocations: 57.69 kB / 1.315 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/2.405, allocations: 7.312 kB / 1.315 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/2.405, allocations: 11.17 kB / 1.315 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/2.405, allocations: 7.219 kB / 1.315 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.405, allocations: 2.562 kB / 1.315 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/2.406, allocations: 0.6647 MB / 1.315 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/2.406, allocations: 100.2 kB / 1.315 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/2.406, allocations: 8.344 kB / 1.315 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/2.407, allocations: 21 kB / 1.315 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/2.407, allocations: 18.33 kB / 1.315 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/2.407, allocations: 19.61 kB / 1.315 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.037e-05/2.407, allocations: 98.94 kB / 1.315 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/2.407, allocations: 0.5625 kB / 1.315 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008304/2.408, allocations: 211.2 kB / 1.316 GB, free: 155.7 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 () * 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.001125/2.409, allocations: 0.73 MB / 1.316 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007638/2.409, allocations: 427.5 kB / 1.317 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.409, allocations: 2.656 kB / 1.317 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/2.41, allocations: 206.7 kB / 1.317 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/2.41, allocations: 100.2 kB / 1.317 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/2.412, allocations: 1.05 MB / 1.318 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/2.412, allocations: 0.7415 MB / 1.319 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000717/2.413, allocations: 109.6 kB / 1.319 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/2.413, allocations: 29.7 kB / 1.319 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/2.413, allocations: 0 / 1.319 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02262/2.435, allocations: 14.65 MB / 1.333 GB, free: 153.2 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/jenkins1/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