Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001023/0.001023, allocations: 182.7 kB / 8.132 MB, free: 2.211 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.051 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.000919/0.0009189, allocations: 97.16 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6455/0.6455, allocations: 120.4 MB / 452 MB, free: 12.95 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.975e-06, allocations: 4 kB / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 82.83 MB / 0.6091 GB, free: 3.527 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/4.898, allocations: 2.809 GB / 3.418 GB, free: 63.5 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/4.898, allocations: 67.47 kB / 3.418 GB, free: 63.47 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.5533/5.452, allocations: 106.8 MB / 3.522 GB, free: 145.4 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.979e-05/5.452, allocations: 16.41 kB / 3.522 GB, free: 145.4 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.00792/5.46, allocations: 2.007 MB / 3.524 GB, free: 144.7 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/5.46, allocations: 14.38 kB / 3.524 GB, free: 144.7 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/5.461, allocations: 170.6 kB / 3.524 GB, free: 144.6 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/5.461, allocations: 0.5026 MB / 3.525 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/5.461, allocations: 34.84 kB / 3.525 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/5.462, allocations: 85.09 kB / 3.525 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/5.463, allocations: 1.315 MB / 3.526 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/5.465, allocations: 1.445 MB / 3.528 GB, free: 144.1 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/5.465, allocations: 10.83 kB / 3.528 GB, free: 144.1 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/5.465, allocations: 3.875 kB / 3.528 GB, free: 144.1 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/5.465, allocations: 27.44 kB / 3.528 GB, free: 144.1 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/5.469, allocations: 4.323 MB / 3.532 GB, free: 141.9 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/5.471, allocations: 1.326 MB / 3.533 GB, free: 141.9 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/5.471, allocations: 0.7052 MB / 3.534 GB, free: 141.9 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05787/5.529, allocations: 32.05 MB / 3.565 GB, free: 121.3 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/5.529, allocations: 54.28 kB / 3.565 GB, free: 121.2 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=142): time 3.416e-06/5.529, allocations: 0 / 3.565 GB, free: 121.2 MB / 0.6984 GB Notification: Performance of matching and sorting (n=202): time 0.01788/5.547, allocations: 7.739 MB / 3.573 GB, free: 120.4 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/5.547, allocations: 72.66 kB / 3.573 GB, free: 120.3 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/5.547, allocations: 194.1 kB / 3.573 GB, free: 120.2 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 9.294e-05/5.547, allocations: 29.45 kB / 3.573 GB, free: 120.2 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/5.548, allocations: 281.2 kB / 3.573 GB, free: 120 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/5.548, allocations: 0.712 MB / 3.574 GB, free: 119.5 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/5.548, allocations: 0 / 3.574 GB, free: 119.5 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/5.548, allocations: 403.3 kB / 3.574 GB, free: 119.2 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/5.549, allocations: 1.073 MB / 3.575 GB, free: 119.2 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/5.55, allocations: 1.304 MB / 3.577 GB, free: 119 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/5.553, allocations: 1.315 MB / 3.578 GB, free: 118.9 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/5.553, allocations: 0 / 3.578 GB, free: 118.9 MB / 0.6984 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0059/5.559, allocations: 3.579 MB / 3.582 GB, free: 118.6 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/5.559, allocations: 5.906 kB / 3.582 GB, free: 118.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/5.559, allocations: 3.688 kB / 3.582 GB, free: 118.6 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/5.56, allocations: 0.7307 MB / 3.582 GB, free: 118.5 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/5.562, allocations: 453.5 kB / 3.583 GB, free: 118.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/5.567, allocations: 11.7 MB / 3.594 GB, free: 108 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009524/5.568, allocations: 49.03 kB / 3.594 GB, free: 108 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/5.568, allocations: 86.34 kB / 3.594 GB, free: 108 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.000338/5.569, allocations: 156.1 kB / 3.594 GB, free: 107.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/5.57, allocations: 498.4 kB / 3.595 GB, free: 107.8 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008981/5.579, allocations: 9.304 MB / 3.604 GB, free: 106.9 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/5.579, allocations: 82.8 kB / 3.604 GB, free: 106.9 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/5.579, allocations: 0.9688 kB / 3.604 GB, free: 106.9 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/5.579, allocations: 15.3 kB / 3.604 GB, free: 106.9 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/5.582, allocations: 2.897 MB / 3.607 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/5.582, allocations: 3.703 kB / 3.607 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/5.583, allocations: 337.7 kB / 3.607 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/5.586, allocations: 1.211 MB / 3.608 GB, free: 106.4 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/5.586, allocations: 74.08 kB / 3.608 GB, free: 106.4 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/5.593, allocations: 12.84 MB / 3.621 GB, free: 95.89 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/5.593, allocations: 3.906 kB / 3.621 GB, free: 95.89 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01259/5.605, allocations: 10.18 MB / 3.631 GB, free: 95.06 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/5.606, allocations: 216.7 kB / 3.631 GB, free: 94.88 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/5.606, allocations: 41.33 kB / 3.631 GB, free: 94.87 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/5.607, allocations: 35.03 kB / 3.631 GB, free: 94.86 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/5.607, allocations: 124.9 kB / 3.631 GB, free: 94.86 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/5.607, allocations: 74.23 kB / 3.631 GB, free: 94.86 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.0001182/5.607, allocations: 134.8 kB / 3.632 GB, free: 94.79 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.005165/5.613, allocations: 1.181 MB / 3.633 GB, free: 93.8 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.005335/5.618, allocations: 1.192 MB / 3.634 GB, free: 92.82 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.005545/5.623, allocations: 4.949 MB / 3.639 GB, free: 89.93 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/5.623, allocations: 0 / 3.639 GB, free: 89.93 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/5.628, allocations: 4.276 MB / 3.643 GB, free: 87.88 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/5.63, allocations: 353.8 kB / 3.643 GB, free: 87.66 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/5.638, allocations: 7.778 MB / 3.651 GB, free: 82.15 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/5.639, allocations: 1.673 MB / 3.652 GB, free: 80.77 MB / 0.6984 GB Notification: Performance of SimCode: time 9.91e-07/5.639, allocations: 4 kB / 3.652 GB, free: 80.76 MB / 0.6984 GB Notification: Performance of Templates: time 0.06807/5.707, allocations: 52.35 MB / 3.704 GB, free: 40.19 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches