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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [: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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004019/0.0004019, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0005139/0.0005139, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.4288/0.4288, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.1767/0.1767, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,startTime=0,stopTime=20,tolerance=1e-08,numberOfIntervals=5000,outputFormat="mat",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",simflags="-alarm=300 -emit_protected -lv LOG_STATS") simulate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20,startTime=0,stopTime=20,tolerance=1e-08,numberOfIntervals=5000,outputFormat="mat",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",simflags="-alarm=300 -emit_protected -lv LOG_STATS") [Timeout 600] "Notification: Performance of FrontEnd - loaded program: time 6.82e-07/6.82e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.309e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20): time 0.03307/0.0331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02131/0.05441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.05452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.0549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.02083/0.07573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.07729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002031/0.07933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.07944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.08107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.08269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.08297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.03827/0.1212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01668/0.1402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003358/0.1406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.286e-06/0.1406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.03e-05/0.1406, allocations: 0 / 0, free: 0 / 0 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.02891/0.1695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000118/0.1696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/0.175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.1782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005881/0.1788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.02e-05/0.194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003926/0.1944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.1945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.2089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.2274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/0.2445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.1163/0.3608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=142): time 0.0002809/0.3612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=202): time 0.1907/0.5519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.5521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.5528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006692/0.5535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.5538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001387/0.5552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/0.5575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002293/0.5577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/0.5628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/0.5684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.58, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/0.58, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=262) (initialization): time 0.01716/0.5972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.5973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/0.5973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/0.6084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.6119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.6336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/0.6342, allocations: 0 / 0, free: 0 / 0 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 (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 20 systems {(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.002617/0.6368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/0.6382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03491/0.6732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001986/0.6734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.6734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.865e-05/0.6734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/0.6852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/0.6879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.01727/0.7052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007288/0.7059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0216/0.7275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03475/0.7623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.7638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000647/0.7645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001839/0.7678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000544/0.7684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004807/0.7688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.049e-05/0.7688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.008759/0.7776, allocations: 0 / 0, free: 0 / 0 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 (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 20 systems {(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.01791/0.7955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01738/0.8129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.01272/0.8256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006839/0.8325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003878/0.8649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.003328/0.8682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/0.8705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001009/0.8715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01763/0.8891, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 598] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8998367200001667]