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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 181.6 kB / 8.136 MB, free: 2.215 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.103/1.103, allocations: 221.4 MB / 230 MB, free: 3.016 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.0009698/0.0009699, allocations: 103.4 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6143/0.6143, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.169e-06, allocations: 0 / 0.5282 GB, free: 52.4 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 82.85 MB / 0.6091 GB, free: 3.547 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.814/3.925, allocations: 2.809 GB / 3.418 GB, free: 225.3 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/3.925, allocations: 70.03 kB / 3.418 GB, free: 225.2 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.2435/4.168, allocations: 106.8 MB / 3.522 GB, free: 126.9 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.784e-05/4.168, allocations: 16 kB / 3.522 GB, free: 126.8 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.006702/4.175, allocations: 2.012 MB / 3.524 GB, free: 124.8 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/4.175, allocations: 11.97 kB / 3.524 GB, free: 124.8 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/4.176, allocations: 174.8 kB / 3.524 GB, free: 124.6 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/4.177, allocations: 0.4899 MB / 3.525 GB, free: 124.1 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/4.177, allocations: 40 kB / 3.525 GB, free: 124 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/4.177, allocations: 91.73 kB / 3.525 GB, free: 123.9 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/4.179, allocations: 1.312 MB / 3.526 GB, free: 122.6 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/4.18, allocations: 1.449 MB / 3.528 GB, free: 121.1 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/4.18, allocations: 4 kB / 3.528 GB, free: 121.1 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/4.18, allocations: 4 kB / 3.528 GB, free: 121.1 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/4.18, allocations: 28 kB / 3.528 GB, free: 121 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/4.184, allocations: 4.314 MB / 3.532 GB, free: 116.6 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/4.186, allocations: 1.337 MB / 3.533 GB, free: 115.3 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006831/4.186, allocations: 0.6997 MB / 3.534 GB, free: 114.6 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05307/4.239, allocations: 32.04 MB / 3.565 GB, free: 78.68 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/4.239, allocations: 51.8 kB / 3.565 GB, free: 78.62 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=142): time 2.865e-06/4.239, allocations: 0 / 3.565 GB, free: 78.62 MB / 0.6984 GB Notification: Performance of matching and sorting (n=202): time 0.01754/4.257, allocations: 7.75 MB / 3.573 GB, free: 70.9 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/4.257, allocations: 69.41 kB / 3.573 GB, free: 70.82 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/4.257, allocations: 185.8 kB / 3.573 GB, free: 70.62 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/4.257, allocations: 25.7 kB / 3.573 GB, free: 70.59 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/4.257, allocations: 285.8 kB / 3.573 GB, free: 70.3 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/4.258, allocations: 0.7161 MB / 3.574 GB, free: 69.58 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/4.258, allocations: 0 / 3.574 GB, free: 69.58 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/4.258, allocations: 402.7 kB / 3.574 GB, free: 69.18 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/4.259, allocations: 1.078 MB / 3.575 GB, free: 68.09 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/4.261, allocations: 1.309 MB / 3.577 GB, free: 66.72 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/4.263, allocations: 1.31 MB / 3.578 GB, free: 65.41 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/4.263, allocations: 4 kB / 3.578 GB, free: 65.41 MB / 0.6984 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005512/4.268, allocations: 3.577 MB / 3.582 GB, free: 61.76 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/4.268, allocations: 4 kB / 3.582 GB, free: 61.75 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/4.268, allocations: 4 kB / 3.582 GB, free: 61.75 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/4.27, allocations: 0.7356 MB / 3.582 GB, free: 60.95 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/4.271, allocations: 447.5 kB / 3.583 GB, free: 60.52 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/4.276, allocations: 11.7 MB / 3.594 GB, free: 48.3 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/4.277, allocations: 40.06 kB / 3.594 GB, free: 48.26 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/4.277, allocations: 91.97 kB / 3.594 GB, free: 48.17 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.0002675/4.277, allocations: 151.4 kB / 3.594 GB, free: 48.02 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/4.279, allocations: 0.4907 MB / 3.595 GB, free: 47.52 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/4.287, allocations: 9.3 MB / 3.604 GB, free: 38.07 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/4.287, allocations: 83.88 kB / 3.604 GB, free: 37.99 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/4.287, allocations: 0 / 3.604 GB, free: 37.99 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/4.287, allocations: 11.91 kB / 3.604 GB, free: 37.98 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/4.289, allocations: 2.899 MB / 3.607 GB, free: 35.04 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/4.289, allocations: 3.938 kB / 3.607 GB, free: 35.03 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/4.29, allocations: 331.6 kB / 3.607 GB, free: 34.71 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/4.293, allocations: 1.218 MB / 3.608 GB, free: 33.43 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/4.293, allocations: 75.81 kB / 3.608 GB, free: 33.35 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/4.298, allocations: 12.83 MB / 3.621 GB, free: 20 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/4.298, allocations: 3.906 kB / 3.621 GB, free: 20 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008929/4.307, allocations: 10.18 MB / 3.631 GB, free: 9.641 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/4.307, allocations: 211 kB / 3.631 GB, free: 9.414 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/4.307, allocations: 43.84 kB / 3.631 GB, free: 9.371 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/4.308, allocations: 39.84 kB / 3.631 GB, free: 9.332 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/4.308, allocations: 129.7 kB / 3.631 GB, free: 9.207 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/4.308, allocations: 71.95 kB / 3.631 GB, free: 9.137 MB / 0.6984 GB Notification: Performance of sort global known variables: time 8.255e-05/4.308, allocations: 136.3 kB / 3.632 GB, free: 9.004 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.004002/4.312, allocations: 1.179 MB / 3.633 GB, free: 7.824 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.005801/4.318, allocations: 1.185 MB / 3.634 GB, free: 6.633 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.005017/4.323, allocations: 4.952 MB / 3.639 GB, free: 1.656 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/4.323, allocations: 0 / 3.639 GB, free: 1.656 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.1626/4.486, allocations: 4.277 MB / 3.643 GB, free: 268.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/4.488, allocations: 346 kB / 3.643 GB, free: 268.1 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/4.495, allocations: 7.775 MB / 3.651 GB, free: 267.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/4.496, allocations: 1.679 MB / 3.652 GB, free: 266.7 MB / 0.6984 GB Notification: Performance of SimCode: time 7.01e-07/4.496, allocations: 1.875 kB / 3.652 GB, free: 266.7 MB / 0.6984 GB Notification: Performance of Templates: time 0.05681/4.553, allocations: 52.35 MB / 3.704 GB, free: 263.9 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