Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9988/0.9988, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2859/0.2859, allocations: 34.87 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.735e-05, allocations: 10.31 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3165/0.3165, allocations: 142.9 MB / 0.5099 GB, free: 18.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3184, allocations: 2.209 MB / 0.512 GB, free: 17.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.3185, allocations: 1.219 kB / 0.512 GB, free: 17.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3189, allocations: 54.59 kB / 0.5121 GB, free: 17.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.3203, allocations: 0.6711 MB / 0.5127 GB, free: 17.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3206, allocations: 107.3 kB / 0.5128 GB, free: 17.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3209, allocations: 258.2 kB / 0.5131 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.321, allocations: 5.375 kB / 0.5131 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.3213, allocations: 181.9 kB / 0.5132 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3214, allocations: 89.41 kB / 0.5133 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3215, allocations: 9 kB / 0.5133 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.3227, allocations: 0.77 MB / 0.5141 GB, free: 16.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.3228, allocations: 90.97 kB / 0.5142 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.3229, allocations: 76.62 kB / 0.5143 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000929/0.3238, allocations: 0.6855 MB / 0.5149 GB, free: 16.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3238, allocations: 0 / 0.5149 GB, free: 16.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3238, allocations: 0 / 0.5149 GB, free: 16.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3238, allocations: 3.125 kB / 0.5149 GB, free: 16.3 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.0005814/0.3244, allocations: 0.5425 MB / 0.5155 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3244, allocations: 8.719 kB / 0.5155 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009889/0.3254, allocations: 291.5 kB / 0.5157 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3257, allocations: 211.8 kB / 0.5159 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3257, allocations: 17.8 kB / 0.516 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.3257, allocations: 18.03 kB / 0.516 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.3261, allocations: 485.2 kB / 0.5164 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3261, allocations: 0 / 0.5164 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3261, allocations: 6.812 kB / 0.5164 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.3262, allocations: 16.75 kB / 0.5165 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.3264, allocations: 249 kB / 0.5167 GB, free: 15.29 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.001022/0.3275, allocations: 0.8475 MB / 0.5175 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3276, allocations: 162.7 kB / 0.5177 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.3277, allocations: 93.12 kB / 0.5178 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.328, allocations: 133.5 kB / 0.5179 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3281, allocations: 45.77 kB / 0.5179 GB, free: 14.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.182e-06/0.3281, allocations: 3.125 kB / 0.5179 GB, free: 14.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008515/0.3289, allocations: 420.8 kB / 0.5183 GB, free: 14.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.3289, allocations: 80.42 kB / 0.5184 GB, free: 14.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.329, allocations: 187.5 kB / 0.5186 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.329, allocations: 32.17 kB / 0.5186 GB, free: 14.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.3291, allocations: 161.8 kB / 0.5188 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.3291, allocations: 118 kB / 0.5189 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.3292, allocations: 77.11 kB / 0.519 GB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3293, allocations: 0.4995 MB / 0.5195 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.3294, allocations: 74.5 kB / 0.5195 GB, free: 13.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3295, allocations: 223.2 kB / 0.5197 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.3297, allocations: 341.1 kB / 0.5201 GB, free: 12.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3297, allocations: 0 / 0.5201 GB, free: 12.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000362/0.3301, allocations: 340.6 kB / 0.5204 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3301, allocations: 8.312 kB / 0.5204 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3301, allocations: 2.406 kB / 0.5204 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3301, allocations: 12.41 kB / 0.5204 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3304, allocations: 82.03 kB / 0.5205 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3304, allocations: 5.969 kB / 0.5205 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.3305, allocations: 31 kB / 0.5205 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3305, allocations: 10.72 kB / 0.5205 GB, free: 12.77 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 8.05e-05/0.3306, allocations: 184.7 kB / 0.5207 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.3307, allocations: 32.44 kB / 0.5207 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.3311, allocations: 327 kB / 0.5211 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3311, allocations: 8.875 kB / 0.5211 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3311, allocations: 0 / 0.5211 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3311, allocations: 2.578 kB / 0.5211 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.3314, allocations: 290 kB / 0.5213 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3314, allocations: 0 / 0.5213 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.3317, allocations: 59.53 kB / 0.5214 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3317, allocations: 2.938 kB / 0.5214 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3317, allocations: 14.22 kB / 0.5214 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3317, allocations: 2.719 kB / 0.5214 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3317, allocations: 2.812 kB / 0.5214 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.3321, allocations: 0.622 MB / 0.522 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.3322, allocations: 20.14 kB / 0.5221 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3322, allocations: 10.75 kB / 0.5221 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3324, allocations: 13.14 kB / 0.5221 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3324, allocations: 26.61 kB / 0.5221 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3324, allocations: 16.14 kB / 0.5221 GB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.839e-05/0.3325, allocations: 139.1 kB / 0.5222 GB, free: 11.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3325, allocations: 0 / 0.5222 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.333, allocations: 161.1 kB / 0.5224 GB, free: 11.68 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.0005567/0.3336, allocations: 356.4 kB / 0.5227 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3339, allocations: 250.4 kB / 0.523 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3339, allocations: 0 / 0.523 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.334, allocations: 141.4 kB / 0.5231 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3344, allocations: 107.1 kB / 0.5232 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.3354, allocations: 0.6721 MB / 0.5239 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.3354, allocations: 84.7 kB / 0.524 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002538/0.3357, allocations: 76.84 kB / 0.524 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.336, allocations: 189.5 kB / 0.5242 GB, free: 10.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.336, allocations: 0 / 0.5242 GB, free: 10.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01078/0.3467, allocations: 9.723 MB / 0.5337 GB, free: 7.969 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4343489282764494]