Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002241/0.002241, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 82.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2747/0.2747, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.399e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.378/2.5, allocations: 0.7641 GB / 1.237 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/2.5, allocations: 71.19 kB / 1.237 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2158/2.716, allocations: 61.98 MB / 1.298 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.785e-06/2.716, allocations: 8 kB / 1.298 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.483e-05/2.716, allocations: 0 / 1.298 GB, free: 12.39 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.0008719/2.717, allocations: 474.5 kB / 1.298 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/2.717, allocations: 8.031 kB / 1.298 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/2.727, allocations: 0.7063 MB / 1.299 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/2.728, allocations: 278.8 kB / 1.299 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/2.728, allocations: 12.33 kB / 1.299 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/2.728, allocations: 15.95 kB / 1.299 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/2.73, allocations: 0.6605 MB / 1.3 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.73, allocations: 0 / 1.3 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/2.73, allocations: 8 kB / 1.3 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/2.73, allocations: 8 kB / 1.3 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/2.732, allocations: 0.7106 MB / 1.3 GB, free: 9.426 MB / 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.00438/2.736, allocations: 1.241 MB / 1.302 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/2.737, allocations: 281.1 kB / 1.302 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/2.737, allocations: 189.7 kB / 1.302 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008123/2.738, allocations: 254.1 kB / 1.302 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/2.738, allocations: 38.56 kB / 1.302 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/2.738, allocations: 0 / 1.302 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001184/2.74, allocations: 372.8 kB / 1.303 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/2.74, allocations: 81.27 kB / 1.303 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/2.74, allocations: 124.8 kB / 1.303 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/2.74, allocations: 29.7 kB / 1.303 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/2.74, allocations: 186.7 kB / 1.303 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/2.74, allocations: 98.56 kB / 1.303 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/2.74, allocations: 8 kB / 1.303 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/2.74, allocations: 322.8 kB / 1.303 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/2.741, allocations: 168 kB / 1.304 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/2.741, allocations: 277.7 kB / 1.304 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/2.742, allocations: 195.9 kB / 1.304 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/2.742, allocations: 0 / 1.304 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001282/2.743, allocations: 481 kB / 1.304 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/2.743, allocations: 4 kB / 1.304 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/2.743, allocations: 4.406 kB / 1.305 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/2.743, allocations: 8 kB / 1.305 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/2.744, allocations: 87.81 kB / 1.305 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/2.744, allocations: 4 kB / 1.305 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/2.745, allocations: 43.67 kB / 1.305 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/2.745, allocations: 19.98 kB / 1.305 GB, free: 4.75 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 (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.0001806/2.745, allocations: 126.4 kB / 1.305 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/2.745, allocations: 15.91 kB / 1.305 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/2.747, allocations: 453 kB / 1.305 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/2.747, allocations: 4 kB / 1.305 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/2.747, allocations: 0 / 1.305 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/2.747, allocations: 3.984 kB / 1.305 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/2.748, allocations: 0.5126 MB / 1.306 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/2.748, allocations: 11.92 kB / 1.306 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009889/2.749, allocations: 55.95 kB / 1.306 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/2.749, allocations: 0 / 1.306 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/2.749, allocations: 15.98 kB / 1.306 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/2.749, allocations: 0 / 1.306 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.749, allocations: 0 / 1.306 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/2.75, allocations: 0.6514 MB / 1.306 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/2.75, allocations: 92.95 kB / 1.307 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/2.751, allocations: 11.98 kB / 1.307 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/2.751, allocations: 19.98 kB / 1.307 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/2.751, allocations: 15.97 kB / 1.307 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/2.752, allocations: 15.98 kB / 1.307 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.89e-05/2.752, allocations: 99.27 kB / 1.307 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.6e-07/2.752, allocations: 0 / 1.307 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001147/2.753, allocations: 207.9 kB / 1.307 GB, free: 2.355 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 (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.001793/2.755, allocations: 0.7245 MB / 1.308 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001119/2.756, allocations: 399.7 kB / 1.308 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/2.756, allocations: 0.8125 kB / 1.308 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004978/2.756, allocations: 195.8 kB / 1.308 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/2.757, allocations: 83.91 kB / 1.308 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/2.759, allocations: 0.8108 MB / 1.309 GB, free: 124 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3216/3.081, allocations: 0.7396 MB / 1.31 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/3.081, allocations: 35.75 kB / 1.31 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/3.081, allocations: 1.062 kB / 1.31 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.02503/3.106, allocations: 9.476 MB / 1.319 GB, free: 168.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches