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.002268/0.002268, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.933/1.933, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.00121/0.00121, allocations: 93.3 kB / 270.9 MB, free: 8.391 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.5073/0.5073, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004805, allocations: 12 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.317/2.447, allocations: 0.7642 GB / 1.243 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/2.447, allocations: 79.48 kB / 1.243 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.537/2.984, allocations: 62.01 MB / 1.304 GB, free: 158 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.605e-06/2.984, allocations: 0.625 kB / 1.304 GB, free: 158 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.659e-05/2.984, allocations: 2.938 kB / 1.304 GB, free: 158 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.0009804/2.985, allocations: 477 kB / 1.304 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/2.985, allocations: 9.094 kB / 1.304 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00989/2.995, allocations: 0.7069 MB / 1.305 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/2.996, allocations: 271.2 kB / 1.305 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/2.996, allocations: 15.42 kB / 1.305 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/2.996, allocations: 19.41 kB / 1.305 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/2.998, allocations: 0.7022 MB / 1.306 GB, free: 157 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/2.999, allocations: 0 / 1.306 GB, free: 157 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/2.999, allocations: 7 kB / 1.306 GB, free: 157 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/2.999, allocations: 13.41 kB / 1.306 GB, free: 157 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/3.002, allocations: 0.7689 MB / 1.306 GB, free: 156.7 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.004393/3.006, allocations: 1.234 MB / 1.308 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/3.007, allocations: 315.2 kB / 1.308 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/3.008, allocations: 248.5 kB / 1.308 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/3.008, allocations: 41 kB / 1.308 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.287e-06/3.008, allocations: 0 / 1.308 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002361/3.011, allocations: 0.5486 MB / 1.309 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/3.011, allocations: 79.77 kB / 1.309 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/3.011, allocations: 119.5 kB / 1.309 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/3.011, allocations: 31.11 kB / 1.309 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/3.011, allocations: 190.4 kB / 1.309 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/3.011, allocations: 93.55 kB / 1.309 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/3.011, allocations: 7.938 kB / 1.309 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/3.011, allocations: 333.6 kB / 1.31 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/3.012, allocations: 180.8 kB / 1.31 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/3.013, allocations: 286.4 kB / 1.31 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/3.013, allocations: 205.9 kB / 1.31 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/3.013, allocations: 1.719 kB / 1.31 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001947/3.015, allocations: 0.5047 MB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/3.016, allocations: 6.406 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/3.016, allocations: 3.562 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/3.016, allocations: 10.56 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/3.017, allocations: 83.2 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/3.017, allocations: 9 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/3.017, allocations: 43.62 kB / 1.311 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/3.017, allocations: 25.84 kB / 1.311 GB, free: 153.9 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.0002647/3.018, allocations: 151.6 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/3.018, allocations: 15.75 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/3.02, allocations: 486.8 kB / 1.312 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/3.02, allocations: 2.781 kB / 1.312 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.02, allocations: 5.094 kB / 1.312 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/3.02, allocations: 1.031 kB / 1.312 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/3.021, allocations: 0.5026 MB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/3.021, allocations: 5.094 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/3.022, allocations: 56.48 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/3.022, allocations: 1.25 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/3.022, allocations: 12.97 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/3.022, allocations: 1.156 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/3.022, allocations: 1.031 kB / 1.312 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/3.024, allocations: 0.6817 MB / 1.313 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/3.024, allocations: 90.73 kB / 1.313 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/3.025, allocations: 10.59 kB / 1.313 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/3.025, allocations: 31.52 kB / 1.313 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/3.025, allocations: 16.28 kB / 1.313 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/3.026, allocations: 15.05 kB / 1.313 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.906e-05/3.026, allocations: 106.4 kB / 1.313 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/3.026, allocations: 4 kB / 1.313 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001276/3.027, allocations: 205.9 kB / 1.313 GB, free: 152.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 () * 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.001908/3.029, allocations: 0.7255 MB / 1.314 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001591/3.03, allocations: 428 kB / 1.314 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/3.03, allocations: 0.8125 kB / 1.314 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/3.031, allocations: 212.8 kB / 1.315 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/3.032, allocations: 84.3 kB / 1.315 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/3.034, allocations: 1.089 MB / 1.316 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/3.035, allocations: 0.7442 MB / 1.316 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/3.035, allocations: 35.23 kB / 1.316 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/3.035, allocations: 5.375 kB / 1.316 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02079/3.056, allocations: 9.49 MB / 1.326 GB, free: 148.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