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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 175.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 223.5 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007498/0.0007498, allocations: 87.91 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7271/0.7271, allocations: 120.4 MB / 440.6 MB, free: 4.07 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 12 kB / 0.5188 GB, free: 57.23 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 80 MB / 0.597 GB, free: 9.102 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.304/4.406, allocations: 2.805 GB / 3.402 GB, free: 191.6 MB / 0.6828 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/4.407, allocations: 70.95 kB / 3.402 GB, free: 191.6 MB / 0.6828 GB Notification: Performance of FrontEnd - DAE generated: time 0.2181/4.625, allocations: 106.5 MB / 3.506 GB, free: 84.88 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.833e-06/4.625, allocations: 0 / 3.506 GB, free: 84.88 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 1.646e-05/4.625, allocations: 19.94 kB / 3.506 GB, free: 84.86 MB / 0.6828 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.005772/4.631, allocations: 1.971 MB / 3.508 GB, free: 82.83 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/4.631, allocations: 12.03 kB / 3.508 GB, free: 82.82 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/4.631, allocations: 175.7 kB / 3.508 GB, free: 82.65 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/4.632, allocations: 0.5028 MB / 3.508 GB, free: 82.11 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/4.632, allocations: 82.62 kB / 3.508 GB, free: 82.02 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/4.632, allocations: 132.1 kB / 3.509 GB, free: 81.89 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/4.635, allocations: 1.832 MB / 3.51 GB, free: 79.96 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/4.635, allocations: 7.938 kB / 3.51 GB, free: 79.96 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/4.635, allocations: 44 kB / 3.51 GB, free: 79.91 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/4.635, allocations: 28 kB / 3.51 GB, free: 79.89 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/4.638, allocations: 1.616 MB / 3.512 GB, free: 78.26 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/4.641, allocations: 4.454 MB / 3.516 GB, free: 73.67 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/4.644, allocations: 1.816 MB / 3.518 GB, free: 71.84 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/4.644, allocations: 0.7308 MB / 3.519 GB, free: 71.11 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04329/4.688, allocations: 31.88 MB / 3.55 GB, free: 35.41 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/4.688, allocations: 47.88 kB / 3.55 GB, free: 35.36 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=142): time 2.676e-06/4.688, allocations: 0 / 3.55 GB, free: 35.36 MB / 0.6828 GB Notification: Performance of matching and sorting (n=202): time 0.06313/4.751, allocations: 20.65 MB / 3.57 GB, free: 14.73 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/4.751, allocations: 73.41 kB / 3.57 GB, free: 14.64 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/4.751, allocations: 234.2 kB / 3.571 GB, free: 14.41 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/4.751, allocations: 57.7 kB / 3.571 GB, free: 14.34 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/4.751, allocations: 281.8 kB / 3.571 GB, free: 14.06 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/4.752, allocations: 0.7473 MB / 3.572 GB, free: 13.3 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/4.752, allocations: 40 kB / 3.572 GB, free: 13.26 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/4.752, allocations: 394.8 kB / 3.572 GB, free: 12.87 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/4.753, allocations: 0.9643 MB / 3.573 GB, free: 11.9 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/4.754, allocations: 1.223 MB / 3.574 GB, free: 10.6 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/4.757, allocations: 2.36 MB / 3.576 GB, free: 8.18 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/4.757, allocations: 0 / 3.576 GB, free: 8.18 MB / 0.6828 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003402/4.76, allocations: 2.968 MB / 3.579 GB, free: 5.141 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/4.76, allocations: 8.625 kB / 3.579 GB, free: 5.133 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/4.76, allocations: 8 kB / 3.579 GB, free: 5.125 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/4.763, allocations: 0.7581 MB / 3.58 GB, free: 4.305 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/4.764, allocations: 467.3 kB / 3.581 GB, free: 3.848 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2168/4.981, allocations: 11.41 MB / 3.592 GB, free: 173.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/4.982, allocations: 92.73 kB / 3.592 GB, free: 173.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/4.982, allocations: 81.56 kB / 3.592 GB, free: 173.3 MB / 0.6828 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 () * Number of clocked 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.0005801/4.983, allocations: 401 kB / 3.592 GB, free: 173.2 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/4.983, allocations: 77.81 kB / 3.592 GB, free: 173.2 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/4.991, allocations: 8.349 MB / 3.6 GB, free: 172.5 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/4.991, allocations: 81.73 kB / 3.601 GB, free: 172.5 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/4.991, allocations: 1.25 kB / 3.601 GB, free: 172.5 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/4.991, allocations: 11.39 kB / 3.601 GB, free: 172.5 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/4.994, allocations: 3.112 MB / 3.604 GB, free: 172.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/4.994, allocations: 5 kB / 3.604 GB, free: 172.3 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/4.995, allocations: 346.1 kB / 3.604 GB, free: 172.3 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/4.999, allocations: 1.3 MB / 3.605 GB, free: 172.1 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/4.999, allocations: 85.05 kB / 3.605 GB, free: 172.1 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/5.004, allocations: 12.14 MB / 3.617 GB, free: 161.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/5.004, allocations: 1.031 kB / 3.617 GB, free: 161.7 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/5.013, allocations: 8.31 MB / 3.625 GB, free: 158.6 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/5.013, allocations: 268.3 kB / 3.625 GB, free: 158.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/5.013, allocations: 67.86 kB / 3.626 GB, free: 158.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/5.014, allocations: 92.61 kB / 3.626 GB, free: 158.4 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/5.014, allocations: 134.6 kB / 3.626 GB, free: 158.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/5.014, allocations: 69.73 kB / 3.626 GB, free: 158.4 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 9.567e-05/5.015, allocations: 138.4 kB / 3.626 GB, free: 158.3 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.3e-07/5.015, allocations: 3.562 kB / 3.626 GB, free: 158.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.003614/5.018, allocations: 1.221 MB / 3.627 GB, free: 158.2 MB / 0.6828 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 () * Number of clocked 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.004699/5.023, allocations: 1.131 MB / 3.628 GB, free: 158 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.004546/5.027, allocations: 3.677 MB / 3.632 GB, free: 156.9 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/5.027, allocations: 0 / 3.632 GB, free: 156.9 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.003272/5.031, allocations: 2.912 MB / 3.635 GB, free: 155.7 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/5.032, allocations: 436.7 kB / 3.635 GB, free: 155.6 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/5.04, allocations: 8.921 MB / 3.644 GB, free: 151.9 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/5.041, allocations: 1.508 MB / 3.645 GB, free: 151.1 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.001382/5.043, allocations: 1.033 MB / 3.646 GB, free: 151 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/5.043, allocations: 109.1 kB / 3.646 GB, free: 151 MB / 0.6828 GB Notification: Performance of SimCode: time 4.81e-07/5.043, allocations: 0 / 3.646 GB, free: 151 MB / 0.6828 GB Notification: Performance of Templates: time 0.05262/5.096, allocations: 47.34 MB / 3.693 GB, free: 147.8 MB / 0.6828 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/jenkins1/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