Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.1.|E.20.|E.2.|E.3.|M.1.|M.20.|M.2.|M.3.|der.E.1..|der.E.20..|der.E.2..|der.E.3..|der.M.1..|der.M.20..|der.M.2..|der.M.3..|der.h.1..|der.h.20..|der.h.2..|der.h.3..|der.p.1..|der.p.20..|der.p.2..|der.p.3..|der.rho.1..|der.rho.20..|der.rho.2..|der.rho.3..|h.19.|h.1.|h.20.|h.2.|h.3.|h_in.1.|h_in.20.|h_in.2.|h_in.3.|h_out.1.|h_out.20.|h_out.2.|h_out.3.|p.1.|p.20.|p.2.|p.3.|rho.1.|rho.20.|rho.2.|rho.3.|state.1..T|state.1..d|state.1..h|state.1..p|state.20..T|state.20..d|state.20..h|state.20..p|state.2..T|state.2..d|state.2..h|state.2..p|state.3..T|state.3..d|state.3..h|state.3..p|time|time|w_in.1.|w_in.20.|w_in.2.|w_in.3.|w_out.19.|w_out.1.|w_out.20.|w_out.2.|w_out.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.1.|E.20.|E.2.|E.3.|M.1.|M.20.|M.2.|M.3.|der.E.1..|der.E.20..|der.E.2..|der.E.3..|der.M.1..|der.M.20..|der.M.2..|der.M.3..|der.h.1..|der.h.20..|der.h.2..|der.h.3..|der.p.1..|der.p.20..|der.p.2..|der.p.3..|der.rho.1..|der.rho.20..|der.rho.2..|der.rho.3..|h.19.|h.1.|h.20.|h.2.|h.3.|h_in.1.|h_in.20.|h_in.2.|h_in.3.|h_out.1.|h_out.20.|h_out.2.|h_out.3.|p.1.|p.20.|p.2.|p.3.|rho.1.|rho.20.|rho.2.|rho.3.|state.1..T|state.1..d|state.1..h|state.1..p|state.20..T|state.20..d|state.20..h|state.20..p|state.2..T|state.2..d|state.2..h|state.2..p|state.3..T|state.3..d|state.3..h|state.3..p|time|time|w_in.1.|w_in.20.|w_in.2.|w_in.3.|w_out.19.|w_out.1.|w_out.20.|w_out.2.|w_out.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 184.1 kB / 8.137 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.09/1.09, allocations: 221.4 MB / 229.9 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 84.2 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.639/0.639, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.581e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 82.85 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.942/4.048, allocations: 2.809 GB / 3.418 GB, free: 192.7 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/4.048, allocations: 63.83 kB / 3.418 GB, free: 192.7 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.2477/4.296, allocations: 106.8 MB / 3.522 GB, free: 101.3 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 2.009e-05/4.296, allocations: 19.94 kB / 3.522 GB, free: 101.2 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.007603/4.303, allocations: 2.007 MB / 3.524 GB, free: 99.19 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/4.303, allocations: 11.97 kB / 3.524 GB, free: 99.18 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/4.304, allocations: 178.8 kB / 3.524 GB, free: 99 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/4.305, allocations: 0.4899 MB / 3.525 GB, free: 98.47 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/4.305, allocations: 40 kB / 3.525 GB, free: 98.43 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/4.305, allocations: 91.75 kB / 3.525 GB, free: 98.34 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/4.307, allocations: 1.312 MB / 3.526 GB, free: 97.03 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/4.309, allocations: 1.446 MB / 3.528 GB, free: 95.48 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/4.309, allocations: 0 / 3.528 GB, free: 95.48 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/4.309, allocations: 4 kB / 3.528 GB, free: 95.48 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/4.309, allocations: 32 kB / 3.528 GB, free: 95.45 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/4.313, allocations: 4.31 MB / 3.532 GB, free: 91.02 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/4.314, allocations: 1.333 MB / 3.533 GB, free: 89.68 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/4.315, allocations: 0.7075 MB / 3.534 GB, free: 88.97 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05591/4.371, allocations: 32.04 MB / 3.565 GB, free: 53.1 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/4.371, allocations: 47.81 kB / 3.565 GB, free: 53.05 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=142): time 3.166e-06/4.371, allocations: 0 / 3.565 GB, free: 53.05 MB / 0.6984 GB Notification: Performance of matching and sorting (n=202): time 0.01921/4.39, allocations: 7.753 MB / 3.573 GB, free: 45.32 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/4.39, allocations: 73.41 kB / 3.573 GB, free: 45.23 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/4.39, allocations: 181.8 kB / 3.573 GB, free: 45.05 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/4.391, allocations: 25.7 kB / 3.573 GB, free: 45.02 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/4.391, allocations: 289.8 kB / 3.573 GB, free: 44.72 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/4.391, allocations: 0.7122 MB / 3.574 GB, free: 44 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/4.391, allocations: 0 / 3.574 GB, free: 44 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/4.391, allocations: 406.7 kB / 3.574 GB, free: 43.59 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/4.393, allocations: 1.074 MB / 3.575 GB, free: 42.52 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/4.394, allocations: 1.309 MB / 3.577 GB, free: 41.14 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/4.396, allocations: 1.313 MB / 3.578 GB, free: 39.82 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/4.396, allocations: 0 / 3.578 GB, free: 39.82 MB / 0.6984 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00605/4.402, allocations: 3.577 MB / 3.582 GB, free: 36.18 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/4.402, allocations: 4 kB / 3.582 GB, free: 36.17 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/4.402, allocations: 4 kB / 3.582 GB, free: 36.17 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/4.404, allocations: 0.7317 MB / 3.582 GB, free: 35.38 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/4.406, allocations: 447.5 kB / 3.583 GB, free: 34.94 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/4.411, allocations: 11.7 MB / 3.594 GB, free: 22.72 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00098/4.412, allocations: 44.05 kB / 3.594 GB, free: 22.68 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/4.412, allocations: 83.98 kB / 3.594 GB, free: 22.6 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 20 (state[20].phase,state[19].phase,state[18].phase,state[17].phase,state[16].phase,state[15].phase,state[14].phase,state[13].phase,state[12].phase,state[11].phase,state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004274/4.413, allocations: 160.5 kB / 3.594 GB, free: 22.43 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/4.414, allocations: 498.5 kB / 3.595 GB, free: 21.95 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/4.423, allocations: 9.304 MB / 3.604 GB, free: 12.49 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/4.423, allocations: 75.89 kB / 3.604 GB, free: 12.42 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/4.423, allocations: 0 / 3.604 GB, free: 12.42 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/4.423, allocations: 15.95 kB / 3.604 GB, free: 12.4 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/4.425, allocations: 2.891 MB / 3.607 GB, free: 9.465 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/4.426, allocations: 3.938 kB / 3.607 GB, free: 9.461 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/4.427, allocations: 335.6 kB / 3.607 GB, free: 9.133 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/4.429, allocations: 1.218 MB / 3.608 GB, free: 7.852 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/4.43, allocations: 71.81 kB / 3.608 GB, free: 7.781 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2088/4.639, allocations: 12.83 MB / 3.621 GB, free: 186.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/4.639, allocations: 0 / 3.621 GB, free: 186.8 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009214/4.648, allocations: 10.19 MB / 3.631 GB, free: 186.1 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/4.648, allocations: 209.7 kB / 3.631 GB, free: 186 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/4.648, allocations: 41.2 kB / 3.631 GB, free: 186 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/4.649, allocations: 44.34 kB / 3.631 GB, free: 186 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/4.649, allocations: 127.7 kB / 3.631 GB, free: 186 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/4.649, allocations: 69.36 kB / 3.631 GB, free: 186 MB / 0.6984 GB Notification: Performance of sort global known variables: time 8.907e-05/4.649, allocations: 138.2 kB / 3.632 GB, free: 185.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003864/4.653, allocations: 1.177 MB / 3.633 GB, free: 185.9 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15],p[16],p[17],p[18],p[19],p[20],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15],h[16],h[17],h[18],h[19],h[20]) * Number of discrete variables: 40 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003661/4.657, allocations: 1.201 MB / 3.634 GB, free: 185.8 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.004927/4.662, allocations: 4.942 MB / 3.639 GB, free: 185.8 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/4.662, allocations: 0 / 3.639 GB, free: 185.8 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/4.666, allocations: 4.278 MB / 3.643 GB, free: 185.7 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/4.668, allocations: 350.3 kB / 3.643 GB, free: 185.7 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/4.675, allocations: 7.79 MB / 3.651 GB, free: 184.9 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/4.676, allocations: 1.681 MB / 3.652 GB, free: 184.2 MB / 0.6984 GB Notification: Performance of SimCode: time 9.22e-07/4.676, allocations: 0 / 3.652 GB, free: 184.2 MB / 0.6984 GB Notification: Performance of Templates: time 0.05544/4.732, allocations: 52.35 MB / 3.704 GB, free: 181.1 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches