Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009486/0.0009486, allocations: 175.5 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.243/1.243, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.000859/0.000859, allocations: 96.67 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9114/0.9114, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.367e-05, allocations: 4 kB / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5229, allocations: 82.84 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.08/6.603, allocations: 2.809 GB / 3.426 GB, free: 100.9 MB / 0.714 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/6.603, allocations: 77.11 kB / 3.426 GB, free: 100.9 MB / 0.714 GB Notification: Performance of FrontEnd - DAE generated: time 0.6633/7.266, allocations: 108.9 MB / 3.533 GB, free: 215.8 MB / 0.714 GB Notification: Performance of FrontEnd: time 1.302e-06/7.266, allocations: 0 / 3.533 GB, free: 215.8 MB / 0.714 GB Notification: Performance of Transformations before backend: time 2.975e-05/7.266, allocations: 15.31 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.008645/7.275, allocations: 1.973 MB / 3.534 GB, free: 215.2 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/7.275, allocations: 9.812 kB / 3.534 GB, free: 215.2 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008654/7.276, allocations: 177.5 kB / 3.535 GB, free: 215.1 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/7.277, allocations: 0.5013 MB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/7.277, allocations: 81.66 kB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/7.277, allocations: 135.1 kB / 3.535 GB, free: 214.9 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00311/7.28, allocations: 1.888 MB / 3.537 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/7.28, allocations: 3.844 kB / 3.537 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/7.28, allocations: 43.19 kB / 3.537 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/7.28, allocations: 34.19 kB / 3.537 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/7.283, allocations: 1.672 MB / 3.539 GB, free: 214.6 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0045/7.288, allocations: 4.449 MB / 3.543 GB, free: 212.5 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/7.29, allocations: 1.876 MB / 3.545 GB, free: 212.4 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/7.291, allocations: 0.7165 MB / 3.546 GB, free: 212.4 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05462/7.346, allocations: 32.02 MB / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/7.346, allocations: 50.22 kB / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of pre-optimization done (n=142): time 3.366e-06/7.346, allocations: 0 / 3.577 GB, free: 193 MB / 0.714 GB Notification: Performance of matching and sorting (n=202): time 0.07756/7.423, allocations: 20.12 MB / 3.597 GB, free: 191.4 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/7.424, allocations: 73.16 kB / 3.597 GB, free: 191.3 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/7.424, allocations: 197 kB / 3.597 GB, free: 191.2 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/7.424, allocations: 57.36 kB / 3.597 GB, free: 191.2 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/7.424, allocations: 287.9 kB / 3.597 GB, free: 190.9 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/7.424, allocations: 0.7427 MB / 3.598 GB, free: 190.4 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/7.424, allocations: 39.72 kB / 3.598 GB, free: 190.3 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/7.424, allocations: 401.5 kB / 3.598 GB, free: 190 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/7.426, allocations: 0.9835 MB / 3.599 GB, free: 189.7 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/7.427, allocations: 1.233 MB / 3.601 GB, free: 189.2 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/7.428, allocations: 1.18 MB / 3.602 GB, free: 188.9 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/7.428, allocations: 3.969 kB / 3.602 GB, free: 188.9 MB / 0.714 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003583/7.432, allocations: 2.996 MB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/7.432, allocations: 8.719 kB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/7.432, allocations: 3.938 kB / 3.605 GB, free: 187.9 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/7.434, allocations: 0.7654 MB / 3.605 GB, free: 187.6 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/7.436, allocations: 460.8 kB / 3.606 GB, free: 187.6 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/7.44, allocations: 11.4 MB / 3.617 GB, free: 176.9 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/7.441, allocations: 101.1 kB / 3.617 GB, free: 176.8 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/7.441, allocations: 82.09 kB / 3.617 GB, free: 176.8 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.0003257/7.441, allocations: 227 kB / 3.617 GB, free: 176.6 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/7.442, allocations: 73.94 kB / 3.618 GB, free: 176.6 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007161/7.449, allocations: 8.313 MB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/7.449, allocations: 80.67 kB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/7.449, allocations: 3.312 kB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/7.449, allocations: 14.78 kB / 3.626 GB, free: 172.9 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/7.451, allocations: 3.109 MB / 3.629 GB, free: 171.4 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/7.451, allocations: 0 / 3.629 GB, free: 171.4 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/7.453, allocations: 350.9 kB / 3.629 GB, free: 171.4 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/7.456, allocations: 1.293 MB / 3.63 GB, free: 171 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/7.457, allocations: 88.17 kB / 3.63 GB, free: 171 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/7.461, allocations: 12.12 MB / 3.642 GB, free: 159 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.461, allocations: 0 / 3.642 GB, free: 159 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/7.468, allocations: 8.246 MB / 3.65 GB, free: 151.4 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/7.469, allocations: 262.1 kB / 3.651 GB, free: 151.2 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/7.469, allocations: 67.39 kB / 3.651 GB, free: 151.1 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/7.47, allocations: 90.64 kB / 3.651 GB, free: 151 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/7.47, allocations: 134.9 kB / 3.651 GB, free: 150.9 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/7.47, allocations: 63.36 kB / 3.651 GB, free: 150.9 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.000103/7.47, allocations: 139.5 kB / 3.651 GB, free: 150.8 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.81e-07/7.47, allocations: 4 kB / 3.651 GB, free: 150.8 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004633/7.475, allocations: 1.225 MB / 3.652 GB, free: 149.6 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.005224/7.48, allocations: 1.131 MB / 3.653 GB, free: 148.6 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.005078/7.485, allocations: 3.665 MB / 3.657 GB, free: 145.3 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/7.485, allocations: 0 / 3.657 GB, free: 145.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/7.489, allocations: 2.877 MB / 3.66 GB, free: 142.7 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/7.491, allocations: 405 kB / 3.66 GB, free: 142.4 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007197/7.498, allocations: 7.102 MB / 3.667 GB, free: 136.3 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/7.499, allocations: 1.549 MB / 3.669 GB, free: 135 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.001537/7.5, allocations: 1.041 MB / 3.67 GB, free: 134.4 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/7.501, allocations: 99.44 kB / 3.67 GB, free: 134.3 MB / 0.714 GB Notification: Performance of SimCode: time 9.72e-07/7.501, allocations: 0 / 3.67 GB, free: 134.3 MB / 0.714 GB Notification: Performance of Templates: time 0.05274/7.553, allocations: 45.78 MB / 3.714 GB, free: 102.3 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches