Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009607/0.0009608, allocations: 184 kB / 8.135 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.067/1.067, allocations: 221.4 MB / 229.9 MB, free: 3 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.0009552/0.0009552, allocations: 105.6 kB / 280.8 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6156/0.6156, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.621e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 82.83 MB / 0.6091 GB, free: 3.566 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.832/3.935, allocations: 2.809 GB / 3.418 GB, free: 240.6 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/3.935, allocations: 70 kB / 3.418 GB, free: 240.6 MB / 0.6984 GB Notification: Performance of FrontEnd: time 0.2292/4.164, allocations: 100.8 MB / 3.516 GB, free: 156.4 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 1.194e-05/4.164, allocations: 12 kB / 3.516 GB, free: 156.4 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.004535/4.169, allocations: 1.352 MB / 3.518 GB, free: 155 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/4.169, allocations: 12.03 kB / 3.518 GB, free: 155 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004409/4.169, allocations: 99.28 kB / 3.518 GB, free: 154.9 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/4.17, allocations: 354.3 kB / 3.518 GB, free: 154.5 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/4.17, allocations: 23.94 kB / 3.518 GB, free: 154.5 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/4.17, allocations: 39.91 kB / 3.518 GB, free: 154.4 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007913/4.171, allocations: 0.6584 MB / 3.519 GB, free: 153.8 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/4.171, allocations: 0.7496 MB / 3.52 GB, free: 153 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/4.171, allocations: 0 / 3.52 GB, free: 153 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/4.172, allocations: 0 / 3.52 GB, free: 153 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/4.172, allocations: 19.98 kB / 3.52 GB, free: 153 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/4.174, allocations: 2.278 MB / 3.522 GB, free: 150.6 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/4.174, allocations: 0.6744 MB / 3.522 GB, free: 149.9 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/4.175, allocations: 362.7 kB / 3.523 GB, free: 149.6 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05268/4.227, allocations: 32.02 MB / 3.554 GB, free: 113.7 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/4.227, allocations: 47.41 kB / 3.554 GB, free: 113.7 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/4.227, allocations: 4 kB / 3.554 GB, free: 113.7 MB / 0.6984 GB Notification: Performance of matching and sorting (n=102): time 0.008727/4.236, allocations: 3.933 MB / 3.558 GB, free: 109.7 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/4.236, allocations: 60.41 kB / 3.558 GB, free: 109.6 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/4.236, allocations: 154 kB / 3.558 GB, free: 109.4 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/4.236, allocations: 25.7 kB / 3.558 GB, free: 109.4 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/4.236, allocations: 193 kB / 3.558 GB, free: 109.2 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/4.237, allocations: 366.6 kB / 3.559 GB, free: 108.9 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/4.237, allocations: 0 / 3.559 GB, free: 108.9 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 5.385e-05/4.237, allocations: 362.8 kB / 3.559 GB, free: 108.5 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/4.237, allocations: 0.5335 MB / 3.56 GB, free: 108 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/4.238, allocations: 0.6569 MB / 3.56 GB, free: 107.3 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/4.239, allocations: 0.6586 MB / 3.561 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/4.239, allocations: 4 kB / 3.561 GB, free: 106.6 MB / 0.6984 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002763/4.242, allocations: 1.811 MB / 3.563 GB, free: 104.8 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/4.242, allocations: 8.062 kB / 3.563 GB, free: 104.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/4.242, allocations: 4 kB / 3.563 GB, free: 104.7 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008109/4.243, allocations: 376.2 kB / 3.563 GB, free: 104.3 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/4.243, allocations: 219.7 kB / 3.563 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/4.246, allocations: 5.848 MB / 3.569 GB, free: 98.03 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/4.246, allocations: 23.98 kB / 3.569 GB, free: 98 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/4.246, allocations: 43.98 kB / 3.569 GB, free: 97.96 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.0001436/4.246, allocations: 131.6 kB / 3.569 GB, free: 97.83 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/4.247, allocations: 259.2 kB / 3.569 GB, free: 97.57 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/4.251, allocations: 4.668 MB / 3.574 GB, free: 92.83 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/4.251, allocations: 39.94 kB / 3.574 GB, free: 92.79 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/4.251, allocations: 0 / 3.574 GB, free: 92.79 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/4.251, allocations: 3.984 kB / 3.574 GB, free: 92.79 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/4.252, allocations: 1.529 MB / 3.576 GB, free: 91.22 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/4.252, allocations: 0 / 3.576 GB, free: 91.22 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/4.253, allocations: 167.8 kB / 3.576 GB, free: 91.05 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/4.254, allocations: 0.6049 MB / 3.576 GB, free: 90.42 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/4.254, allocations: 43.86 kB / 3.576 GB, free: 90.38 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/4.256, allocations: 6.417 MB / 3.583 GB, free: 83.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/4.256, allocations: 0 / 3.583 GB, free: 83.7 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004292/4.261, allocations: 5.169 MB / 3.588 GB, free: 78.44 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/4.261, allocations: 140.1 kB / 3.588 GB, free: 78.28 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/4.261, allocations: 27.88 kB / 3.588 GB, free: 78.25 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/4.261, allocations: 15.92 kB / 3.588 GB, free: 78.24 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/4.261, allocations: 68.83 kB / 3.588 GB, free: 78.17 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/4.261, allocations: 39.97 kB / 3.588 GB, free: 78.13 MB / 0.6984 GB Notification: Performance of sort global known variables: time 5.476e-05/4.261, allocations: 115.8 kB / 3.588 GB, free: 78.02 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003375/4.265, allocations: 0.968 MB / 3.589 GB, free: 77.05 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.003368/4.268, allocations: 1.169 MB / 3.59 GB, free: 75.88 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.002405/4.271, allocations: 2.479 MB / 3.593 GB, free: 73.38 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/4.271, allocations: 0 / 3.593 GB, free: 73.38 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/4.273, allocations: 2.141 MB / 3.595 GB, free: 71.24 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/4.273, allocations: 179.8 kB / 3.595 GB, free: 71.07 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/4.277, allocations: 3.887 MB / 3.599 GB, free: 67.15 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/4.278, allocations: 1.187 MB / 3.6 GB, free: 65.94 MB / 0.6984 GB Notification: Performance of SimCode: time 2.7e-07/4.278, allocations: 0 / 3.6 GB, free: 65.94 MB / 0.6984 GB Notification: Performance of Templates: time 0.03828/4.316, allocations: 36.61 MB / 3.635 GB, free: 29.39 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches