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/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.8 kB / 17.74 MB, free: 5.184 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.001055/0.001055, allocations: 194.5 kB / 18.67 MB, free: 4.262 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.257/1.257, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8916/0.8916, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.56 kB / 0.5717 GB, free: 39.6 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, 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_20): time 0.01638/0.1595, allocations: 12.6 MB / 0.6628 GB, free: 300 kB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008937/0.1685, allocations: 7.801 MB / 0.6704 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.576e-05/0.1686, allocations: 0 / 0.6704 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1689, allocations: 51.7 kB / 0.6705 GB, free: 8.41 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.007949/0.1769, allocations: 3.228 MB / 0.6736 GB, free: 5.188 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.1775, allocations: 210.9 kB / 0.6738 GB, free: 4.98 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009152/0.1785, allocations: 1.133 MB / 0.6749 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1786, allocations: 53.06 kB / 0.675 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.1789, allocations: 363.3 kB / 0.6753 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.1795, allocations: 458.8 kB / 0.6758 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.1796, allocations: 43.94 kB / 0.6758 GB, free: 2.945 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.1901, allocations: 6.018 MB / 0.6817 GB, free: 12.92 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.1904, allocations: 335 kB / 0.682 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0005783/0.191, allocations: 485.7 kB / 0.6825 GB, free: 12.12 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.1974, allocations: 3.999 MB / 0.6864 GB, free: 8.109 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1974, allocations: 4 kB / 0.6864 GB, free: 8.105 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1974, allocations: 0 / 0.6864 GB, free: 8.105 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.1975, allocations: 0 / 0.6864 GB, free: 8.105 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.006161/0.2036, allocations: 2.143 MB / 0.6885 GB, free: 5.91 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2037, allocations: 11.89 kB / 0.6885 GB, free: 5.898 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.2045, allocations: 179.7 kB / 0.6886 GB, free: 5.723 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.2054, allocations: 499 kB / 0.6891 GB, free: 5.195 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.2055, allocations: 90.55 kB / 0.6892 GB, free: 5.105 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2056, allocations: 128.2 kB / 0.6893 GB, free: 4.98 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.2089, allocations: 1.839 MB / 0.6911 GB, free: 3.043 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.209, allocations: 3.984 kB / 0.6911 GB, free: 3.039 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.2091, allocations: 48 kB / 0.6912 GB, free: 2.992 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.2091, allocations: 28 kB / 0.6912 GB, free: 2.965 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.2122, allocations: 1.616 MB / 0.6928 GB, free: 1.34 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.2173, allocations: 4.435 MB / 0.6971 GB, free: 12.77 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.2204, allocations: 1.814 MB / 0.6989 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.2214, allocations: 0.7347 MB / 0.6996 GB, free: 10.21 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06167/0.2831, allocations: 32.14 MB / 0.731 GB, free: 6.238 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.2832, allocations: 51.88 kB / 0.731 GB, free: 6.18 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=142): time 5.039e-06/0.2832, allocations: 3.938 kB / 0.731 GB, free: 6.176 MB / 0.5764 GB Notification: Performance of matching and sorting (n=202): time 0.07674/0.3599, allocations: 19.35 MB / 0.7499 GB, free: 2.836 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.36, allocations: 73.41 kB / 0.75 GB, free: 2.75 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3602, allocations: 215 kB / 0.7502 GB, free: 2.531 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.3603, allocations: 57.7 kB / 0.7503 GB, free: 2.469 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3605, allocations: 277.8 kB / 0.7505 GB, free: 2.188 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.361, allocations: 0.7395 MB / 0.7512 GB, free: 1.438 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/0.3615, allocations: 375.6 kB / 0.7516 GB, free: 1.062 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3616, allocations: 314 kB / 0.7519 GB, free: 0.75 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.363, allocations: 0.9799 MB / 0.7529 GB, free: 15.77 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3645, allocations: 1.23 MB / 0.7541 GB, free: 14.46 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.3676, allocations: 2.376 MB / 0.7564 GB, free: 12.02 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3676, allocations: 0 / 0.7564 GB, free: 12.02 MB / 0.6077 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004266/0.3719, allocations: 2.984 MB / 0.7593 GB, free: 8.969 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3719, allocations: 15.92 kB / 0.7593 GB, free: 8.953 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.372, allocations: 4 kB / 0.7593 GB, free: 8.949 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.3748, allocations: 0.7662 MB / 0.7601 GB, free: 8.121 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3763, allocations: 451.4 kB / 0.7605 GB, free: 7.68 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4421/0.8184, allocations: 11.4 MB / 0.7716 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.8194, allocations: 90.08 kB / 0.7717 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.8195, allocations: 81.97 kB / 0.7718 GB, free: 112.1 MB / 0.6079 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 () * 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.0006024/0.8201, allocations: 409.1 kB / 0.7722 GB, free: 111.9 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.8203, allocations: 79.72 kB / 0.7723 GB, free: 111.9 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008428/0.8288, allocations: 8.307 MB / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.8288, allocations: 15.62 kB / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8288, allocations: 0 / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.829, allocations: 268 kB / 0.7806 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.8292, allocations: 70.27 kB / 0.7807 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.8299, allocations: 85.47 kB / 0.7808 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.8301, allocations: 132.7 kB / 0.7809 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008571/0.8387, allocations: 5.755 MB / 0.7865 GB, free: 106.6 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006611/0.8453, allocations: 7.537 MB / 0.7939 GB, free: 103.5 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001807/0.8472, allocations: 2.49 MB / 0.7963 GB, free: 102.4 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.8473, allocations: 137.8 kB / 0.7965 GB, free: 102.3 MB / 0.6079 GB Notification: Performance of Backend: time 5.41e-07/0.8473, allocations: 1.906 kB / 0.7965 GB, free: 102.3 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.006173/0.8534, allocations: 2.792 MB / 0.7992 GB, free: 101.1 MB / 0.6079 GB Notification: Performance of SimCode: time 0.004267/0.8577, allocations: 5.37 MB / 0.8044 GB, free: 95.79 MB / 0.6079 GB Notification: Performance of Templates: time 0.05201/0.9098, allocations: 55.91 MB / 0.859 GB, free: 39.88 MB / 0.6079 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches