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.0009039/0.0009039, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008864/0.0008864, allocations: 158.6 kB / 25.45 MB, free: 9.352 MB / 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.8452/0.8452, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|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 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.106e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.249/0.2491, allocations: 129.9 MB / 429.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2505, allocations: 1.873 MB / 431.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.2506, allocations: 4 kB / 431.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.2509, allocations: 54.34 kB / 431.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009717/0.2519, allocations: 0.6334 MB / 432.1 MB, free: 7.219 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.2521, allocations: 111.6 kB / 432.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.2523, allocations: 266.9 kB / 432.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.2524, allocations: 4 kB / 432.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.2526, allocations: 163.5 kB / 432.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2527, allocations: 91.75 kB / 432.8 MB, free: 6.594 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2527, allocations: 8 kB / 432.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.2535, allocations: 0.7594 MB / 433.5 MB, free: 5.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.2536, allocations: 79.78 kB / 433.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.2537, allocations: 80.58 kB / 433.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.2543, allocations: 0.7014 MB / 434.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2544, allocations: 0 / 434.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2544, allocations: 3.938 kB / 434.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2544, allocations: 4 kB / 434.4 MB, free: 4.957 MB / 362.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.0006142/0.255, allocations: 435.8 kB / 434.8 MB, free: 4.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.255, allocations: 15.98 kB / 434.8 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.256, allocations: 272.5 kB / 435.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.2563, allocations: 222.4 kB / 435.3 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2563, allocations: 12.7 kB / 435.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.2564, allocations: 16.38 kB / 435.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.2569, allocations: 0.6556 MB / 436 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.257, allocations: 3.938 kB / 436 MB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.257, allocations: 8 kB / 436 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.257, allocations: 12 kB / 436 MB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.2575, allocations: 0.5933 MB / 436.6 MB, free: 2.633 MB / 362.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.001243/0.2588, allocations: 0.8988 MB / 437.5 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.259, allocations: 236.6 kB / 437.8 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2592, allocations: 183.6 kB / 437.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.2596, allocations: 128 kB / 438.1 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.2596, allocations: 38.56 kB / 438.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.2596, allocations: 0 / 438.1 MB, free: 1.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001063/0.2606, allocations: 0.6052 MB / 438.7 MB, free: 500 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2607, allocations: 81.11 kB / 438.8 MB, free: 400 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.2608, allocations: 135.2 kB / 438.9 MB, free: 256 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2608, allocations: 29.7 kB / 438.9 MB, free: 220 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.2608, allocations: 120.5 kB / 439.1 MB, free: 96 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.2609, allocations: 107.3 kB / 439.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.261, allocations: 73.58 kB / 439.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.2611, allocations: 330.8 kB / 439.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.2613, allocations: 179.9 kB / 439.7 MB, free: 15.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.2615, allocations: 289.1 kB / 440 MB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.262, allocations: 492.6 kB / 440.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.262, allocations: 0 / 440.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000558/0.2625, allocations: 0.5173 MB / 441 MB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2625, allocations: 11.94 kB / 441 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2625, allocations: 7.938 kB / 441 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2625, allocations: 7.75 kB / 441 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.2628, allocations: 84.23 kB / 441.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2628, allocations: 8 kB / 441.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.263, allocations: 35.77 kB / 441.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.263, allocations: 23.98 kB / 441.2 MB, free: 13.85 MB / 378.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.0001013/0.2631, allocations: 149.6 kB / 441.3 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.2631, allocations: 11.95 kB / 441.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.2637, allocations: 492.5 kB / 441.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2637, allocations: 11.92 kB / 441.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2637, allocations: 0 / 441.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2637, allocations: 3.938 kB / 441.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.2641, allocations: 357.9 kB / 442.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2641, allocations: 4 kB / 442.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2643, allocations: 55.95 kB / 442.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2643, allocations: 0 / 442.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.2643, allocations: 12 kB / 442.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2643, allocations: 0 / 442.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2643, allocations: 3.938 kB / 442.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.265, allocations: 0.6915 MB / 443 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.265, allocations: 24.7 kB / 443 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.265, allocations: 8 kB / 443 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2652, allocations: 27.91 kB / 443 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2653, allocations: 19.97 kB / 443 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.2653, allocations: 19.92 kB / 443.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.2653, allocations: 102.1 kB / 443.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2653, allocations: 0 / 443.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.2657, allocations: 155.7 kB / 443.3 MB, free: 11.68 MB / 378.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.0004996/0.2662, allocations: 339.7 kB / 443.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.2667, allocations: 424 kB / 444.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2667, allocations: 0 / 444.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.2669, allocations: 215.9 kB / 444.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.2673, allocations: 99.55 kB / 444.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.268, allocations: 0.7204 MB / 445.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.2681, allocations: 131.3 kB / 445.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2682, allocations: 32.48 kB / 445.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2682, allocations: 0 / 445.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of Templates: time 0.005822/0.274, allocations: 6.962 MB / 452.2 MB, free: 2.719 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0070198848843575]