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.001171/0.001172, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.000828/0.000828, allocations: 95.33 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004969, allocations: 20 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1296, allocations: 58.86 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.672/1.802, allocations: 0.7643 GB / 1.244 GB, free: 35.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.802, allocations: 71.97 kB / 1.244 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3441/2.146, allocations: 62.01 MB / 1.305 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/2.146, allocations: 0 / 1.305 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.275e-05/2.146, allocations: 3.156 kB / 1.305 GB, free: 160.5 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.000858/2.147, allocations: 472.3 kB / 1.305 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/2.147, allocations: 10.06 kB / 1.305 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/2.152, allocations: 0.694 MB / 1.306 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/2.153, allocations: 284.5 kB / 1.306 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/2.153, allocations: 11.98 kB / 1.306 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/2.153, allocations: 18.81 kB / 1.306 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/2.154, allocations: 0.7031 MB / 1.307 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/2.155, allocations: 192 / 1.307 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/2.155, allocations: 17.95 kB / 1.307 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/2.155, allocations: 10.22 kB / 1.307 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/2.156, allocations: 0.7662 MB / 1.308 GB, free: 159.8 MB / 0.5105 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.002503/2.159, allocations: 1.222 MB / 1.309 GB, free: 159 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/2.159, allocations: 319.2 kB / 1.309 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/2.16, allocations: 204.4 kB / 1.309 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/2.16, allocations: 247.5 kB / 1.31 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/2.16, allocations: 45.78 kB / 1.31 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/2.16, allocations: 4 kB / 1.31 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001274/2.162, allocations: 0.5406 MB / 1.31 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/2.162, allocations: 84.11 kB / 1.31 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/2.162, allocations: 131.9 kB / 1.311 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/2.162, allocations: 29.7 kB / 1.311 GB, free: 158 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/2.162, allocations: 123.2 kB / 1.311 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/2.162, allocations: 99.41 kB / 1.311 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/2.162, allocations: 4 kB / 1.311 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/2.162, allocations: 327.5 kB / 1.311 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/2.162, allocations: 185.1 kB / 1.311 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/2.163, allocations: 281.9 kB / 1.312 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/2.164, allocations: 486.9 kB / 1.312 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/2.164, allocations: 1.25 kB / 1.312 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009944/2.165, allocations: 0.5076 MB / 1.312 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/2.165, allocations: 13.7 kB / 1.312 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/2.165, allocations: 3.031 kB / 1.312 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/2.165, allocations: 6.031 kB / 1.312 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/2.165, allocations: 75.16 kB / 1.313 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/2.165, allocations: 7.547 kB / 1.313 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/2.166, allocations: 47.44 kB / 1.313 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/2.166, allocations: 19.88 kB / 1.313 GB, free: 156.7 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 () * 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.0001605/2.166, allocations: 146.5 kB / 1.313 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/2.166, allocations: 17.38 kB / 1.313 GB, free: 156.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009933/2.167, allocations: 494.3 kB / 1.313 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/2.167, allocations: 3.219 kB / 1.313 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.167, allocations: 3.156 kB / 1.313 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.167, allocations: 0 / 1.313 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/2.168, allocations: 0.491 MB / 1.314 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/2.168, allocations: 0 / 1.314 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/2.168, allocations: 55.81 kB / 1.314 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/2.168, allocations: 14.59 kB / 1.314 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/2.168, allocations: 17.02 kB / 1.314 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/2.168, allocations: 0 / 1.314 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.168, allocations: 0 / 1.314 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/2.169, allocations: 0.6623 MB / 1.314 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/2.169, allocations: 98.98 kB / 1.315 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/2.169, allocations: 10.7 kB / 1.315 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/2.17, allocations: 27.27 kB / 1.315 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/2.17, allocations: 16.53 kB / 1.315 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/2.17, allocations: 24.03 kB / 1.315 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.272e-05/2.17, allocations: 99.75 kB / 1.315 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/2.17, allocations: 3.938 kB / 1.315 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001027/2.171, allocations: 204.8 kB / 1.315 GB, free: 155.3 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 () * 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.001232/2.172, allocations: 0.7159 MB / 1.316 GB, free: 155 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008311/2.173, allocations: 432.1 kB / 1.316 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.173, allocations: 3.938 kB / 1.316 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/2.174, allocations: 213.9 kB / 1.316 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/2.174, allocations: 95.27 kB / 1.316 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/2.176, allocations: 1.098 MB / 1.317 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/2.176, allocations: 0.7375 MB / 1.318 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/2.176, allocations: 36.16 kB / 1.318 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/2.176, allocations: 0 / 1.318 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01512/2.191, allocations: 9.214 MB / 1.327 GB, free: 152.3 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