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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009335/0.0009335, allocations: 181 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 223.2 MB / 240.3 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 104.6 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6091/0.6091, allocations: 120.5 MB / 463.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 0.5433 GB, free: 42.42 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1085, allocations: 82.85 MB / 0.6243 GB, free: 9.211 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.462/4.57, allocations: 2.81 GB / 3.434 GB, free: 44.14 MB / 0.714 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/4.571, allocations: 71.95 kB / 3.434 GB, free: 44.07 MB / 0.714 GB Notification: Performance of FrontEnd - DAE generated: time 0.4471/5.018, allocations: 103.3 MB / 3.535 GB, free: 232 MB / 0.714 GB Notification: Performance of FrontEnd: time 1.633e-06/5.018, allocations: 2.531 kB / 3.535 GB, free: 232 MB / 0.714 GB Notification: Performance of Transformations before backend: time 1.161e-05/5.018, allocations: 7.938 kB / 3.535 GB, free: 232 MB / 0.714 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.003709/5.022, allocations: 1.349 MB / 3.536 GB, free: 231.4 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/5.022, allocations: 11.5 kB / 3.536 GB, free: 231.4 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/5.022, allocations: 91.78 kB / 3.536 GB, free: 231.3 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/5.022, allocations: 347.3 kB / 3.536 GB, free: 231.1 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/5.022, allocations: 50.78 kB / 3.537 GB, free: 231.1 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/5.023, allocations: 68.09 kB / 3.537 GB, free: 231.1 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/5.024, allocations: 0.9376 MB / 3.537 GB, free: 231 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/5.024, allocations: 0 / 3.537 GB, free: 231 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/5.024, allocations: 24.41 kB / 3.538 GB, free: 231 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/5.024, allocations: 15.34 kB / 3.538 GB, free: 231 MB / 0.714 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/5.025, allocations: 0.823 MB / 3.538 GB, free: 231 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/5.028, allocations: 2.348 MB / 3.541 GB, free: 229.7 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/5.029, allocations: 0.8974 MB / 3.542 GB, free: 229.6 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04545/5.074, allocations: 31.88 MB / 3.573 GB, free: 202 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/5.074, allocations: 39.22 kB / 3.573 GB, free: 201.9 MB / 0.714 GB Notification: Performance of pre-optimization done (n=72): time 2.284e-06/5.074, allocations: 0 / 3.573 GB, free: 201.9 MB / 0.714 GB Notification: Performance of matching and sorting (n=102): time 0.02199/5.096, allocations: 7.453 MB / 3.58 GB, free: 195.9 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/5.097, allocations: 60.41 kB / 3.58 GB, free: 195.9 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/5.097, allocations: 159.5 kB / 3.58 GB, free: 195.7 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/5.097, allocations: 41.7 kB / 3.58 GB, free: 195.7 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/5.097, allocations: 192.5 kB / 3.58 GB, free: 195.5 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/5.097, allocations: 379.9 kB / 3.581 GB, free: 195.2 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/5.097, allocations: 24 kB / 3.581 GB, free: 195.1 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/5.097, allocations: 358.1 kB / 3.581 GB, free: 194.8 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/5.098, allocations: 494.8 kB / 3.582 GB, free: 194.4 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/5.098, allocations: 0.6195 MB / 3.582 GB, free: 193.9 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/5.099, allocations: 0.5871 MB / 3.583 GB, free: 193.4 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.099, allocations: 0 / 3.583 GB, free: 193.4 MB / 0.714 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00169/5.101, allocations: 1.513 MB / 3.584 GB, free: 192 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/5.101, allocations: 7.953 kB / 3.584 GB, free: 192 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.101, allocations: 4 kB / 3.584 GB, free: 192 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/5.102, allocations: 389.6 kB / 3.585 GB, free: 191.7 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/5.103, allocations: 227.5 kB / 3.585 GB, free: 191.5 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/5.104, allocations: 5.705 MB / 3.59 GB, free: 185.7 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/5.105, allocations: 43.48 kB / 3.59 GB, free: 185.7 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/5.105, allocations: 36 kB / 3.59 GB, free: 185.6 MB / 0.714 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 () * Number of clocked 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.0002448/5.105, allocations: 269.2 kB / 3.591 GB, free: 185.4 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/5.105, allocations: 43.53 kB / 3.591 GB, free: 185.4 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/5.108, allocations: 4.204 MB / 3.595 GB, free: 181.6 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/5.108, allocations: 42.56 kB / 3.595 GB, free: 181.5 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/5.108, allocations: 0 / 3.595 GB, free: 181.5 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/5.108, allocations: 3.516 kB / 3.595 GB, free: 181.5 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/5.11, allocations: 1.647 MB / 3.597 GB, free: 180.1 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.11, allocations: 0 / 3.597 GB, free: 180.1 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/5.11, allocations: 170.6 kB / 3.597 GB, free: 180 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/5.112, allocations: 0.6491 MB / 3.597 GB, free: 179.5 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/5.112, allocations: 38.73 kB / 3.597 GB, free: 179.4 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/5.114, allocations: 6.064 MB / 3.603 GB, free: 173.3 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/5.114, allocations: 3.953 kB / 3.603 GB, free: 173.3 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/5.117, allocations: 4.226 MB / 3.607 GB, free: 169.5 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/5.117, allocations: 175.4 kB / 3.608 GB, free: 169.3 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/5.117, allocations: 43.44 kB / 3.608 GB, free: 169.2 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/5.118, allocations: 35.45 kB / 3.608 GB, free: 169.2 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/5.118, allocations: 67.39 kB / 3.608 GB, free: 169.2 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/5.118, allocations: 39.59 kB / 3.608 GB, free: 169.1 MB / 0.714 GB Notification: Performance of sorting global known variables: time 5.902e-05/5.118, allocations: 115.2 kB / 3.608 GB, free: 169 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.4e-07/5.118, allocations: 0 / 3.608 GB, free: 169 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.003135/5.121, allocations: 0.9942 MB / 3.609 GB, free: 168.1 MB / 0.714 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 () * Number of clocked 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.002879/5.124, allocations: 1.099 MB / 3.61 GB, free: 167.1 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.002055/5.126, allocations: 1.846 MB / 3.612 GB, free: 165.5 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/5.126, allocations: 0 / 3.612 GB, free: 165.5 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/5.128, allocations: 1.458 MB / 3.613 GB, free: 164.2 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/5.129, allocations: 209.5 kB / 3.613 GB, free: 164.1 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/5.132, allocations: 4.526 MB / 3.618 GB, free: 160 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/5.132, allocations: 1.117 MB / 3.619 GB, free: 159 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.0005997/5.133, allocations: 0.5045 MB / 3.619 GB, free: 158.7 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/5.133, allocations: 55.44 kB / 3.619 GB, free: 158.7 MB / 0.714 GB Notification: Performance of SimCode: time 2.71e-07/5.133, allocations: 4 kB / 3.619 GB, free: 158.7 MB / 0.714 GB Notification: Performance of Templates: time 0.03195/5.165, allocations: 32.33 MB / 3.651 GB, free: 129.4 MB / 0.714 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