Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.001407/0.001407, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001441/0.001441, allocations: 173.3 kB / 24.14 MB, free: 356 kB / 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.8774/0.8774, allocations: 158.6 MB / 186 MB, free: 2.723 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.39 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.553e-05, allocations: 2.312 kB / 299 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.278/0.278, allocations: 143.3 MB / 442.4 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.2798, allocations: 2.137 MB / 444.5 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.2798, allocations: 4 kB / 444.5 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.2802, allocations: 47.69 kB / 444.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.2815, allocations: 0.6489 MB / 445.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.2817, allocations: 115.6 kB / 445.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.282, allocations: 258.9 kB / 445.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.282, allocations: 8 kB / 445.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.2822, allocations: 163.5 kB / 445.7 MB, free: 11.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2824, allocations: 83.77 kB / 445.8 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.2824, allocations: 8 kB / 445.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.2834, allocations: 0.7477 MB / 446.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.2835, allocations: 91.77 kB / 446.7 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.2835, allocations: 71.84 kB / 446.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007335/0.2843, allocations: 0.6624 MB / 447.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2843, allocations: 4 kB / 447.4 MB, free: 9.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2843, allocations: 0 / 447.4 MB, free: 9.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2843, allocations: 3.938 kB / 447.4 MB, free: 9.461 MB / 410.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.0005087/0.2848, allocations: 413 kB / 447.8 MB, free: 9.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.2848, allocations: 8.031 kB / 447.8 MB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.2858, allocations: 300.3 kB / 448.1 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.286, allocations: 205.5 kB / 448.3 MB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.286, allocations: 8.703 kB / 448.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.2861, allocations: 24.36 kB / 448.3 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2865, allocations: 466 kB / 448.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2865, allocations: 0 / 448.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.2865, allocations: 8 kB / 448.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.2865, allocations: 8 kB / 448.8 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2868, allocations: 210.1 kB / 449 MB, free: 7.75 MB / 410.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.001224/0.288, allocations: 0.6846 MB / 449.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.2882, allocations: 165 kB / 449.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2884, allocations: 81.83 kB / 449.9 MB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/0.2887, allocations: 109.2 kB / 450.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2887, allocations: 38.56 kB / 450.1 MB, free: 6.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2887, allocations: 0 / 450.1 MB, free: 6.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007799/0.2895, allocations: 352.8 kB / 450.4 MB, free: 6.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2895, allocations: 85.05 kB / 450.5 MB, free: 6.176 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.2896, allocations: 130.5 kB / 450.6 MB, free: 6.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.2896, allocations: 33.7 kB / 450.7 MB, free: 5.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2897, allocations: 108.5 kB / 450.8 MB, free: 5.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.2897, allocations: 111 kB / 450.9 MB, free: 5.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.2898, allocations: 73.66 kB / 451 MB, free: 5.699 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.2899, allocations: 326.8 kB / 451.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.29, allocations: 66.81 kB / 451.4 MB, free: 5.305 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2901, allocations: 172.5 kB / 451.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.2904, allocations: 281.2 kB / 451.8 MB, free: 4.766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2904, allocations: 3.938 kB / 451.8 MB, free: 4.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003707/0.2907, allocations: 273.1 kB / 452.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.2908, allocations: 8 kB / 452.1 MB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2908, allocations: 4 kB / 452.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2908, allocations: 4 kB / 452.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.291, allocations: 75.89 kB / 452.2 MB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.2911, allocations: 16.69 kB / 452.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2912, allocations: 32.17 kB / 452.2 MB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.2912, allocations: 20 kB / 452.2 MB, free: 4.332 MB / 410.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.00012/0.2914, allocations: 124.6 kB / 452.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.2915, allocations: 27.92 kB / 452.4 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.2918, allocations: 274.2 kB / 452.6 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2918, allocations: 4 kB / 452.6 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2918, allocations: 3.938 kB / 452.6 MB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2918, allocations: 3.984 kB / 452.7 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.2921, allocations: 189.7 kB / 452.8 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2921, allocations: 0 / 452.8 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.2923, allocations: 55.91 kB / 452.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2923, allocations: 3.984 kB / 452.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2923, allocations: 8 kB / 452.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2923, allocations: 7.438 kB / 452.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2923, allocations: 4 kB / 452.9 MB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.2928, allocations: 0.5274 MB / 453.4 MB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.2928, allocations: 19.84 kB / 453.5 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2928, allocations: 8 kB / 453.5 MB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.293, allocations: 11.98 kB / 453.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.293, allocations: 23.91 kB / 453.5 MB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.293, allocations: 15.98 kB / 453.5 MB, free: 2.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.2931, allocations: 21.61 kB / 453.5 MB, free: 2.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2931, allocations: 0 / 453.5 MB, free: 2.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.2935, allocations: 159.7 kB / 453.7 MB, free: 2.816 MB / 410.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.000607/0.2941, allocations: 320.5 kB / 454 MB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.2944, allocations: 208.5 kB / 454.2 MB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.2944, allocations: 4.812 kB / 454.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.2945, allocations: 120.3 kB / 454.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2949, allocations: 96.72 kB / 454.4 MB, free: 2.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.2957, allocations: 0.5296 MB / 455 MB, free: 1.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.2958, allocations: 88.66 kB / 455 MB, free: 1.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.296, allocations: 89.77 kB / 455.1 MB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.2963, allocations: 145.2 kB / 455.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2963, allocations: 0 / 455.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of Templates: time 0.1831/0.4795, allocations: 9.702 MB / 465 MB, free: 14.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/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.5671512028202415]