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.001396/0.001396, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.259/1.259, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008464/0.0008465, allocations: 89.84 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8617/0.8617, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.945e-05, allocations: 0 / 0.5288 GB, free: 1.297 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6053, allocations: 82.85 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.207/6.813, allocations: 2.809 GB / 3.419 GB, free: 249.5 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/6.813, allocations: 76.88 kB / 3.419 GB, free: 249.5 MB / 0.6984 GB Notification: Performance of FrontEnd - DAE generated: time 0.2554/7.068, allocations: 107.3 MB / 3.523 GB, free: 175.9 MB / 0.6984 GB Notification: Performance of FrontEnd: time 1.523e-06/7.068, allocations: 0 / 3.523 GB, free: 175.9 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.837e-05/7.069, allocations: 16 kB / 3.523 GB, free: 175.9 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.007572/7.076, allocations: 1.966 MB / 3.525 GB, free: 173.9 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/7.076, allocations: 12.02 kB / 3.525 GB, free: 173.9 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/7.077, allocations: 178.8 kB / 3.525 GB, free: 173.7 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/7.078, allocations: 0.4977 MB / 3.526 GB, free: 173.2 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/7.078, allocations: 36 kB / 3.526 GB, free: 173.1 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/7.078, allocations: 83.84 kB / 3.526 GB, free: 173 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001542/7.079, allocations: 1.257 MB / 3.527 GB, free: 171.8 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/7.081, allocations: 1.399 MB / 3.529 GB, free: 170.3 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/7.081, allocations: 0 / 3.529 GB, free: 170.3 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/7.081, allocations: 4 kB / 3.529 GB, free: 170.3 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/7.081, allocations: 31.95 kB / 3.529 GB, free: 170.2 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/7.085, allocations: 4.268 MB / 3.533 GB, free: 165.9 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/7.086, allocations: 1.482 MB / 3.534 GB, free: 164.4 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/7.087, allocations: 0.6724 MB / 3.535 GB, free: 163.7 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05209/7.139, allocations: 32.02 MB / 3.566 GB, free: 127.8 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/7.139, allocations: 47.88 kB / 3.566 GB, free: 127.8 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=142): time 3.556e-06/7.139, allocations: 0 / 3.566 GB, free: 127.8 MB / 0.6984 GB Notification: Performance of matching and sorting (n=202): time 0.01617/7.155, allocations: 7.307 MB / 3.573 GB, free: 120.5 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/7.156, allocations: 77.36 kB / 3.574 GB, free: 120.4 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/7.156, allocations: 197.5 kB / 3.574 GB, free: 120.2 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/7.156, allocations: 29.64 kB / 3.574 GB, free: 120.2 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/7.156, allocations: 285.9 kB / 3.574 GB, free: 119.9 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/7.156, allocations: 0.7238 MB / 3.575 GB, free: 119.2 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/7.156, allocations: 0 / 3.575 GB, free: 119.2 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/7.156, allocations: 390.8 kB / 3.575 GB, free: 118.8 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/7.157, allocations: 0.9449 MB / 3.576 GB, free: 117.8 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/7.159, allocations: 1.172 MB / 3.577 GB, free: 116.6 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/7.161, allocations: 1.192 MB / 3.578 GB, free: 115.4 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.161, allocations: 4 kB / 3.578 GB, free: 115.4 MB / 0.6984 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003951/7.165, allocations: 2.867 MB / 3.581 GB, free: 112.5 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/7.165, allocations: 12.03 kB / 3.581 GB, free: 112.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/7.165, allocations: 7.984 kB / 3.581 GB, free: 112.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/7.166, allocations: 0.6881 MB / 3.582 GB, free: 111.7 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/7.168, allocations: 459.3 kB / 3.582 GB, free: 111.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/7.172, allocations: 11.53 MB / 3.594 GB, free: 99.19 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.173, allocations: 60.11 kB / 3.594 GB, free: 99.13 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/7.173, allocations: 79.94 kB / 3.594 GB, free: 99.05 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.0003404/7.174, allocations: 160.5 kB / 3.594 GB, free: 98.89 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/7.174, allocations: 79.09 kB / 3.594 GB, free: 98.81 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007071/7.181, allocations: 8.14 MB / 3.602 GB, free: 90.52 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-05/7.181, allocations: 87.81 kB / 3.602 GB, free: 90.43 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/7.181, allocations: 0 / 3.602 GB, free: 90.43 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/7.181, allocations: 15.95 kB / 3.602 GB, free: 90.42 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/7.184, allocations: 2.799 MB / 3.605 GB, free: 87.58 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/7.184, allocations: 0 / 3.605 GB, free: 87.58 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/7.185, allocations: 351.5 kB / 3.605 GB, free: 87.23 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/7.187, allocations: 1.202 MB / 3.606 GB, free: 85.97 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/7.187, allocations: 55.92 kB / 3.606 GB, free: 85.91 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/7.192, allocations: 12.68 MB / 3.619 GB, free: 72.72 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/7.192, allocations: 4.031 kB / 3.619 GB, free: 72.71 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/7.199, allocations: 8.098 MB / 3.627 GB, free: 64.44 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/7.2, allocations: 262.3 kB / 3.627 GB, free: 64.16 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/7.2, allocations: 35.95 kB / 3.627 GB, free: 64.13 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/7.201, allocations: 55.77 kB / 3.627 GB, free: 64.07 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/7.201, allocations: 133.8 kB / 3.627 GB, free: 63.95 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/7.201, allocations: 63.97 kB / 3.627 GB, free: 63.88 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 9.004e-05/7.201, allocations: 136.3 kB / 3.627 GB, free: 63.75 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.31e-07/7.201, allocations: 0 / 3.627 GB, free: 63.75 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004635/7.206, allocations: 1.148 MB / 3.628 GB, free: 62.6 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.004713/7.21, allocations: 1.123 MB / 3.629 GB, free: 61.47 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.004401/7.215, allocations: 3.554 MB / 3.633 GB, free: 57.89 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/7.215, allocations: 0 / 3.633 GB, free: 57.89 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/7.218, allocations: 2.832 MB / 3.636 GB, free: 55.06 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/7.22, allocations: 373 kB / 3.636 GB, free: 54.7 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/7.227, allocations: 6.989 MB / 3.643 GB, free: 47.66 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/7.228, allocations: 1.547 MB / 3.644 GB, free: 46.08 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.001412/7.229, allocations: 1.035 MB / 3.645 GB, free: 45.04 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/7.229, allocations: 111.4 kB / 3.645 GB, free: 44.93 MB / 0.6984 GB Notification: Performance of SimCode: time 7.31e-07/7.229, allocations: 4 kB / 3.645 GB, free: 44.93 MB / 0.6984 GB Notification: Performance of Templates: time 0.05226/7.282, allocations: 43.51 MB / 3.688 GB, free: 1.523 MB / 0.6984 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