Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.10.|E.1.|E.2.|E.3.|M.10.|M.1.|M.2.|M.3.|der.E.10..|der.E.1..|der.E.2..|der.E.3..|der.M.10..|der.M.1..|der.M.2..|der.M.3..|der.h.10..|der.h.1..|der.h.2..|der.h.3..|der.p.10..|der.p.1..|der.p.2..|der.p.3..|der.rho.10..|der.rho.1..|der.rho.2..|der.rho.3..|h.10.|h.1.|h.2.|h.3.|h.9.|h_in.10.|h_in.1.|h_in.2.|h_in.3.|h_out.10.|h_out.1.|h_out.2.|h_out.3.|p.10.|p.1.|p.2.|p.3.|rho.10.|rho.1.|rho.2.|rho.3.|state.10..T|state.10..d|state.10..h|state.10..p|state.1..T|state.1..d|state.1..h|state.1..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.10.|w_in.1.|w_in.2.|w_in.3.|w_out.10.|w_out.1.|w_out.2.|w_out.3.|w_out.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.10.|E.1.|E.2.|E.3.|M.10.|M.1.|M.2.|M.3.|der.E.10..|der.E.1..|der.E.2..|der.E.3..|der.M.10..|der.M.1..|der.M.2..|der.M.3..|der.h.10..|der.h.1..|der.h.2..|der.h.3..|der.p.10..|der.p.1..|der.p.2..|der.p.3..|der.rho.10..|der.rho.1..|der.rho.2..|der.rho.3..|h.10.|h.1.|h.2.|h.3.|h.9.|h_in.10.|h_in.1.|h_in.2.|h_in.3.|h_out.10.|h_out.1.|h_out.2.|h_out.3.|p.10.|p.1.|p.2.|p.3.|rho.10.|rho.1.|rho.2.|rho.3.|state.10..T|state.10..d|state.10..h|state.10..p|state.1..T|state.1..d|state.1..h|state.1..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.10.|w_in.1.|w_in.2.|w_in.3.|w_out.10.|w_out.1.|w_out.2.|w_out.3.|w_out.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009471/0.0009474, allocations: 176.2 kB / 8.348 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.258/1.258, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0009047/0.0009051, allocations: 86.91 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8611/0.8611, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.36e-05, allocations: 4 kB / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4846, allocations: 82.83 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.829/6.314, allocations: 2.809 GB / 3.419 GB, free: 249.5 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/6.314, allocations: 74.62 kB / 3.419 GB, free: 249.5 MB / 0.6984 GB Notification: Performance of FrontEnd - DAE generated: time 0.2375/6.552, allocations: 101.5 MB / 3.518 GB, free: 182 MB / 0.6984 GB Notification: Performance of FrontEnd: time 2.244e-06/6.552, allocations: 8 kB / 3.518 GB, free: 182 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.484e-05/6.552, allocations: 11.94 kB / 3.518 GB, free: 182 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005379/6.557, allocations: 1.341 MB / 3.519 GB, free: 180.6 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/6.557, allocations: 8.031 kB / 3.519 GB, free: 180.6 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/6.558, allocations: 95.39 kB / 3.519 GB, free: 180.5 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/6.558, allocations: 342.4 kB / 3.519 GB, free: 180.1 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/6.558, allocations: 20 kB / 3.52 GB, free: 180.1 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/6.558, allocations: 43.91 kB / 3.52 GB, free: 180 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007641/6.559, allocations: 0.6349 MB / 3.52 GB, free: 179.4 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/6.56, allocations: 0.7222 MB / 3.521 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/6.56, allocations: 0 / 3.521 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/6.56, allocations: 0 / 3.521 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/6.56, allocations: 16 kB / 3.521 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/6.562, allocations: 2.254 MB / 3.523 GB, free: 176.3 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/6.563, allocations: 0.7322 MB / 3.524 GB, free: 175.5 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/6.563, allocations: 347 kB / 3.524 GB, free: 175.2 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05028/6.613, allocations: 32 MB / 3.555 GB, free: 139.4 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/6.613, allocations: 39.53 kB / 3.555 GB, free: 139.3 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/6.613, allocations: 0 / 3.555 GB, free: 139.3 MB / 0.6984 GB Notification: Performance of matching and sorting (n=102): time 0.00799/6.621, allocations: 3.743 MB / 3.559 GB, free: 135.6 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/6.622, allocations: 60.72 kB / 3.559 GB, free: 135.5 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/6.622, allocations: 152.7 kB / 3.559 GB, free: 135.3 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/6.622, allocations: 25.7 kB / 3.559 GB, free: 135.3 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/6.622, allocations: 193 kB / 3.56 GB, free: 135.1 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/6.622, allocations: 366.6 kB / 3.56 GB, free: 134.7 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/6.622, allocations: 4 kB / 3.56 GB, free: 134.7 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/6.622, allocations: 354.8 kB / 3.56 GB, free: 134.4 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/6.623, allocations: 490.3 kB / 3.561 GB, free: 133.9 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/6.623, allocations: 0.5908 MB / 3.561 GB, free: 133.3 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/6.624, allocations: 0.6034 MB / 3.562 GB, free: 132.7 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.624, allocations: 0 / 3.562 GB, free: 132.7 MB / 0.6984 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001931/6.626, allocations: 1.469 MB / 3.563 GB, free: 131.2 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/6.626, allocations: 4.312 kB / 3.563 GB, free: 131.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/6.626, allocations: 8 kB / 3.563 GB, free: 131.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/6.627, allocations: 352.1 kB / 3.564 GB, free: 130.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/6.628, allocations: 231.7 kB / 3.564 GB, free: 130.6 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/6.63, allocations: 5.762 MB / 3.569 GB, free: 124.5 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/6.63, allocations: 27.89 kB / 3.569 GB, free: 124.5 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/6.63, allocations: 39.98 kB / 3.57 GB, free: 124.5 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (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 (122): * Single equations (assignments): 112 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.0001605/6.63, allocations: 136.8 kB / 3.57 GB, free: 124.3 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/6.631, allocations: 43.53 kB / 3.57 GB, free: 124.3 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/6.634, allocations: 4.097 MB / 3.574 GB, free: 120.1 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/6.634, allocations: 43.92 kB / 3.574 GB, free: 120.1 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/6.634, allocations: 4 kB / 3.574 GB, free: 120.1 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/6.634, allocations: 3.984 kB / 3.574 GB, free: 120.1 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/6.635, allocations: 1.463 MB / 3.575 GB, free: 118.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/6.635, allocations: 8 kB / 3.575 GB, free: 118.5 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/6.636, allocations: 179.7 kB / 3.575 GB, free: 118.4 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/6.637, allocations: 0.5932 MB / 3.576 GB, free: 117.7 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/6.637, allocations: 31.89 kB / 3.576 GB, free: 117.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/6.639, allocations: 6.335 MB / 3.582 GB, free: 111.1 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.639, allocations: 0 / 3.582 GB, free: 111.1 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/6.643, allocations: 4.122 MB / 3.586 GB, free: 106.9 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/6.643, allocations: 167.7 kB / 3.586 GB, free: 106.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/6.643, allocations: 19.97 kB / 3.586 GB, free: 106.7 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/6.643, allocations: 19.97 kB / 3.586 GB, free: 106.7 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/6.643, allocations: 77.33 kB / 3.586 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/6.643, allocations: 27.98 kB / 3.586 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 6.118e-05/6.643, allocations: 115.8 kB / 3.587 GB, free: 106.5 MB / 0.6984 GB Notification: Performance of sort global known variables: time 1.4e-07/6.643, allocations: 0 / 3.587 GB, free: 106.5 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003541/6.647, allocations: 0.9563 MB / 3.588 GB, free: 105.5 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10]) * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.003554/6.65, allocations: 1.104 MB / 3.589 GB, free: 104.4 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.00212/6.653, allocations: 1.78 MB / 3.59 GB, free: 102.6 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/6.653, allocations: 0 / 3.59 GB, free: 102.6 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/6.654, allocations: 1.423 MB / 3.592 GB, free: 101.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/6.655, allocations: 183.7 kB / 3.592 GB, free: 101 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/6.659, allocations: 3.501 MB / 3.595 GB, free: 97.47 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/6.659, allocations: 1.117 MB / 3.596 GB, free: 96.32 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.0006715/6.66, allocations: 0.5118 MB / 3.597 GB, free: 95.81 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/6.66, allocations: 59.44 kB / 3.597 GB, free: 95.75 MB / 0.6984 GB Notification: Performance of SimCode: time 5.21e-07/6.66, allocations: 0 / 3.597 GB, free: 95.75 MB / 0.6984 GB Notification: Performance of Templates: time 0.03435/6.694, allocations: 30.9 MB / 3.627 GB, free: 64.92 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches