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/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: "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 93.67 kB / 16.65 MB, free: 6.598 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.001322/0.001322, allocations: 177.2 kB / 17.56 MB, free: 6.203 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.381/1.381, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.158/1.158, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 11.98 kB / 0.495 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6465, allocations: 82.84 MB / 0.5759 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01489/0.6614, allocations: 12.91 MB / 0.5885 GB, free: 31.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00959/0.6711, allocations: 8.365 MB / 0.5967 GB, free: 24.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.6713, allocations: 1.281 kB / 0.5967 GB, free: 24.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.6716, allocations: 39.33 kB / 0.5967 GB, free: 24.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.009178/0.6808, allocations: 2.543 MB / 0.5992 GB, free: 22.26 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.6816, allocations: 191.1 kB / 0.5994 GB, free: 22.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.6822, allocations: 0.689 MB / 0.6001 GB, free: 21.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.6822, allocations: 28.41 kB / 0.6001 GB, free: 21.36 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.6824, allocations: 191.6 kB / 0.6003 GB, free: 21.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.6827, allocations: 279.2 kB / 0.6005 GB, free: 20.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.6828, allocations: 24 kB / 0.6006 GB, free: 20.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.6939, allocations: 5.955 MB / 0.6064 GB, free: 14.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.6941, allocations: 175.5 kB / 0.6065 GB, free: 14.74 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.6945, allocations: 276.5 kB / 0.6068 GB, free: 14.46 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.7045, allocations: 3.598 MB / 0.6103 GB, free: 10.86 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.7046, allocations: 4 kB / 0.6103 GB, free: 10.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7046, allocations: 0 / 0.6103 GB, free: 10.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.7046, allocations: 0 / 0.6103 GB, free: 10.85 MB / 462.3 MB 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.004566/0.7092, allocations: 1.319 MB / 0.6116 GB, free: 9.484 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.7093, allocations: 8.031 kB / 0.6116 GB, free: 9.477 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.7094, allocations: 106.6 kB / 0.6117 GB, free: 9.363 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000437/0.7098, allocations: 96.31 kB / 0.6118 GB, free: 9.27 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.7103, allocations: 343.6 kB / 0.6121 GB, free: 8.895 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.7103, allocations: 45.69 kB / 0.6122 GB, free: 8.852 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.7104, allocations: 72.02 kB / 0.6123 GB, free: 8.781 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.712, allocations: 0.9471 MB / 0.6132 GB, free: 7.793 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7121, allocations: 7.938 kB / 0.6132 GB, free: 7.785 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.7121, allocations: 24 kB / 0.6132 GB, free: 7.762 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.7121, allocations: 16 kB / 0.6132 GB, free: 7.746 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.7137, allocations: 0.8168 MB / 0.614 GB, free: 6.926 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.7161, allocations: 2.35 MB / 0.6163 GB, free: 4.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.7177, allocations: 0.8931 MB / 0.6172 GB, free: 3.574 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.7181, allocations: 386.6 kB / 0.6176 GB, free: 3.195 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07004/0.7882, allocations: 32.3 MB / 0.6491 GB, free: 15.07 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.7883, allocations: 43.22 kB / 0.6491 GB, free: 15.02 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=72): time 3.848e-06/0.7883, allocations: 0 / 0.6491 GB, free: 15.02 MB / 0.4983 GB Notification: Performance of matching and sorting (n=102): time 0.02902/0.8173, allocations: 7.464 MB / 0.6564 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.8175, allocations: 64.39 kB / 0.6565 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.8177, allocations: 175.9 kB / 0.6567 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.8178, allocations: 41.7 kB / 0.6567 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8179, allocations: 193 kB / 0.6569 GB, free: 7 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.8183, allocations: 378.6 kB / 0.6572 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.8185, allocations: 93.67 kB / 0.6573 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8187, allocations: 358.8 kB / 0.6577 GB, free: 6.168 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/0.8195, allocations: 0.4943 MB / 0.6582 GB, free: 5.676 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/0.8205, allocations: 0.6203 MB / 0.6588 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.8224, allocations: 1.208 MB / 0.6599 GB, free: 3.777 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8224, allocations: 3.938 kB / 0.6599 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00261/0.825, allocations: 1.52 MB / 0.6614 GB, free: 2.215 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.8251, allocations: 7.938 kB / 0.6614 GB, free: 2.207 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8251, allocations: 7.938 kB / 0.6614 GB, free: 2.199 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.8267, allocations: 392.5 kB / 0.6618 GB, free: 1.785 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.8276, allocations: 227.7 kB / 0.662 GB, free: 1.562 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.8316, allocations: 5.704 MB / 0.6676 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.8322, allocations: 47.84 kB / 0.6677 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.8324, allocations: 47.98 kB / 0.6677 GB, free: 11.51 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 10 * 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): 10 systems {(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.0005014/0.8329, allocations: 258.9 kB / 0.6679 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.833, allocations: 39.53 kB / 0.668 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005923/0.839, allocations: 4.193 MB / 0.6721 GB, free: 6.938 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/0.8391, allocations: 43.94 kB / 0.6721 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.8391, allocations: 4 kB / 0.6721 GB, free: 6.891 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.8391, allocations: 3.984 kB / 0.6721 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.8411, allocations: 1.631 MB / 0.6737 GB, free: 5.203 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.8411, allocations: 0 / 0.6737 GB, free: 5.203 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.8418, allocations: 171.8 kB / 0.6739 GB, free: 5.035 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.8442, allocations: 0.6478 MB / 0.6745 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.8444, allocations: 51.83 kB / 0.6746 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.8486, allocations: 6.063 MB / 0.6805 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.8486, allocations: 3.938 kB / 0.6805 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/0.8542, allocations: 4.246 MB / 0.6846 GB, free: 9.637 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.8545, allocations: 171.7 kB / 0.6848 GB, free: 9.449 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.8547, allocations: 31.97 kB / 0.6848 GB, free: 9.418 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.8552, allocations: 47.81 kB / 0.6849 GB, free: 9.371 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.8554, allocations: 68.88 kB / 0.6849 GB, free: 9.305 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.8554, allocations: 31.98 kB / 0.685 GB, free: 9.273 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001141/0.8556, allocations: 121.5 kB / 0.6851 GB, free: 9.156 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8556, allocations: 4 kB / 0.6851 GB, free: 9.152 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.003039/0.8586, allocations: 0.9957 MB / 0.6861 GB, free: 8.156 MB / 0.5295 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 (not torn): 0 * Torn equation systems: 10 * 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): 10 systems {(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.01066/0.8693, allocations: 5.658 MB / 0.6916 GB, free: 2.391 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003633/0.873, allocations: 1.851 MB / 0.6934 GB, free: 0.5234 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.873, allocations: 4 kB / 0.6934 GB, free: 0.5195 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.8756, allocations: 1.459 MB / 0.6948 GB, free: 15.06 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.877, allocations: 211.7 kB / 0.695 GB, free: 14.85 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.8933, allocations: 10.56 MB / 0.7053 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/0.8942, allocations: 1.098 MB / 0.7064 GB, free: 2.965 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0009234/0.8951, allocations: 0.504 MB / 0.7069 GB, free: 2.457 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.8956, allocations: 323.3 kB / 0.7072 GB, free: 2.145 MB / 0.5452 GB Notification: Performance of SimCode: time 3.186e-06/0.8956, allocations: 0 / 0.7072 GB, free: 2.145 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8172/1.713, allocations: 49.94 MB / 0.756 GB, free: 468 kB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/1.713, allocations: 266.4 kB / 0.7562 GB, free: 200 kB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/6.079, allocations: 0 / 0.7562 GB, free: 200 kB / 0.592 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_SteamPipe_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","/var/lib/jenkins1/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