Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001144/0.001144, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002773, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007036/0.0007036, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009717/0.001675, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8783/0.8783, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1443/1.023, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.451e-05, allocations: 9.406 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2841/0.2841, allocations: 143.7 MB / 365.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2866, allocations: 2.156 MB / 367.9 MB, free: 13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.2866, allocations: 0 / 367.9 MB, free: 13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.2869, allocations: 50.22 kB / 367.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2881, allocations: 0.6263 MB / 368.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.2883, allocations: 103.7 kB / 368.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.2886, allocations: 270.9 kB / 368.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.2887, allocations: 4 kB / 368.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.2889, allocations: 171.4 kB / 369.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2891, allocations: 83.77 kB / 369.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2891, allocations: 8 kB / 369.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.2902, allocations: 0.7634 MB / 370 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.2903, allocations: 75.88 kB / 370 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.2904, allocations: 59.88 kB / 370.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007285/0.2911, allocations: 0.5806 MB / 370.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.2911, allocations: 0 / 370.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2911, allocations: 4 kB / 370.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2911, allocations: 0 / 370.7 MB, free: 10.21 MB / 330.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.0006314/0.2917, allocations: 495.6 kB / 371.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2918, allocations: 8.031 kB / 371.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.2931, allocations: 386.6 kB / 371.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.2934, allocations: 205.5 kB / 371.7 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2934, allocations: 8.703 kB / 371.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.2935, allocations: 32.36 kB / 371.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.294, allocations: 462.2 kB / 372.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.294, allocations: 3.938 kB / 372.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.294, allocations: 4 kB / 372.2 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.294, allocations: 11.94 kB / 372.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.2944, allocations: 206.6 kB / 372.5 MB, free: 8.316 MB / 330.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.001175/0.2956, allocations: 0.6658 MB / 373.1 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2958, allocations: 172.9 kB / 373.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.2959, allocations: 81.78 kB / 373.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.2962, allocations: 95.92 kB / 373.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2962, allocations: 46.48 kB / 373.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.2962, allocations: 4 kB / 373.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001197/0.2974, allocations: 347.2 kB / 373.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2974, allocations: 81.11 kB / 373.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.2975, allocations: 134.5 kB / 374.1 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2976, allocations: 29.7 kB / 374.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2976, allocations: 112.5 kB / 374.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.2977, allocations: 119 kB / 374.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2978, allocations: 65.45 kB / 374.4 MB, free: 6.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.2979, allocations: 330.8 kB / 374.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.298, allocations: 66.81 kB / 374.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2981, allocations: 168.8 kB / 374.9 MB, free: 5.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.2984, allocations: 283.9 kB / 375.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2984, allocations: 4 kB / 375.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000375/0.2988, allocations: 263.8 kB / 375.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2988, allocations: 8 kB / 375.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2988, allocations: 4 kB / 375.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2988, allocations: 4 kB / 375.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.2992, allocations: 97.56 kB / 375.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2992, allocations: 11.88 kB / 375.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2994, allocations: 31.78 kB / 375.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.2994, allocations: 15.98 kB / 375.6 MB, free: 4.91 MB / 330.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.0001036/0.2995, allocations: 140.6 kB / 375.8 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.2996, allocations: 27.98 kB / 375.8 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3, allocations: 273.9 kB / 376.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3, allocations: 0 / 376.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3, allocations: 4 kB / 376.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3, allocations: 3.938 kB / 376.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.3004, allocations: 197.7 kB / 376.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3004, allocations: 0 / 376.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3007, allocations: 63.95 kB / 376.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.3007, allocations: 15.97 kB / 376.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3007, allocations: 0 / 376.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3008, allocations: 11.98 kB / 376.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3008, allocations: 8.812 kB / 376.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3008, allocations: 4.469 kB / 376.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.3013, allocations: 0.5264 MB / 376.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3013, allocations: 8 kB / 376.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.3015, allocations: 15.97 kB / 376.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3016, allocations: 19.97 kB / 377 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.3016, allocations: 19.92 kB / 377 MB, free: 3.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.896e-05/0.3016, allocations: 12.86 kB / 377 MB, free: 3.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3016, allocations: 0 / 377 MB, free: 3.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004716/0.3021, allocations: 159.7 kB / 377.1 MB, free: 3.367 MB / 330.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.0006373/0.3027, allocations: 325.8 kB / 377.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.3031, allocations: 221.3 kB / 377.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.3031, allocations: 5.156 kB / 377.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.3032, allocations: 136.7 kB / 377.8 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3038, allocations: 238.9 kB / 378 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.3064, allocations: 0.4944 MB / 378.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.859e-05/0.3065, allocations: 96.55 kB / 378.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.3069, allocations: 81.81 kB / 378.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.3074, allocations: 149.2 kB / 378.9 MB, free: 1.559 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3074, allocations: 3.938 kB / 378.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of Templates: time 0.01488/0.3222, allocations: 9.804 MB / 388.7 MB, free: 7.754 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1809028508141637]