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.001154/0.001154, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001273/0.001273, allocations: 164.1 kB / 25.69 MB, free: 8.457 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.9561/0.9561, allocations: 158.6 MB / 187.6 MB, free: 2.805 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.804e-06/1.804e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.515e-05, allocations: 10.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2847/0.2848, allocations: 143.4 MB / 394.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.2866, allocations: 2.142 MB / 397.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.2867, allocations: 1.203 kB / 397.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.287, allocations: 49.28 kB / 397.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.2883, allocations: 0.6281 MB / 397.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2885, allocations: 108.7 kB / 397.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.2889, allocations: 262.5 kB / 398.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.2889, allocations: 10.42 kB / 398.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.2892, allocations: 167.1 kB / 398.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.2894, allocations: 85.11 kB / 398.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.2894, allocations: 8.656 kB / 398.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.2906, allocations: 0.7561 MB / 399.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.205e-05/0.2907, allocations: 88.84 kB / 399.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/0.2908, allocations: 73.94 kB / 399.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.2916, allocations: 0.6735 MB / 400 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2917, allocations: 0 / 400 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2917, allocations: 0 / 400 MB, free: 8.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2917, allocations: 2.219 kB / 400 MB, free: 8.75 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.0005375/0.2922, allocations: 408.3 kB / 400.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2922, allocations: 14.61 kB / 400.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2934, allocations: 307.8 kB / 400.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2936, allocations: 207.5 kB / 400.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2936, allocations: 13.64 kB / 400.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.2937, allocations: 22.39 kB / 400.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.294, allocations: 457.4 kB / 401.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.294, allocations: 7.875 kB / 401.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.2941, allocations: 9.312 kB / 401.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.2941, allocations: 7.781 kB / 401.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.2944, allocations: 210.9 kB / 401.6 MB, free: 7.738 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.0009804/0.2953, allocations: 0.6785 MB / 402.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2955, allocations: 166.8 kB / 402.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.2956, allocations: 84 kB / 402.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.2959, allocations: 101.6 kB / 402.6 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.2959, allocations: 40.92 kB / 402.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.2959, allocations: 0 / 402.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007755/0.2967, allocations: 351.2 kB / 403 MB, free: 7.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.2967, allocations: 83.2 kB / 403.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.2967, allocations: 122.8 kB / 403.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2968, allocations: 31.73 kB / 403.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.2968, allocations: 114.7 kB / 403.4 MB, free: 6.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.2968, allocations: 120.5 kB / 403.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.2969, allocations: 60.88 kB / 403.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.297, allocations: 331.5 kB / 403.9 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.297, allocations: 68.72 kB / 403.9 MB, free: 6.262 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2971, allocations: 170.2 kB / 404.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.2974, allocations: 278.2 kB / 404.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2974, allocations: 6.188 kB / 404.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003036/0.2977, allocations: 281.1 kB / 404.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2977, allocations: 5.219 kB / 404.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2977, allocations: 5.469 kB / 404.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2977, allocations: 5.781 kB / 404.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.298, allocations: 77.27 kB / 404.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.298, allocations: 10.41 kB / 404.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2981, allocations: 33.95 kB / 404.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2981, allocations: 19.25 kB / 404.8 MB, free: 5.812 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 7.986e-05/0.2982, allocations: 136 kB / 404.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2983, allocations: 24.2 kB / 405 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.2986, allocations: 281.1 kB / 405.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2986, allocations: 2.844 kB / 405.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2986, allocations: 0 / 405.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2986, allocations: 7.922 kB / 405.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.2989, allocations: 190.4 kB / 405.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2989, allocations: 0 / 405.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2991, allocations: 60.7 kB / 405.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2991, allocations: 2.656 kB / 405.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2992, allocations: 6.219 kB / 405.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2992, allocations: 6.281 kB / 405.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2992, allocations: 0 / 405.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.2995, allocations: 0.5172 MB / 406 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.2995, allocations: 13.3 kB / 406 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.2996, allocations: 9.469 kB / 406 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2998, allocations: 19.06 kB / 406.1 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.2998, allocations: 25.14 kB / 406.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2998, allocations: 16.23 kB / 406.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.665e-05/0.2998, allocations: 23.64 kB / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2998, allocations: 0 / 406.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.3003, allocations: 158.7 kB / 406.3 MB, free: 5.074 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.0004992/0.3008, allocations: 321.6 kB / 406.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.3011, allocations: 208.1 kB / 406.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3011, allocations: 4.188 kB / 406.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3012, allocations: 126.2 kB / 406.9 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3015, allocations: 111.4 kB / 407 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/0.3023, allocations: 0.5225 MB / 407.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.3024, allocations: 86.59 kB / 407.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.3026, allocations: 80.08 kB / 407.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3029, allocations: 148.9 kB / 407.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3029, allocations: 0 / 407.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of Templates: time 0.0095/0.3124, allocations: 9.785 MB / 417.6 MB, free: 15.14 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 -s gbode -gbm=radauIIA3 -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.157331191934645]