Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 76.06 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9025/0.9025, allocations: 158.6 MB / 186 MB, free: 2.73 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1488/0.1488, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.041e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2659/0.266, allocations: 143.4 MB / 442.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.2678, allocations: 2.137 MB / 444.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.2679, allocations: 0 / 444.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.2682, allocations: 51.67 kB / 444.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2695, allocations: 0.6255 MB / 445.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2697, allocations: 111.7 kB / 445.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.27, allocations: 262.9 kB / 445.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.27, allocations: 4 kB / 445.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2703, allocations: 175.4 kB / 445.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.2704, allocations: 83.77 kB / 445.9 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2704, allocations: 8 kB / 445.9 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2715, allocations: 0.7672 MB / 446.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.2716, allocations: 83.78 kB / 446.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.2716, allocations: 75.84 kB / 446.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.2723, allocations: 0.6701 MB / 447.5 MB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2723, allocations: 4 kB / 447.5 MB, free: 9.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2723, allocations: 0 / 447.5 MB, free: 9.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2723, allocations: 0 / 447.5 MB, free: 9.355 MB / 410.7 MB 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.0004766/0.2728, allocations: 405 kB / 447.9 MB, free: 8.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2729, allocations: 8.031 kB / 447.9 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2739, allocations: 308.3 kB / 448.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2742, allocations: 197.6 kB / 448.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2742, allocations: 16.7 kB / 448.4 MB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.2743, allocations: 28.34 kB / 448.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.2746, allocations: 458 kB / 448.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2747, allocations: 4 kB / 448.9 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.2747, allocations: 4 kB / 448.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2747, allocations: 12 kB / 448.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.275, allocations: 207.4 kB / 449.1 MB, free: 7.648 MB / 410.7 MB 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.001047/0.276, allocations: 0.6931 MB / 449.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2763, allocations: 165 kB / 450 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.2763, allocations: 73.69 kB / 450 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.2767, allocations: 107.8 kB / 450.2 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2767, allocations: 38.56 kB / 450.2 MB, free: 6.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.2767, allocations: 0 / 450.2 MB, free: 6.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.000846/0.2776, allocations: 352.4 kB / 450.5 MB, free: 6.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2776, allocations: 81.05 kB / 450.6 MB, free: 6.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.2777, allocations: 138.5 kB / 450.7 MB, free: 5.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2777, allocations: 41.64 kB / 450.8 MB, free: 5.883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.2777, allocations: 104.6 kB / 450.9 MB, free: 5.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.2778, allocations: 111 kB / 451 MB, free: 5.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.2779, allocations: 65.66 kB / 451.1 MB, free: 5.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.278, allocations: 326.8 kB / 451.4 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.278, allocations: 62.81 kB / 451.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.2782, allocations: 180.5 kB / 451.6 MB, free: 4.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.2784, allocations: 281.2 kB / 451.9 MB, free: 4.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2784, allocations: 0.75 kB / 451.9 MB, free: 4.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003054/0.2787, allocations: 266.4 kB / 452.2 MB, free: 4.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2787, allocations: 8 kB / 452.2 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2787, allocations: 4 kB / 452.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2787, allocations: 4.406 kB / 452.2 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.279, allocations: 87.83 kB / 452.3 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.279, allocations: 14.42 kB / 452.3 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2792, allocations: 36.91 kB / 452.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.2792, allocations: 12 kB / 452.3 MB, free: 4.234 MB / 410.7 MB 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2793, allocations: 132.5 kB / 452.4 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.2794, allocations: 31.91 kB / 452.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.2797, allocations: 262.6 kB / 452.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2797, allocations: 0 / 452.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2797, allocations: 11.92 kB / 452.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2797, allocations: 3.938 kB / 452.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.28, allocations: 197 kB / 452.9 MB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.28, allocations: 0 / 452.9 MB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.2803, allocations: 55.97 kB / 453 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2803, allocations: 4 kB / 453 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2803, allocations: 11.98 kB / 453 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2803, allocations: 0 / 453 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2803, allocations: 3.984 kB / 453 MB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.2807, allocations: 0.5274 MB / 453.5 MB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.2808, allocations: 23.83 kB / 453.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.2808, allocations: 4 kB / 453.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.281, allocations: 23.92 kB / 453.6 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.281, allocations: 23.91 kB / 453.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2811, allocations: 7.984 kB / 453.6 MB, free: 2.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.2811, allocations: 25.94 kB / 453.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2811, allocations: 0 / 453.7 MB, free: 2.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.2815, allocations: 151.7 kB / 453.8 MB, free: 2.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/0.2821, allocations: 317.8 kB / 454.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.2824, allocations: 217 kB / 454.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2824, allocations: 0 / 454.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2825, allocations: 120.7 kB / 454.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.2829, allocations: 100 kB / 454.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.2838, allocations: 0.521 MB / 455.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.2838, allocations: 92.64 kB / 455.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.2841, allocations: 81.78 kB / 455.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.2844, allocations: 157.1 kB / 455.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/0.2844, allocations: 0 / 455.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of Templates: time 0.1623/0.4468, allocations: 9.706 MB / 465.1 MB, free: 14.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.468408554792404]