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.00147/0.00147, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001476/0.001476, allocations: 170.8 kB / 25.03 MB, free: 8.43 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 1.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.867 MB / 170.7 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.449e-05, allocations: 6.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2719/0.2719, allocations: 129.9 MB / 380.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.2748, allocations: 1.876 MB / 382.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.2748, allocations: 0 / 382.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.2752, allocations: 54.48 kB / 382.2 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2767, allocations: 0.6411 MB / 382.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.277, allocations: 103.7 kB / 382.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.2774, allocations: 262.9 kB / 383.2 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.2774, allocations: 4 kB / 383.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.2777, allocations: 171.3 kB / 383.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2779, allocations: 91.73 kB / 383.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.278, allocations: 8 kB / 383.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.2794, allocations: 0.7518 MB / 384.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2795, allocations: 83.77 kB / 384.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2797, allocations: 79.83 kB / 384.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2807, allocations: 0.7013 MB / 385.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2808, allocations: 3.938 kB / 385.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2808, allocations: 0 / 385.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2808, allocations: 0 / 385.1 MB, free: 15.06 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.0008644/0.2816, allocations: 441.5 kB / 385.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2817, allocations: 15.98 kB / 385.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.2839, allocations: 344.2 kB / 385.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.2845, allocations: 217.5 kB / 386.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2846, allocations: 8.703 kB / 386.1 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.2847, allocations: 24.38 kB / 386.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2857, allocations: 0.644 MB / 386.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2857, allocations: 3.938 kB / 386.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.2857, allocations: 12 kB / 386.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.2858, allocations: 8 kB / 386.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2868, allocations: 0.5894 MB / 387.4 MB, free: 12.67 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.002398/0.2892, allocations: 0.9112 MB / 388.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.2896, allocations: 238.2 kB / 388.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2899, allocations: 185.6 kB / 388.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/0.2907, allocations: 124 kB / 388.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2907, allocations: 46.64 kB / 388.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.2908, allocations: 0 / 388.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002116/0.2929, allocations: 0.6224 MB / 389.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.2929, allocations: 81.11 kB / 389.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2931, allocations: 137.7 kB / 389.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.2931, allocations: 29.7 kB / 389.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.2932, allocations: 112.6 kB / 389.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2934, allocations: 115 kB / 389.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2935, allocations: 61.69 kB / 390 MB, free: 9.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2937, allocations: 330.8 kB / 390.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.2941, allocations: 183.9 kB / 390.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.2946, allocations: 292.5 kB / 390.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.2955, allocations: 495.8 kB / 391.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2955, allocations: 0 / 391.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001137/0.2966, allocations: 0.5369 MB / 391.8 MB, free: 8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2966, allocations: 4.625 kB / 391.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2967, allocations: 4 kB / 391.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2967, allocations: 7.938 kB / 391.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.2972, allocations: 83.83 kB / 391.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2972, allocations: 8 kB / 391.9 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2976, allocations: 35.77 kB / 391.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.2977, allocations: 24.3 kB / 392 MB, free: 7.836 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.0001959/0.2979, allocations: 145.7 kB / 392.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.298, allocations: 27.89 kB / 392.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2992, allocations: 498.7 kB / 392.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.2992, allocations: 7.938 kB / 392.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2992, allocations: 0 / 392.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2992, allocations: 0 / 392.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.2999, allocations: 358.2 kB / 393 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2999, allocations: 0 / 393 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.3004, allocations: 59.89 kB / 393 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3004, allocations: 0 / 393 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.3005, allocations: 12 kB / 393.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3005, allocations: 4 kB / 393.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3005, allocations: 3.938 kB / 393.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.302, allocations: 0.6951 MB / 393.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.302, allocations: 23.83 kB / 393.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.3021, allocations: 8 kB / 393.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.3026, allocations: 23.91 kB / 393.8 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.3027, allocations: 19.97 kB / 393.8 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.3027, allocations: 20.86 kB / 393.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.3028, allocations: 100.5 kB / 393.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3028, allocations: 0 / 393.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.3035, allocations: 159.7 kB / 394.1 MB, free: 5.641 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.0008873/0.3044, allocations: 338.7 kB / 394.4 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.3052, allocations: 428.1 kB / 394.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3053, allocations: 256 / 394.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.3057, allocations: 215.8 kB / 395.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.3064, allocations: 97.39 kB / 395.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3078, allocations: 0.7074 MB / 395.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.308, allocations: 128.5 kB / 396 MB, free: 3.703 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.3084, allocations: 109.8 kB / 396.1 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3086, allocations: 36.48 kB / 396.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3086, allocations: 0 / 396.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of Templates: time 0.01577/0.3244, allocations: 8.39 MB / 404.5 MB, free: 11.21 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=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: 4.76885269000195]