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.001422/0.001422, allocations: 100.6 kB / 16.62 MB, free: 6.812 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.001363/0.001363, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9576/0.9576, allocations: 119.3 MB / 410.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.4905 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5092, allocations: 80.69 MB / 0.5693 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01156/0.5208, allocations: 12.7 MB / 0.5818 GB, free: 32.86 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.007031/0.5279, allocations: 7.869 MB / 0.5894 GB, free: 26.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.528, allocations: 0 / 0.5894 GB, free: 26.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.5283, allocations: 35.39 kB / 0.5895 GB, free: 26.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.5359, allocations: 2.85 MB / 0.5923 GB, free: 24.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.5365, allocations: 188.2 kB / 0.5924 GB, free: 24.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.5371, allocations: 0.6094 MB / 0.593 GB, free: 24.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.5372, allocations: 32.53 kB / 0.5931 GB, free: 24.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.5374, allocations: 194.9 kB / 0.5932 GB, free: 24.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.5377, allocations: 268.8 kB / 0.5935 GB, free: 23.99 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.5378, allocations: 25.03 kB / 0.5935 GB, free: 23.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.5482, allocations: 5.915 MB / 0.5993 GB, free: 19.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5484, allocations: 183.5 kB / 0.5995 GB, free: 18.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.5486, allocations: 254.8 kB / 0.5997 GB, free: 18.7 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.554, allocations: 3.617 MB / 0.6033 GB, free: 15.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.554, allocations: 0 / 0.6033 GB, free: 15.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.593e-06/0.554, allocations: 0 / 0.6033 GB, free: 15.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.5541, allocations: 0 / 0.6033 GB, free: 15.07 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.003551/0.5576, allocations: 1.416 MB / 0.6046 GB, free: 13.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5577, allocations: 15.89 kB / 0.6046 GB, free: 13.59 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.098e-05/0.5577, allocations: 106.7 kB / 0.6048 GB, free: 13.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.5582, allocations: 92.33 kB / 0.6048 GB, free: 13.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.5585, allocations: 347.6 kB / 0.6052 GB, free: 13.01 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.5585, allocations: 45.69 kB / 0.6052 GB, free: 12.97 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.5586, allocations: 72.02 kB / 0.6053 GB, free: 12.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.5601, allocations: 0.9471 MB / 0.6062 GB, free: 11.91 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5601, allocations: 3.938 kB / 0.6062 GB, free: 11.91 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.5602, allocations: 24 kB / 0.6062 GB, free: 11.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5602, allocations: 16 kB / 0.6062 GB, free: 11.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.5616, allocations: 0.8207 MB / 0.6071 GB, free: 11.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.5637, allocations: 2.346 MB / 0.6093 GB, free: 8.602 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.5651, allocations: 0.8981 MB / 0.6102 GB, free: 7.699 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.5655, allocations: 378.6 kB / 0.6106 GB, free: 7.328 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05815/0.6236, allocations: 32 MB / 0.6418 GB, free: 3.504 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6237, allocations: 39.22 kB / 0.6419 GB, free: 3.457 MB / 494.3 MB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.6237, allocations: 0 / 0.6419 GB, free: 3.457 MB / 494.3 MB Notification: Performance of matching and sorting (n=102): time 0.02462/0.6483, allocations: 7.128 MB / 0.6488 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6484, allocations: 68.34 kB / 0.6489 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6486, allocations: 175.1 kB / 0.6491 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.6487, allocations: 41.7 kB / 0.6491 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6488, allocations: 185.1 kB / 0.6493 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.649, allocations: 382.5 kB / 0.6496 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.6493, allocations: 198.9 kB / 0.6498 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6494, allocations: 354.8 kB / 0.6502 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.6502, allocations: 0.4905 MB / 0.6507 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/0.651, allocations: 0.6319 MB / 0.6513 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.6526, allocations: 1.204 MB / 0.6524 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6526, allocations: 0 / 0.6524 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002128/0.6547, allocations: 1.516 MB / 0.6539 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6548, allocations: 11.94 kB / 0.6539 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6548, allocations: 4 kB / 0.6539 GB, free: 6.879 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.6561, allocations: 392.5 kB / 0.6543 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.6569, allocations: 227.7 kB / 0.6545 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.6602, allocations: 5.7 MB / 0.6601 GB, free: 292 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.6606, allocations: 43.88 kB / 0.6601 GB, free: 248 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.6606, allocations: 47.98 kB / 0.6602 GB, free: 200 kB / 0.4983 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.00032/0.661, allocations: 251.9 kB / 0.6604 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6611, allocations: 43.53 kB / 0.6605 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.6656, allocations: 4.193 MB / 0.6646 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/0.6656, allocations: 47.94 kB / 0.6646 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6657, allocations: 0 / 0.6646 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6657, allocations: 3.984 kB / 0.6646 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.6673, allocations: 1.638 MB / 0.6662 GB, free: 9.883 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6673, allocations: 0 / 0.6662 GB, free: 9.883 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.6679, allocations: 171.8 kB / 0.6664 GB, free: 9.715 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.6701, allocations: 0.6516 MB / 0.667 GB, free: 9.031 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/0.6702, allocations: 43.91 kB / 0.6671 GB, free: 8.988 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.6737, allocations: 6.067 MB / 0.673 GB, free: 2.664 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6737, allocations: 8.031 kB / 0.673 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.6783, allocations: 4.242 MB / 0.6771 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.6785, allocations: 167.7 kB / 0.6773 GB, free: 14.14 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6786, allocations: 35.97 kB / 0.6773 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.679, allocations: 43.81 kB / 0.6774 GB, free: 14.06 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.6791, allocations: 72.89 kB / 0.6774 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.6792, allocations: 27.98 kB / 0.6775 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001173/0.6793, allocations: 120.9 kB / 0.6776 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6793, allocations: 0 / 0.6776 GB, free: 13.84 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.002714/0.6821, allocations: 0.9996 MB / 0.6786 GB, free: 12.84 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.008461/0.6905, allocations: 5.669 MB / 0.6841 GB, free: 7.07 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.004762/0.6953, allocations: 2.542 MB / 0.6866 GB, free: 4.512 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6953, allocations: 0 / 0.6866 GB, free: 4.512 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.6974, allocations: 1.475 MB / 0.688 GB, free: 3.039 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6985, allocations: 211.7 kB / 0.6882 GB, free: 2.832 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.7121, allocations: 10.27 MB / 0.6982 GB, free: 8.359 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.7128, allocations: 1.098 MB / 0.6993 GB, free: 7.234 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0008695/0.7137, allocations: 0.5157 MB / 0.6998 GB, free: 6.715 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.7141, allocations: 319.3 kB / 0.7001 GB, free: 6.406 MB / 0.5452 GB Notification: Performance of SimCode: time 9.82e-07/0.7141, allocations: 0 / 0.7001 GB, free: 6.406 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3456/1.06, allocations: 51.21 MB / 0.7501 GB, free: 3.438 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.06, allocations: 263.7 kB / 0.7504 GB, free: 3.156 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.812/5.872, allocations: 0 / 0.7504 GB, free: 3.156 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