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.001355/0.001355, allocations: 103.5 kB / 16.5 MB, free: 6.699 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.001424/0.001425, allocations: 194 kB / 17.42 MB, free: 6.086 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.067/1.067, allocations: 119.3 MB / 410.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5774, allocations: 80.67 MB / 0.5692 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01537/0.5929, allocations: 13.42 MB / 0.5823 GB, free: 33.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.009227/0.6021, allocations: 8.511 MB / 0.5906 GB, free: 26.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.6023, allocations: 3.938 kB / 0.5906 GB, free: 26.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.6026, allocations: 34.83 kB / 0.5906 GB, free: 26.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.009868/0.6125, allocations: 2.55 MB / 0.5931 GB, free: 24.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.6134, allocations: 178.1 kB / 0.5933 GB, free: 24.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.6142, allocations: 0.6799 MB / 0.5939 GB, free: 24.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.6143, allocations: 29.34 kB / 0.594 GB, free: 24.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.6145, allocations: 193.6 kB / 0.5941 GB, free: 24.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.6149, allocations: 285.3 kB / 0.5944 GB, free: 23.87 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.6149, allocations: 21.19 kB / 0.5944 GB, free: 23.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.6267, allocations: 5.953 MB / 0.6002 GB, free: 18.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.6269, allocations: 171.5 kB / 0.6004 GB, free: 17.85 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.6273, allocations: 258.8 kB / 0.6007 GB, free: 17.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009935/0.6373, allocations: 3.61 MB / 0.6042 GB, free: 13.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6374, allocations: 0 / 0.6042 GB, free: 13.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6374, allocations: 0 / 0.6042 GB, free: 13.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.6374, allocations: 0 / 0.6042 GB, free: 13.98 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.004564/0.642, allocations: 1.42 MB / 0.6056 GB, free: 12.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.642, allocations: 12.03 kB / 0.6056 GB, free: 12.5 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.763e-05/0.6421, allocations: 106.6 kB / 0.6057 GB, free: 12.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.6426, allocations: 92.33 kB / 0.6058 GB, free: 12.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.643, allocations: 343.6 kB / 0.6061 GB, free: 11.92 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.6431, allocations: 37.69 kB / 0.6061 GB, free: 11.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.6432, allocations: 72.03 kB / 0.6062 GB, free: 11.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.6448, allocations: 0.9471 MB / 0.6071 GB, free: 10.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6448, allocations: 7.938 kB / 0.6071 GB, free: 10.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.6449, allocations: 28 kB / 0.6072 GB, free: 10.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.6449, allocations: 16 kB / 0.6072 GB, free: 10.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.6464, allocations: 0.8129 MB / 0.608 GB, free: 9.957 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.6487, allocations: 2.346 MB / 0.6103 GB, free: 7.516 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6501, allocations: 0.9009 MB / 0.6111 GB, free: 6.605 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.6506, allocations: 382.6 kB / 0.6115 GB, free: 6.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0624/0.713, allocations: 32 MB / 0.6428 GB, free: 2.414 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.7131, allocations: 47.16 kB / 0.6428 GB, free: 2.359 MB / 494.3 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.7131, allocations: 0 / 0.6428 GB, free: 2.359 MB / 494.3 MB Notification: Performance of matching and sorting (n=102): time 0.0273/0.7404, allocations: 7.124 MB / 0.6498 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.7405, allocations: 64.41 kB / 0.6498 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.7407, allocations: 170 kB / 0.65 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.7408, allocations: 45.64 kB / 0.65 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.7409, allocations: 189 kB / 0.6502 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.7412, allocations: 386.6 kB / 0.6506 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.7415, allocations: 190.9 kB / 0.6508 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7416, allocations: 366.8 kB / 0.6511 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/0.7424, allocations: 498.3 kB / 0.6516 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009048/0.7434, allocations: 0.6241 MB / 0.6522 GB, free: 8.602 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.7451, allocations: 1.2 MB / 0.6534 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7451, allocations: 0 / 0.6534 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002452/0.7476, allocations: 1.524 MB / 0.6548 GB, free: 5.805 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7476, allocations: 7.938 kB / 0.6549 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7477, allocations: 4 kB / 0.6549 GB, free: 5.793 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.7492, allocations: 388.5 kB / 0.6552 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008771/0.7501, allocations: 227.7 kB / 0.6554 GB, free: 5.16 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.7538, allocations: 5.699 MB / 0.661 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.7543, allocations: 60.22 kB / 0.6611 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.7544, allocations: 39.98 kB / 0.6611 GB, free: 15.11 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.0003977/0.7548, allocations: 254.2 kB / 0.6614 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.755, allocations: 39.53 kB / 0.6614 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/0.7601, allocations: 4.197 MB / 0.6655 GB, free: 10.53 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.405e-05/0.7601, allocations: 43.88 kB / 0.6655 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7601, allocations: 0 / 0.6655 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7602, allocations: 3.984 kB / 0.6655 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.7621, allocations: 1.642 MB / 0.6671 GB, free: 8.789 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7621, allocations: 0 / 0.6671 GB, free: 8.789 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.7628, allocations: 175.8 kB / 0.6673 GB, free: 8.617 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.7651, allocations: 0.6555 MB / 0.6679 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.7653, allocations: 39.91 kB / 0.668 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/0.7692, allocations: 6.055 MB / 0.6739 GB, free: 1.578 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7692, allocations: 11.86 kB / 0.6739 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005017/0.7742, allocations: 4.234 MB / 0.678 GB, free: 13.23 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.7745, allocations: 171.7 kB / 0.6782 GB, free: 13.05 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.7746, allocations: 35.97 kB / 0.6782 GB, free: 13.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.775, allocations: 43.91 kB / 0.6783 GB, free: 12.97 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7752, allocations: 68.89 kB / 0.6783 GB, free: 12.9 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.7752, allocations: 31.98 kB / 0.6784 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001059/0.7754, allocations: 126.6 kB / 0.6785 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7754, allocations: 0 / 0.6785 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.002797/0.7782, allocations: 0.9918 MB / 0.6795 GB, free: 11.76 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.00919/0.7874, allocations: 5.674 MB / 0.685 GB, free: 5.98 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.7904, allocations: 1.847 MB / 0.6868 GB, free: 4.117 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7904, allocations: 0 / 0.6868 GB, free: 4.117 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.7927, allocations: 1.463 MB / 0.6882 GB, free: 2.656 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.7939, allocations: 211.7 kB / 0.6884 GB, free: 2.449 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.8083, allocations: 10.26 MB / 0.6985 GB, free: 7.988 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.809, allocations: 1.109 MB / 0.6995 GB, free: 6.852 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0008412/0.8098, allocations: 0.504 MB / 0.7 GB, free: 6.344 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.8103, allocations: 323.3 kB / 0.7003 GB, free: 6.031 MB / 0.5452 GB Notification: Performance of SimCode: time 1.462e-06/0.8103, allocations: 0 / 0.7003 GB, free: 6.031 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9967/1.807, allocations: 50.26 MB / 0.7494 GB, free: 3.988 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/1.807, allocations: 255.9 kB / 0.7497 GB, free: 3.723 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.382/6.19, allocations: 0 / 0.7497 GB, free: 3.723 MB / 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