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.001051/0.001051, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.000895/0.0008951, allocations: 94.95 kB / 281.6 MB, free: 5.262 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.2602/0.2602, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.506e-05, allocations: 3.938 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1717, allocations: 61.9 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.344/2.516, allocations: 0.7318 GB / 1.226 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/2.516, allocations: 67.97 kB / 1.227 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1167/2.633, allocations: 62.54 MB / 1.288 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/2.633, allocations: 4 kB / 1.288 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.376e-05/2.633, allocations: 0 / 1.288 GB, free: 2.977 MB / 0.5105 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.0006999/2.634, allocations: 482.5 kB / 1.288 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/2.634, allocations: 11.98 kB / 1.288 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/2.639, allocations: 0.7219 MB / 1.289 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/2.64, allocations: 278.8 kB / 1.289 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/2.64, allocations: 4 kB / 1.289 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/2.64, allocations: 12 kB / 1.289 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009718/2.641, allocations: 0.6289 MB / 1.29 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/2.641, allocations: 400.5 kB / 1.29 GB, free: 368 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/2.641, allocations: 3.953 kB / 1.29 GB, free: 364 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/2.641, allocations: 0 / 1.29 GB, free: 364 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/2.641, allocations: 15.94 kB / 1.29 GB, free: 348 kB / 0.5105 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.3146/2.956, allocations: 1.294 MB / 1.291 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/2.957, allocations: 322.7 kB / 1.292 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/2.957, allocations: 224.7 kB / 1.292 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/2.958, allocations: 369.7 kB / 1.292 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/2.958, allocations: 41.09 kB / 1.292 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/2.958, allocations: 0 / 1.292 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0008266/2.959, allocations: 440.9 kB / 1.293 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/2.959, allocations: 83.17 kB / 1.293 GB, free: 159 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/2.959, allocations: 122.5 kB / 1.293 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/2.959, allocations: 27.05 kB / 1.293 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/2.959, allocations: 115.5 kB / 1.293 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/2.959, allocations: 101.8 kB / 1.293 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/2.959, allocations: 0 / 1.293 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/2.959, allocations: 333.9 kB / 1.293 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/2.959, allocations: 194.1 kB / 1.294 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/2.96, allocations: 297.4 kB / 1.294 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/2.96, allocations: 229.6 kB / 1.294 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/2.96, allocations: 5.016 kB / 1.294 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00087/2.961, allocations: 0.5198 MB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/2.961, allocations: 10.58 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.961, allocations: 6.016 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/2.961, allocations: 5.656 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/2.962, allocations: 93.41 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/2.962, allocations: 5.953 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/2.962, allocations: 40.88 kB / 1.295 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/2.962, allocations: 19.42 kB / 1.295 GB, free: 158.2 MB / 0.5105 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.0001156/2.962, allocations: 117 kB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/2.962, allocations: 16.81 kB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/2.963, allocations: 0.5145 MB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/2.963, allocations: 6.562 kB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/2.963, allocations: 5.047 kB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/2.963, allocations: 2.719 kB / 1.295 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/2.964, allocations: 0.5012 MB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.964, allocations: 0.9688 kB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/2.965, allocations: 66.81 kB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/2.965, allocations: 4.516 kB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/2.965, allocations: 8.828 kB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/2.965, allocations: 8.734 kB / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.965, allocations: 0 / 1.296 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/2.966, allocations: 0.7196 MB / 1.297 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/2.966, allocations: 94.95 kB / 1.297 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/2.966, allocations: 10.78 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/2.966, allocations: 24.59 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/2.967, allocations: 17.45 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/2.967, allocations: 21.39 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.883e-05/2.967, allocations: 100.3 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.81e-07/2.967, allocations: 0.9062 kB / 1.297 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009229/2.968, allocations: 189.8 kB / 1.297 GB, free: 157.4 MB / 0.5105 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.001714/2.969, allocations: 0.8211 MB / 1.298 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008339/2.97, allocations: 472.7 kB / 1.298 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.97, allocations: 0.9688 kB / 1.298 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/2.971, allocations: 233.5 kB / 1.299 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/2.971, allocations: 87.59 kB / 1.299 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/2.972, allocations: 0.7808 MB / 1.299 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/2.973, allocations: 0.7421 MB / 1.3 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008141/2.973, allocations: 127.3 kB / 1.3 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/2.974, allocations: 35.66 kB / 1.3 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/2.974, allocations: 1.406 kB / 1.3 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.01782/2.992, allocations: 10.59 MB / 1.311 GB, free: 155.5 MB / 0.5105 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