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.001529/0.001529, allocations: 109.5 kB / 17.75 MB, free: 5.223 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.001703/0.001704, allocations: 191.1 kB / 18.67 MB, free: 4.305 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8678/0.8678, allocations: 119.3 MB / 411.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 66.89 kB / 0.5717 GB, free: 39.69 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 80.69 MB / 0.6505 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_20): time 0.01388/0.1437, allocations: 12.6 MB / 0.6628 GB, free: 328 kB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.1519, allocations: 7.805 MB / 0.6704 GB, free: 8.484 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.152, allocations: 3.938 kB / 0.6704 GB, free: 8.48 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1523, allocations: 43.78 kB / 0.6705 GB, free: 8.438 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008432/0.1607, allocations: 3.227 MB / 0.6736 GB, free: 5.215 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.1614, allocations: 218.9 kB / 0.6738 GB, free: 5 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009059/0.1623, allocations: 1.129 MB / 0.6749 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1624, allocations: 53.06 kB / 0.675 GB, free: 3.816 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.1629, allocations: 359.3 kB / 0.6753 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.1635, allocations: 466.7 kB / 0.6758 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1637, allocations: 40 kB / 0.6758 GB, free: 2.969 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.1743, allocations: 6.014 MB / 0.6817 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.1747, allocations: 335.1 kB / 0.682 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008607/0.1755, allocations: 489.7 kB / 0.6825 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007388/0.1829, allocations: 4.011 MB / 0.6864 GB, free: 8.121 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.183, allocations: 0 / 0.6864 GB, free: 8.121 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.764e-06/0.183, allocations: 0 / 0.6864 GB, free: 8.121 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 4.129e-05/0.183, allocations: 0 / 0.6864 GB, free: 8.121 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.006817/0.1898, allocations: 2.131 MB / 0.6885 GB, free: 5.938 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1899, allocations: 19.83 kB / 0.6885 GB, free: 5.918 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.1908, allocations: 171.7 kB / 0.6886 GB, free: 5.75 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.1918, allocations: 0.4951 MB / 0.6891 GB, free: 5.215 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.1918, allocations: 86.62 kB / 0.6892 GB, free: 5.129 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.1921, allocations: 128.2 kB / 0.6893 GB, free: 5.004 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.1958, allocations: 1.843 MB / 0.6911 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.1958, allocations: 7.938 kB / 0.6911 GB, free: 3.055 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.1959, allocations: 43.94 kB / 0.6912 GB, free: 3.012 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.1959, allocations: 28 kB / 0.6912 GB, free: 2.984 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.1993, allocations: 1.616 MB / 0.6928 GB, free: 1.359 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.205, allocations: 4.431 MB / 0.6971 GB, free: 12.79 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.2086, allocations: 1.812 MB / 0.6989 GB, free: 10.97 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009721/0.2096, allocations: 0.7347 MB / 0.6996 GB, free: 10.23 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06527/0.2748, allocations: 32.15 MB / 0.731 GB, free: 6.258 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.2749, allocations: 55.8 kB / 0.731 GB, free: 6.195 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=142): time 4.368e-06/0.2749, allocations: 0 / 0.731 GB, free: 6.195 MB / 0.5764 GB Notification: Performance of matching and sorting (n=202): time 0.07984/0.3548, allocations: 19.34 MB / 0.7499 GB, free: 2.863 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3549, allocations: 77.41 kB / 0.75 GB, free: 2.773 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3551, allocations: 207 kB / 0.7502 GB, free: 2.562 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.3553, allocations: 61.7 kB / 0.7503 GB, free: 2.496 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.3554, allocations: 289.8 kB / 0.7505 GB, free: 2.203 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005814/0.356, allocations: 0.7356 MB / 0.7513 GB, free: 1.457 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005277/0.3565, allocations: 371.6 kB / 0.7516 GB, free: 1.086 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3567, allocations: 314 kB / 0.7519 GB, free: 0.7734 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.3582, allocations: 0.9837 MB / 0.7529 GB, free: 15.79 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.3598, allocations: 1.233 MB / 0.7541 GB, free: 14.48 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.3632, allocations: 2.368 MB / 0.7564 GB, free: 12.05 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.3632, allocations: 0 / 0.7564 GB, free: 12.05 MB / 0.6077 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00449/0.3677, allocations: 2.985 MB / 0.7593 GB, free: 8.996 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.3677, allocations: 16.03 kB / 0.7593 GB, free: 8.98 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3677, allocations: 4 kB / 0.7593 GB, free: 8.977 MB / 0.6077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/0.3706, allocations: 0.7699 MB / 0.7601 GB, free: 8.145 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.3723, allocations: 459.4 kB / 0.7605 GB, free: 7.695 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4923/0.8646, allocations: 11.39 MB / 0.7716 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.8656, allocations: 90.08 kB / 0.7717 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.8658, allocations: 82.89 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.0006201/0.8664, allocations: 407.8 kB / 0.7722 GB, free: 112 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.8666, allocations: 77.67 kB / 0.7723 GB, free: 112 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008819/0.8754, allocations: 8.314 MB / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.8755, allocations: 15.78 kB / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.8755, allocations: 3.438 kB / 0.7804 GB, free: 108.9 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.8757, allocations: 266.5 kB / 0.7807 GB, free: 108.8 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.8759, allocations: 67.38 kB / 0.7807 GB, free: 108.8 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/0.8766, allocations: 84.69 kB / 0.7808 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.8769, allocations: 132.9 kB / 0.7809 GB, free: 108.7 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008705/0.8856, allocations: 5.759 MB / 0.7866 GB, free: 106.7 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006934/0.8925, allocations: 7.533 MB / 0.7939 GB, free: 103.6 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001902/0.8945, allocations: 2.491 MB / 0.7963 GB, free: 102.4 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.8946, allocations: 141.8 kB / 0.7965 GB, free: 102.3 MB / 0.6079 GB Notification: Performance of Backend: time 9.82e-07/0.8946, allocations: 1.844 kB / 0.7965 GB, free: 102.3 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.006419/0.901, allocations: 2.785 MB / 0.7992 GB, free: 101.1 MB / 0.6079 GB Notification: Performance of SimCode: time 0.004293/0.9053, allocations: 5.363 MB / 0.8044 GB, free: 95.81 MB / 0.6079 GB Notification: Performance of Templates: time 0.05184/0.9571, allocations: 55.92 MB / 0.859 GB, free: 39.91 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