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.001094/0.001094, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001872/0.002966, allocations: 445.7 kB / 10.37 MB, free: 328 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.001087/0.001087, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002441, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8498/0.8498, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1373/0.9871, allocations: 49.48 MB / 220.5 MB, free: 1.457 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.543e-06/1.543e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.192e-05, allocations: 6.25 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2483/0.2483, allocations: 143.7 MB / 365.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2504, allocations: 2.156 MB / 367.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.2505, allocations: 0 / 367.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.2507, allocations: 53.64 kB / 367.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.2519, allocations: 0.623 MB / 368.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.2522, allocations: 111.6 kB / 368.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2525, allocations: 266.9 kB / 368.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.2525, allocations: 4 kB / 368.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.2528, allocations: 167.5 kB / 368.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2529, allocations: 83.7 kB / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.2529, allocations: 8 kB / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.254, allocations: 0.7751 MB / 369.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.2541, allocations: 71.81 kB / 369.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.2542, allocations: 55.94 kB / 369.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.2549, allocations: 0.5844 MB / 370.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.255, allocations: 0 / 370.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.255, allocations: 0 / 370.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.255, allocations: 0 / 370.5 MB, free: 10.37 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.0006335/0.2556, allocations: 495.7 kB / 371 MB, free: 9.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.2556, allocations: 11.97 kB / 371 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.2569, allocations: 378.7 kB / 371.4 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.2572, allocations: 213.5 kB / 371.6 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2572, allocations: 8.703 kB / 371.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.2573, allocations: 24.38 kB / 371.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.2577, allocations: 458.3 kB / 372.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2577, allocations: 3.938 kB / 372.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.2578, allocations: 7.938 kB / 372.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2578, allocations: 11.98 kB / 372.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.2582, allocations: 205.5 kB / 372.3 MB, free: 8.473 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.001201/0.2594, allocations: 0.6647 MB / 373 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.2596, allocations: 182.4 kB / 373.1 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.2597, allocations: 77.66 kB / 373.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.26, allocations: 104.7 kB / 373.3 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.26, allocations: 42.5 kB / 373.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.26, allocations: 0 / 373.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008554/0.2609, allocations: 347.2 kB / 373.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2609, allocations: 81.11 kB / 373.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.261, allocations: 130.5 kB / 373.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.261, allocations: 29.7 kB / 373.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.261, allocations: 120.5 kB / 374.1 MB, free: 6.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.2611, allocations: 119 kB / 374.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.2612, allocations: 57.45 kB / 374.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.2612, allocations: 330.8 kB / 374.6 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.2613, allocations: 70.8 kB / 374.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2614, allocations: 168.8 kB / 374.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2616, allocations: 279.2 kB / 375.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2616, allocations: 0 / 375.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003071/0.262, allocations: 267.6 kB / 375.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.262, allocations: 8 kB / 375.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.262, allocations: 4 kB / 375.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.262, allocations: 4 kB / 375.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.2622, allocations: 93.77 kB / 375.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.2622, allocations: 7.938 kB / 375.4 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.2624, allocations: 32.17 kB / 375.5 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.2624, allocations: 20 kB / 375.5 MB, free: 5.066 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 9.403e-05/0.2625, allocations: 144.5 kB / 375.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.2626, allocations: 19.97 kB / 375.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.2629, allocations: 268.2 kB / 375.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2629, allocations: 4 kB / 375.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2629, allocations: 0 / 375.9 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2629, allocations: 7.922 kB / 375.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.2632, allocations: 193.8 kB / 376.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2632, allocations: 0 / 376.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2634, allocations: 59.95 kB / 376.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.2634, allocations: 35.81 kB / 376.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2634, allocations: 4 kB / 376.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.2635, allocations: 12 kB / 376.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2635, allocations: 3.938 kB / 376.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2635, allocations: 0.875 kB / 376.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.2638, allocations: 0.523 MB / 376.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.2639, allocations: 11.98 kB / 376.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.264, allocations: 15.98 kB / 376.8 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.2641, allocations: 11.97 kB / 376.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.2641, allocations: 19.92 kB / 376.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.2641, allocations: 24.83 kB / 376.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2641, allocations: 0 / 376.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.2645, allocations: 163.7 kB / 377 MB, free: 3.512 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.0004855/0.265, allocations: 314.5 kB / 377.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.2652, allocations: 210.1 kB / 377.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.2652, allocations: 12.05 kB / 377.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.2653, allocations: 120.7 kB / 377.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2656, allocations: 126 kB / 377.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2677, allocations: 0.5022 MB / 378.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.662e-05/0.2678, allocations: 96.55 kB / 378.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.268, allocations: 85.8 kB / 378.4 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.2683, allocations: 145.2 kB / 378.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2683, allocations: 0 / 378.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of Templates: time 0.009948/0.2783, allocations: 10.01 MB / 388.6 MB, free: 7.859 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1035179160535336]