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.001348/0.001348, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.392/1.392, allocations: 223.2 MB / 241 MB, free: 11.84 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.001082/0.001082, allocations: 95.44 kB / 292.2 MB, free: 10.91 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.4311/0.4311, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4357, allocations: 61.89 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/2.279, allocations: 0.7325 GB / 1.242 GB, free: 56.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/2.279, allocations: 77.05 kB / 1.242 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4773/2.757, allocations: 63.58 MB / 1.304 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/2.757, allocations: 0 / 1.304 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.362e-05/2.757, allocations: 3.031 kB / 1.304 GB, free: 156.1 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.0008274/2.757, allocations: 481 kB / 1.305 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/2.758, allocations: 9.031 kB / 1.305 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005274/2.763, allocations: 0.712 MB / 1.305 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/2.763, allocations: 284.4 kB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/2.763, allocations: 15.27 kB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/2.763, allocations: 21.62 kB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/2.765, allocations: 0.6812 MB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/2.765, allocations: 0 / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/2.765, allocations: 12.64 kB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/2.765, allocations: 12.44 kB / 1.306 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/2.766, allocations: 0.7461 MB / 1.307 GB, free: 155.5 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.002507/2.769, allocations: 1.223 MB / 1.308 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/2.77, allocations: 319.2 kB / 1.309 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/2.77, allocations: 366.1 kB / 1.309 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/2.77, allocations: 38.69 kB / 1.309 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/2.77, allocations: 0 / 1.309 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001227/2.772, allocations: 0.5498 MB / 1.31 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/2.772, allocations: 79.98 kB / 1.31 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/2.772, allocations: 118.9 kB / 1.31 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/2.772, allocations: 33.95 kB / 1.31 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/2.772, allocations: 121.3 kB / 1.31 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/2.772, allocations: 91.28 kB / 1.31 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/2.772, allocations: 5.031 kB / 1.31 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/2.772, allocations: 334.4 kB / 1.31 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/2.773, allocations: 177.7 kB / 1.31 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/2.773, allocations: 282.6 kB / 1.311 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/2.773, allocations: 207.3 kB / 1.311 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/2.773, allocations: 3.953 kB / 1.311 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009283/2.774, allocations: 0.5118 MB / 1.311 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/2.774, allocations: 6.875 kB / 1.311 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/2.774, allocations: 2.875 kB / 1.311 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/2.774, allocations: 5.781 kB / 1.311 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/2.775, allocations: 82.81 kB / 1.312 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/2.775, allocations: 9.406 kB / 1.312 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/2.775, allocations: 43.27 kB / 1.312 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/2.775, allocations: 19.59 kB / 1.312 GB, free: 153.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.0001514/2.776, allocations: 146.5 kB / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/2.776, allocations: 23.23 kB / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009998/2.777, allocations: 479.8 kB / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/2.777, allocations: 4.656 kB / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/2.777, allocations: 2.906 kB / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/2.777, allocations: 0 / 1.312 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/2.777, allocations: 0.5014 MB / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/2.777, allocations: 2.719 kB / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/2.778, allocations: 63.19 kB / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/2.778, allocations: 0 / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/2.778, allocations: 11.33 kB / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/2.778, allocations: 2.531 kB / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.778, allocations: 0 / 1.313 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/2.779, allocations: 0.6826 MB / 1.313 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/2.779, allocations: 100.5 kB / 1.314 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/2.779, allocations: 9.719 kB / 1.314 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/2.78, allocations: 21.73 kB / 1.314 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/2.78, allocations: 17.81 kB / 1.314 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/2.78, allocations: 17.55 kB / 1.314 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.24e-05/2.78, allocations: 103.6 kB / 1.314 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.78, allocations: 3.688 kB / 1.314 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001006/2.781, allocations: 210.1 kB / 1.314 GB, free: 152.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.001279/2.782, allocations: 0.7246 MB / 1.315 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008459/2.783, allocations: 435.4 kB / 1.315 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/2.783, allocations: 0 / 1.315 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/2.783, allocations: 203.8 kB / 1.315 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/2.784, allocations: 87.17 kB / 1.315 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/2.785, allocations: 1.049 MB / 1.316 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/2.786, allocations: 0.7462 MB / 1.317 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007058/2.786, allocations: 105.2 kB / 1.317 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/2.786, allocations: 30.83 kB / 1.317 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/2.786, allocations: 0 / 1.317 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02563/2.812, allocations: 14.47 MB / 1.331 GB, free: 150.3 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