Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.1.|E.2.|E.3.|E.40.|M.1.|M.2.|M.3.|M.40.|der.E.1..|der.E.2..|der.E.3..|der.E.40..|der.M.1..|der.M.2..|der.M.3..|der.M.40..|der.h.1..|der.h.2..|der.h.3..|der.h.40..|der.p.1..|der.p.2..|der.p.3..|der.p.40..|der.rho.1..|der.rho.2..|der.rho.3..|der.rho.40..|h.1.|h.2.|h.39.|h.3.|h.40.|h_in.1.|h_in.2.|h_in.3.|h_in.40.|h_out.1.|h_out.2.|h_out.3.|h_out.40.|p.1.|p.2.|p.3.|p.40.|rho.1.|rho.2.|rho.3.|rho.40.|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|state.40..T|state.40..d|state.40..h|state.40..p|time|time|w_in.1.|w_in.2.|w_in.3.|w_in.40.|w_out.1.|w_out.2.|w_out.39.|w_out.3.|w_out.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.1.|E.2.|E.3.|E.40.|M.1.|M.2.|M.3.|M.40.|der.E.1..|der.E.2..|der.E.3..|der.E.40..|der.M.1..|der.M.2..|der.M.3..|der.M.40..|der.h.1..|der.h.2..|der.h.3..|der.h.40..|der.p.1..|der.p.2..|der.p.3..|der.p.40..|der.rho.1..|der.rho.2..|der.rho.3..|der.rho.40..|h.1.|h.2.|h.39.|h.3.|h.40.|h_in.1.|h_in.2.|h_in.3.|h_in.40.|h_out.1.|h_out.2.|h_out.3.|h_out.40.|p.1.|p.2.|p.3.|p.40.|rho.1.|rho.2.|rho.3.|rho.40.|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|state.40..T|state.40..d|state.40..h|state.40..p|time|time|w_in.1.|w_in.2.|w_in.3.|w_in.40.|w_out.1.|w_out.2.|w_out.39.|w_out.3.|w_out.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 105.2 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9268/0.9268, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.69 kB / 0.5717 GB, free: 39.7 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 80.69 MB / 0.6505 GB, free: 12.94 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40): time 0.01439/0.1392, allocations: 12.59 MB / 0.6628 GB, free: 304 kB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008623/0.1478, allocations: 7.805 MB / 0.6704 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.148, allocations: 0 / 0.6704 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1482, allocations: 43.72 kB / 0.6705 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.009911/0.1582, allocations: 3.228 MB / 0.6736 GB, free: 5.195 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.1589, allocations: 210.9 kB / 0.6738 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.1607, allocations: 2.176 MB / 0.6759 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1609, allocations: 105.8 kB / 0.676 GB, free: 2.695 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.1618, allocations: 0.655 MB / 0.6767 GB, free: 2.039 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.1632, allocations: 0.8572 MB / 0.6775 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.1636, allocations: 80 kB / 0.6776 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.1757, allocations: 6.064 MB / 0.6835 GB, free: 11.03 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007449/0.1765, allocations: 0.6428 MB / 0.6841 GB, free: 10.39 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.1781, allocations: 0.9254 MB / 0.685 GB, free: 9.457 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.008727/0.1869, allocations: 4.838 MB / 0.6898 GB, free: 4.605 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1869, allocations: 0 / 0.6898 GB, free: 4.605 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1869, allocations: 0 / 0.6898 GB, free: 4.605 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 7.055e-05/0.187, allocations: 0 / 0.6898 GB, free: 4.605 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 * Number of variables: 566 Notification: Performance of Generate backend data structure: time 0.01199/0.199, allocations: 3.657 MB / 0.6933 GB, free: 0.8828 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.199, allocations: 11.89 kB / 0.6934 GB, free: 0.8711 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.2007, allocations: 335.6 kB / 0.6937 GB, free: 0.543 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.202, allocations: 0.8063 MB / 0.6945 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.2022, allocations: 164.8 kB / 0.6946 GB, free: 15.53 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/0.2025, allocations: 260.1 kB / 0.6949 GB, free: 15.28 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006957/0.2095, allocations: 3.629 MB / 0.6984 GB, free: 11.46 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.2096, allocations: 7.938 kB / 0.6984 GB, free: 11.45 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.2098, allocations: 92 kB / 0.6985 GB, free: 11.36 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.2098, allocations: 56 kB / 0.6986 GB, free: 11.3 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/0.2164, allocations: 3.2 MB / 0.7017 GB, free: 8.086 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.2268, allocations: 8.634 MB / 0.7101 GB, free: 15.23 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.2331, allocations: 3.669 MB / 0.7137 GB, free: 11.54 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.2351, allocations: 1.46 MB / 0.7151 GB, free: 10.07 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05822/0.2933, allocations: 32.19 MB / 0.7466 GB, free: 6.062 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.2934, allocations: 64.72 kB / 0.7466 GB, free: 5.988 MB / 0.592 GB Notification: Performance of pre-optimization done (n=282): time 4.649e-06/0.2934, allocations: 0 / 0.7466 GB, free: 5.988 MB / 0.592 GB Notification: Performance of matching and sorting (n=402): time 0.7052/0.9987, allocations: 59.74 MB / 0.805 GB, free: 96.68 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.9987, allocations: 94.56 kB / 0.8051 GB, free: 96.57 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.9989, allocations: 300.3 kB / 0.8053 GB, free: 96.27 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.9991, allocations: 89.7 kB / 0.8054 GB, free: 96.18 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.9992, allocations: 491.4 kB / 0.8059 GB, free: 95.77 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006409/0.9999, allocations: 1.55 MB / 0.8074 GB, free: 94.33 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007255/1.001, allocations: 0.7172 MB / 0.8081 GB, free: 93.6 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 3.691e-05/1.001, allocations: 314 kB / 0.8084 GB, free: 93.29 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/1.003, allocations: 1.944 MB / 0.8103 GB, free: 91.34 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/1.005, allocations: 2.453 MB / 0.8127 GB, free: 88.73 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005026/1.01, allocations: 4.72 MB / 0.8173 GB, free: 83.88 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.01, allocations: 4 kB / 0.8173 GB, free: 83.88 MB / 0.6079 GB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006941/1.017, allocations: 5.931 MB / 0.8231 GB, free: 77.81 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.017, allocations: 8 kB / 0.8231 GB, free: 77.8 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.017, allocations: 12.88 kB / 0.8231 GB, free: 77.79 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004987/1.022, allocations: 1.536 MB / 0.8246 GB, free: 76.14 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.025, allocations: 0.8895 MB / 0.8255 GB, free: 75.25 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/1.033, allocations: 22.82 MB / 0.8478 GB, free: 51.41 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.034, allocations: 184 kB / 0.848 GB, free: 51.23 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.034, allocations: 164 kB / 0.8481 GB, free: 51.07 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 40 (state[40].phase,state[39].phase,state[38].phase,state[37].phase,state[36].phase,state[35].phase,state[34].phase,state[33].phase,state[32].phase,state[31].phase,state[30].phase,state[29].phase,state[28].phase,state[27].phase,state[26].phase,state[25].phase,state[24].phase,state[23].phase,state[22].phase,state[21].phase,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 (482): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 40 * 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): 40 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), (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.0008731/1.035, allocations: 0.668 MB / 0.8488 GB, free: 50.39 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/1.036, allocations: 163 kB / 0.8489 GB, free: 50.23 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.049, allocations: 16.58 MB / 0.8651 GB, free: 33.42 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.049, allocations: 23.92 kB / 0.8651 GB, free: 33.39 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.049, allocations: 6.766 kB / 0.8651 GB, free: 33.39 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/1.049, allocations: 465.4 kB / 0.8656 GB, free: 32.91 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/1.049, allocations: 131.9 kB / 0.8657 GB, free: 32.79 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.05, allocations: 175.8 kB / 0.8659 GB, free: 32.61 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/1.051, allocations: 263.1 kB / 0.8661 GB, free: 32.36 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/1.065, allocations: 11.39 MB / 0.8773 GB, free: 20.85 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0121/1.077, allocations: 14.85 MB / 0.8918 GB, free: 5.879 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003696/1.081, allocations: 4.959 MB / 0.8966 GB, free: 0.9102 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.0001292/1.081, allocations: 188.4 kB / 0.8968 GB, free: 0.7227 MB / 0.6079 GB Notification: Performance of Backend: time 2.81e-07/1.081, allocations: 0 / 0.8968 GB, free: 0.7227 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.091, allocations: 4.528 MB / 0.9012 GB, free: 12.3 MB / 0.6235 GB Notification: Performance of SimCode: time 0.01147/1.103, allocations: 10.33 MB / 0.9113 GB, free: 2 MB / 0.6235 GB Notification: Performance of Templates: time 0.1101/1.213, allocations: 81.32 MB / 0.9907 GB, free: 0.6289 MB / 0.7017 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches