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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 178.7 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.3 MB / 235.5 MB, free: 2.922 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.0008772/0.0008772, allocations: 102.3 kB / 286.5 MB, free: 204 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.019/1.019, allocations: 120.5 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.387e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5132, allocations: 82.84 MB / 0.6166 GB, free: 9.328 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.336, allocations: 2.809 GB / 3.426 GB, free: 100.9 MB / 0.714 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/6.336, allocations: 68.98 kB / 3.426 GB, free: 100.9 MB / 0.714 GB Notification: Performance of FrontEnd - DAE generated: time 0.5901/6.926, allocations: 108.9 MB / 3.533 GB, free: 215.8 MB / 0.714 GB Notification: Performance of FrontEnd: time 1.863e-06/6.926, allocations: 1.188 kB / 3.533 GB, free: 215.8 MB / 0.714 GB Notification: Performance of Transformations before backend: time 6.474e-05/6.926, allocations: 15.5 kB / 3.533 GB, free: 215.8 MB / 0.714 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.009727/6.936, allocations: 1.974 MB / 3.534 GB, free: 215.2 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/6.936, allocations: 13.06 kB / 3.534 GB, free: 215.2 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/6.937, allocations: 174.5 kB / 3.535 GB, free: 215.2 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/6.938, allocations: 0.5011 MB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/6.938, allocations: 84.78 kB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/6.939, allocations: 121.6 kB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/6.942, allocations: 1.888 MB / 3.537 GB, free: 214.7 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/6.942, allocations: 10.5 kB / 3.537 GB, free: 214.7 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/6.942, allocations: 49 kB / 3.537 GB, free: 214.7 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/6.942, allocations: 27.59 kB / 3.537 GB, free: 214.7 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/6.945, allocations: 1.669 MB / 3.539 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/6.95, allocations: 4.455 MB / 3.543 GB, free: 212.5 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/6.952, allocations: 1.877 MB / 3.545 GB, free: 212.5 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/6.953, allocations: 0.7233 MB / 3.546 GB, free: 212.5 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05116/7.004, allocations: 32 MB / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/7.004, allocations: 43.91 kB / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of pre-optimization done (n=142): time 3.757e-06/7.004, allocations: 0 / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of matching and sorting (n=202): time 0.0754/7.08, allocations: 20.13 MB / 3.597 GB, free: 191.5 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/7.08, allocations: 76.69 kB / 3.597 GB, free: 191.4 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/7.08, allocations: 194.6 kB / 3.597 GB, free: 191.3 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/7.08, allocations: 58.77 kB / 3.597 GB, free: 191.2 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/7.08, allocations: 287.8 kB / 3.597 GB, free: 191 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/7.081, allocations: 0.7462 MB / 3.598 GB, free: 190.4 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/7.081, allocations: 39.41 kB / 3.598 GB, free: 190.4 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/7.081, allocations: 401.9 kB / 3.598 GB, free: 190 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/7.082, allocations: 0.9783 MB / 3.599 GB, free: 189.8 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/7.083, allocations: 1.229 MB / 3.601 GB, free: 189.2 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/7.085, allocations: 1.189 MB / 3.602 GB, free: 188.9 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/7.085, allocations: 0 / 3.602 GB, free: 188.9 MB / 0.714 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003729/7.089, allocations: 2.994 MB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/7.089, allocations: 7.25 kB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/7.089, allocations: 4.5 kB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/7.091, allocations: 0.7599 MB / 3.605 GB, free: 187.7 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/7.092, allocations: 460.1 kB / 3.606 GB, free: 187.6 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/7.097, allocations: 11.4 MB / 3.617 GB, free: 176.9 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/7.098, allocations: 98.2 kB / 3.617 GB, free: 176.9 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/7.098, allocations: 83.64 kB / 3.617 GB, free: 176.9 MB / 0.714 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.0003192/7.098, allocations: 232.5 kB / 3.617 GB, free: 176.7 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/7.098, allocations: 76.09 kB / 3.618 GB, free: 176.6 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/7.105, allocations: 8.31 MB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-05/7.105, allocations: 80.39 kB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/7.105, allocations: 0 / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/7.105, allocations: 15.2 kB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/7.108, allocations: 3.111 MB / 3.629 GB, free: 171.5 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/7.108, allocations: 3.656 kB / 3.629 GB, free: 171.5 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/7.109, allocations: 346.3 kB / 3.629 GB, free: 171.5 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/7.113, allocations: 1.296 MB / 3.63 GB, free: 171 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/7.113, allocations: 86.3 kB / 3.63 GB, free: 171 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004475/7.117, allocations: 12.12 MB / 3.642 GB, free: 159.1 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/7.117, allocations: 0 / 3.642 GB, free: 159.1 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/7.125, allocations: 8.246 MB / 3.65 GB, free: 151.6 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/7.125, allocations: 262.2 kB / 3.651 GB, free: 151.3 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/7.125, allocations: 67.2 kB / 3.651 GB, free: 151.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/7.126, allocations: 90.73 kB / 3.651 GB, free: 151.2 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/7.126, allocations: 130.5 kB / 3.651 GB, free: 151.1 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/7.126, allocations: 67.69 kB / 3.651 GB, free: 151 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.0001244/7.127, allocations: 143.5 kB / 3.651 GB, free: 150.9 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.41e-07/7.127, allocations: 0 / 3.651 GB, free: 150.9 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.005382/7.132, allocations: 1.225 MB / 3.652 GB, free: 149.7 MB / 0.714 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.004499/7.137, allocations: 1.13 MB / 3.653 GB, free: 148.7 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.004624/7.141, allocations: 3.676 MB / 3.657 GB, free: 145.4 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/7.141, allocations: 0 / 3.657 GB, free: 145.4 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.003361/7.145, allocations: 2.88 MB / 3.66 GB, free: 142.8 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/7.146, allocations: 396.1 kB / 3.66 GB, free: 142.5 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/7.153, allocations: 7.108 MB / 3.667 GB, free: 136.4 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/7.154, allocations: 1.546 MB / 3.669 GB, free: 135.1 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.00152/7.156, allocations: 1.034 MB / 3.67 GB, free: 134.5 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/7.156, allocations: 107.3 kB / 3.67 GB, free: 134.4 MB / 0.714 GB Notification: Performance of SimCode: time 8.02e-07/7.156, allocations: 0 / 3.67 GB, free: 134.4 MB / 0.714 GB Notification: Performance of Templates: time 0.05269/7.209, allocations: 45.78 MB / 3.714 GB, free: 102.4 MB / 0.714 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