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.0009288/0.0009288, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.000974/0.000974, allocations: 167.1 kB / 25.75 MB, free: 8.598 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.8629/0.8629, allocations: 158.6 MB / 187.5 MB, free: 2.93 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.[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.293e-06/1.293e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.307e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2512/0.2512, allocations: 143.7 MB / 394.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2531, allocations: 2.133 MB / 396.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.2532, allocations: 2.594 kB / 396.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.2535, allocations: 51.77 kB / 397 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.2547, allocations: 0.6375 MB / 397.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.2549, allocations: 116.3 kB / 397.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.2552, allocations: 261.5 kB / 398 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.2553, allocations: 3.469 kB / 398 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.2555, allocations: 165.5 kB / 398.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2557, allocations: 89.88 kB / 398.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2557, allocations: 8.344 kB / 398.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009582/0.2566, allocations: 0.7523 MB / 399 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.2567, allocations: 85.11 kB / 399.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.2568, allocations: 78.02 kB / 399.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007957/0.2576, allocations: 0.6664 MB / 399.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2576, allocations: 0 / 399.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2576, allocations: 2.688 kB / 399.8 MB, free: 9.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2576, allocations: 0 / 399.8 MB, free: 9.504 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.0006109/0.2582, allocations: 0.5274 MB / 400.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2583, allocations: 19.41 kB / 400.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.2596, allocations: 326 kB / 400.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.2599, allocations: 225.8 kB / 400.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2599, allocations: 13.77 kB / 400.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.2599, allocations: 21.78 kB / 400.9 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.2604, allocations: 0.5001 MB / 401.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2604, allocations: 3.938 kB / 401.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.2604, allocations: 10.22 kB / 401.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.2605, allocations: 5.312 kB / 401.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.2609, allocations: 300.5 kB / 401.7 MB, free: 8.34 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.001284/0.2622, allocations: 0.9068 MB / 402.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2624, allocations: 178.3 kB / 402.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.2625, allocations: 106.5 kB / 402.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/0.2629, allocations: 116.2 kB / 403 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2629, allocations: 43.17 kB / 403.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.936e-06/0.2629, allocations: 3.984 kB / 403.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001047/0.264, allocations: 462 kB / 403.5 MB, free: 7.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.264, allocations: 79.92 kB / 403.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.2641, allocations: 189.2 kB / 403.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2641, allocations: 31.52 kB / 403.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.2642, allocations: 160 kB / 404 MB, free: 6.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.2642, allocations: 121.6 kB / 404.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.2643, allocations: 68.58 kB / 404.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.2644, allocations: 0.504 MB / 404.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2645, allocations: 99.48 kB / 404.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2647, allocations: 250.7 kB / 405 MB, free: 6.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.265, allocations: 375.9 kB / 405.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.265, allocations: 6.391 kB / 405.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004861/0.2655, allocations: 378.2 kB / 405.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2655, allocations: 5.5 kB / 405.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2655, allocations: 5.969 kB / 405.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2656, allocations: 7.344 kB / 405.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.2658, allocations: 87.56 kB / 405.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2658, allocations: 9.562 kB / 405.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.266, allocations: 33.92 kB / 405.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.2661, allocations: 14.38 kB / 405.9 MB, free: 5.805 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.0001028/0.2662, allocations: 182 kB / 406.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.2663, allocations: 21.77 kB / 406.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.2667, allocations: 376.2 kB / 406.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2667, allocations: 6.719 kB / 406.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2667, allocations: 0 / 406.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2667, allocations: 0 / 406.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.2671, allocations: 321.1 kB / 406.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2671, allocations: 0 / 406.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.2674, allocations: 62.92 kB / 406.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2674, allocations: 0 / 406.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.2674, allocations: 13.03 kB / 406.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2674, allocations: 7.391 kB / 406.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2674, allocations: 3.938 kB / 406.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.268, allocations: 0.6613 MB / 407.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.268, allocations: 20.41 kB / 407.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.2681, allocations: 3.312 kB / 407.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2683, allocations: 32.41 kB / 407.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.2684, allocations: 16.66 kB / 407.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.2684, allocations: 18.77 kB / 407.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.2684, allocations: 138.3 kB / 407.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2684, allocations: 0 / 407.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.2689, allocations: 159.6 kB / 407.9 MB, free: 4.723 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.0005897/0.2695, allocations: 343.3 kB / 408.3 MB, free: 4.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.2699, allocations: 295.5 kB / 408.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2699, allocations: 2.688 kB / 408.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2701, allocations: 156.8 kB / 408.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.2705, allocations: 102.6 kB / 408.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2716, allocations: 0.6686 MB / 409.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.2717, allocations: 84.06 kB / 409.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.272, allocations: 104.4 kB / 409.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2721, allocations: 33.48 kB / 409.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2721, allocations: 3.938 kB / 409.7 MB, free: 3.73 MB / 330.7 MB Notification: Performance of Templates: time 0.009336/0.2814, allocations: 8.447 MB / 418.2 MB, free: 15.4 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 -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.157846061978489]