Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.10.|E.1.|E.2.|E.3.|M.10.|M.1.|M.2.|M.3.|der.E.10..|der.E.1..|der.E.2..|der.E.3..|der.M.10..|der.M.1..|der.M.2..|der.M.3..|der.h.10..|der.h.1..|der.h.2..|der.h.3..|der.p.10..|der.p.1..|der.p.2..|der.p.3..|der.rho.10..|der.rho.1..|der.rho.2..|der.rho.3..|h.10.|h.1.|h.2.|h.3.|h.9.|h_in.10.|h_in.1.|h_in.2.|h_in.3.|h_out.10.|h_out.1.|h_out.2.|h_out.3.|p.10.|p.1.|p.2.|p.3.|rho.10.|rho.1.|rho.2.|rho.3.|state.10..T|state.10..d|state.10..h|state.10..p|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|time|time|w_in.10.|w_in.1.|w_in.2.|w_in.3.|w_out.10.|w_out.1.|w_out.2.|w_out.3.|w_out.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=10000,variableFilter="E.10.|E.1.|E.2.|E.3.|M.10.|M.1.|M.2.|M.3.|der.E.10..|der.E.1..|der.E.2..|der.E.3..|der.M.10..|der.M.1..|der.M.2..|der.M.3..|der.h.10..|der.h.1..|der.h.2..|der.h.3..|der.p.10..|der.p.1..|der.p.2..|der.p.3..|der.rho.10..|der.rho.1..|der.rho.2..|der.rho.3..|h.10.|h.1.|h.2.|h.3.|h.9.|h_in.10.|h_in.1.|h_in.2.|h_in.3.|h_out.10.|h_out.1.|h_out.2.|h_out.3.|p.10.|p.1.|p.2.|p.3.|rho.10.|rho.1.|rho.2.|rho.3.|state.10..T|state.10..d|state.10..h|state.10..p|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|time|time|w_in.10.|w_in.1.|w_in.2.|w_in.3.|w_out.10.|w_out.1.|w_out.2.|w_out.3.|w_out.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10") [: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.00107/0.00107, allocations: 183.1 kB / 8.134 MB, free: 2.207 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.123/1.123, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0008749/0.0008749, allocations: 102.5 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6431/0.6431, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 0 / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 82.84 MB / 0.6091 GB, free: 3.59 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.569/4.698, allocations: 2.809 GB / 3.418 GB, free: 234.1 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/4.698, allocations: 69.95 kB / 3.418 GB, free: 234.1 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.2486/4.946, allocations: 100.8 MB / 3.516 GB, free: 144 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.708e-05/4.947, allocations: 8 kB / 3.516 GB, free: 144 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006149/4.953, allocations: 1.356 MB / 3.518 GB, free: 142.6 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/4.953, allocations: 12.03 kB / 3.518 GB, free: 142.6 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/4.953, allocations: 95.3 kB / 3.518 GB, free: 142.5 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/4.954, allocations: 346.3 kB / 3.518 GB, free: 142.1 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/4.954, allocations: 23.94 kB / 3.518 GB, free: 142.1 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/4.954, allocations: 47.84 kB / 3.518 GB, free: 142 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009545/4.955, allocations: 0.6623 MB / 3.519 GB, free: 141.4 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/4.956, allocations: 0.7496 MB / 3.52 GB, free: 140.6 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/4.956, allocations: 0 / 3.52 GB, free: 140.6 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/4.956, allocations: 0 / 3.52 GB, free: 140.6 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/4.956, allocations: 16 kB / 3.52 GB, free: 140.6 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/4.959, allocations: 2.282 MB / 3.522 GB, free: 138.2 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/4.959, allocations: 0.6655 MB / 3.522 GB, free: 137.5 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/4.96, allocations: 362.7 kB / 3.523 GB, free: 137.2 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05842/5.018, allocations: 32.03 MB / 3.554 GB, free: 101.3 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/5.018, allocations: 39.42 kB / 3.554 GB, free: 101.3 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=72): time 3.596e-06/5.018, allocations: 0 / 3.554 GB, free: 101.3 MB / 0.6984 GB Notification: Performance of matching and sorting (n=102): time 0.009049/5.027, allocations: 3.937 MB / 3.558 GB, free: 97.28 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/5.027, allocations: 64.41 kB / 3.558 GB, free: 97.21 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/5.028, allocations: 157.2 kB / 3.558 GB, free: 97.05 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/5.028, allocations: 25.7 kB / 3.558 GB, free: 97.02 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/5.028, allocations: 185 kB / 3.558 GB, free: 96.83 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/5.028, allocations: 370.6 kB / 3.559 GB, free: 96.46 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/5.028, allocations: 0 / 3.559 GB, free: 96.46 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/5.028, allocations: 354.8 kB / 3.559 GB, free: 96.11 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/5.029, allocations: 0.5374 MB / 3.56 GB, free: 95.57 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/5.029, allocations: 0.6608 MB / 3.56 GB, free: 94.87 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/5.03, allocations: 0.6586 MB / 3.561 GB, free: 94.21 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/5.03, allocations: 4 kB / 3.561 GB, free: 94.21 MB / 0.6984 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002806/5.033, allocations: 1.807 MB / 3.563 GB, free: 92.36 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/5.033, allocations: 4 kB / 3.563 GB, free: 92.36 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/5.033, allocations: 7.984 kB / 3.563 GB, free: 92.35 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/5.034, allocations: 376.5 kB / 3.563 GB, free: 91.95 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/5.035, allocations: 223.7 kB / 3.563 GB, free: 91.73 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/5.037, allocations: 5.844 MB / 3.569 GB, free: 85.63 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/5.038, allocations: 23.94 kB / 3.569 GB, free: 85.61 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/5.038, allocations: 43.98 kB / 3.569 GB, free: 85.57 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (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 (122): * Single equations (assignments): 112 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.0001782/5.038, allocations: 135.7 kB / 3.569 GB, free: 85.43 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/5.039, allocations: 255.2 kB / 3.569 GB, free: 85.18 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/5.043, allocations: 4.664 MB / 3.574 GB, free: 80.44 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/5.043, allocations: 47.94 kB / 3.574 GB, free: 80.39 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/5.043, allocations: 0 / 3.574 GB, free: 80.39 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/5.043, allocations: 11.92 kB / 3.574 GB, free: 80.38 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/5.045, allocations: 1.525 MB / 3.576 GB, free: 78.82 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.045, allocations: 0 / 3.576 GB, free: 78.82 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/5.045, allocations: 171.8 kB / 3.576 GB, free: 78.65 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/5.047, allocations: 0.601 MB / 3.576 GB, free: 78.02 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.829e-05/5.047, allocations: 47.84 kB / 3.576 GB, free: 77.97 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/5.049, allocations: 6.413 MB / 3.583 GB, free: 71.3 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/5.049, allocations: 3.984 kB / 3.583 GB, free: 71.29 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004625/5.054, allocations: 5.162 MB / 3.588 GB, free: 66.04 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/5.054, allocations: 148.1 kB / 3.588 GB, free: 65.88 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/5.054, allocations: 19.89 kB / 3.588 GB, free: 65.86 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/5.055, allocations: 19.91 kB / 3.588 GB, free: 65.84 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/5.055, allocations: 68.89 kB / 3.588 GB, free: 65.77 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/5.055, allocations: 31.98 kB / 3.588 GB, free: 65.74 MB / 0.6984 GB Notification: Performance of sort global known variables: time 8.613e-05/5.055, allocations: 119.8 kB / 3.588 GB, free: 65.62 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.005417/5.06, allocations: 0.968 MB / 3.589 GB, free: 64.65 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10]) * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.004641/5.065, allocations: 1.17 MB / 3.59 GB, free: 63.47 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.002652/5.068, allocations: 2.476 MB / 3.593 GB, free: 60.98 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.068, allocations: 0 / 3.593 GB, free: 60.98 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/5.07, allocations: 2.144 MB / 3.595 GB, free: 58.84 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/5.071, allocations: 167.8 kB / 3.595 GB, free: 58.68 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/5.075, allocations: 3.895 MB / 3.599 GB, free: 54.75 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/5.075, allocations: 1.194 MB / 3.6 GB, free: 53.53 MB / 0.6984 GB Notification: Performance of SimCode: time 6.81e-07/5.075, allocations: 0 / 3.6 GB, free: 53.53 MB / 0.6984 GB Notification: Performance of Templates: time 0.04166/5.117, allocations: 36.62 MB / 3.635 GB, free: 16.98 MB / 0.6984 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches