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.001557/0.001557, allocations: 108 kB / 16.92 MB, free: 5.758 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.001729/0.001729, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.764/1.764, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9083/0.9083, allocations: 119.3 MB / 411 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 55.91 kB / 0.491 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5612, allocations: 80.69 MB / 0.5699 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01388/0.5752, allocations: 12.57 MB / 0.5821 GB, free: 33.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.5829, allocations: 7.807 MB / 0.5898 GB, free: 27.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.5831, allocations: 1.25 kB / 0.5898 GB, free: 27.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.5834, allocations: 39.33 kB / 0.5898 GB, free: 27.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.009469/0.5929, allocations: 3.238 MB / 0.593 GB, free: 24.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.5937, allocations: 207.5 kB / 0.5932 GB, free: 24.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005717/0.5942, allocations: 0.6057 MB / 0.5937 GB, free: 24.42 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.5943, allocations: 37.08 kB / 0.5938 GB, free: 24.4 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.5945, allocations: 189.7 kB / 0.594 GB, free: 24.33 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.5949, allocations: 262.9 kB / 0.5942 GB, free: 24.19 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.5949, allocations: 21.22 kB / 0.5942 GB, free: 24.19 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.606, allocations: 5.861 MB / 0.6 GB, free: 18.78 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.6062, allocations: 179.5 kB / 0.6001 GB, free: 18.6 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.6065, allocations: 254.8 kB / 0.6004 GB, free: 18.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.6148, allocations: 3.61 MB / 0.6039 GB, free: 14.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.6149, allocations: 0 / 0.6039 GB, free: 14.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6149, allocations: 0 / 0.6039 GB, free: 14.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.6149, allocations: 4 kB / 0.6039 GB, free: 14.73 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.004286/0.6192, allocations: 1.412 MB / 0.6053 GB, free: 13.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.6192, allocations: 15.89 kB / 0.6053 GB, free: 13.25 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.453e-05/0.6193, allocations: 98.7 kB / 0.6054 GB, free: 13.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/0.6199, allocations: 104.3 kB / 0.6055 GB, free: 13.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.6203, allocations: 343.5 kB / 0.6058 GB, free: 12.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.6203, allocations: 41.69 kB / 0.6059 GB, free: 12.63 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6204, allocations: 72.02 kB / 0.6059 GB, free: 12.56 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.6221, allocations: 0.9471 MB / 0.6068 GB, free: 11.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.6221, allocations: 0 / 0.6068 GB, free: 11.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.6222, allocations: 23.98 kB / 0.6069 GB, free: 11.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.6222, allocations: 16 kB / 0.6069 GB, free: 11.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.6237, allocations: 0.8206 MB / 0.6077 GB, free: 10.71 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.6259, allocations: 2.342 MB / 0.61 GB, free: 8.277 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.6273, allocations: 0.9126 MB / 0.6109 GB, free: 7.355 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.6278, allocations: 378.6 kB / 0.6112 GB, free: 6.984 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0633/0.6911, allocations: 32 MB / 0.6425 GB, free: 3.164 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.6912, allocations: 43.2 kB / 0.6425 GB, free: 3.113 MB / 494.3 MB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/0.6912, allocations: 0 / 0.6425 GB, free: 3.113 MB / 494.3 MB Notification: Performance of matching and sorting (n=102): time 0.02688/0.7181, allocations: 7.136 MB / 0.6495 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.7182, allocations: 64.41 kB / 0.6495 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.7183, allocations: 175.9 kB / 0.6497 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.7184, allocations: 41.7 kB / 0.6498 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.7185, allocations: 185.1 kB / 0.6499 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.7188, allocations: 382.5 kB / 0.6503 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.719, allocations: 202.9 kB / 0.6505 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7191, allocations: 350.8 kB / 0.6508 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.7198, allocations: 0.4944 MB / 0.6513 GB, free: 10 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.7206, allocations: 0.6319 MB / 0.6519 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.7222, allocations: 1.196 MB / 0.6531 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7222, allocations: 0 / 0.6531 GB, free: 8.109 MB / 0.4983 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002189/0.7244, allocations: 1.52 MB / 0.6546 GB, free: 6.555 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7245, allocations: 11.94 kB / 0.6546 GB, free: 6.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7245, allocations: 4 kB / 0.6546 GB, free: 6.539 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.7259, allocations: 392.3 kB / 0.655 GB, free: 6.125 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.7267, allocations: 227.7 kB / 0.6552 GB, free: 5.902 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.7298, allocations: 5.7 MB / 0.6607 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.7303, allocations: 43.95 kB / 0.6608 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.7304, allocations: 39.94 kB / 0.6608 GB, free: 15.87 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.0003335/0.7308, allocations: 259.9 kB / 0.6611 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7309, allocations: 43.53 kB / 0.6611 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.7352, allocations: 4.193 MB / 0.6652 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.7353, allocations: 43.94 kB / 0.6653 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7353, allocations: 0 / 0.6653 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.7353, allocations: 7.969 kB / 0.6653 GB, free: 11.24 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.7368, allocations: 1.638 MB / 0.6669 GB, free: 9.547 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.7368, allocations: 0 / 0.6669 GB, free: 9.547 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.7375, allocations: 175.8 kB / 0.667 GB, free: 9.375 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.7396, allocations: 0.6438 MB / 0.6677 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/0.7397, allocations: 51.89 kB / 0.6677 GB, free: 8.648 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.7429, allocations: 6.055 MB / 0.6736 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.743, allocations: 7.938 kB / 0.6736 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004551/0.7475, allocations: 4.228 MB / 0.6778 GB, free: 14 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.7477, allocations: 175.7 kB / 0.6779 GB, free: 13.81 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.7478, allocations: 31.98 kB / 0.678 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.7482, allocations: 47.89 kB / 0.678 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.7484, allocations: 68.84 kB / 0.6781 GB, free: 13.67 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.7484, allocations: 35.91 kB / 0.6781 GB, free: 13.63 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001055/0.7485, allocations: 121.1 kB / 0.6782 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7485, allocations: 0 / 0.6782 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.002689/0.7512, allocations: 0.9996 MB / 0.6792 GB, free: 12.52 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.008595/0.7599, allocations: 5.665 MB / 0.6847 GB, free: 6.746 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.004877/0.7648, allocations: 2.55 MB / 0.6872 GB, free: 4.18 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7648, allocations: 0 / 0.6872 GB, free: 4.18 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.7669, allocations: 1.471 MB / 0.6886 GB, free: 2.707 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.7681, allocations: 215.6 kB / 0.6889 GB, free: 2.496 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.7807, allocations: 9.798 MB / 0.6984 GB, free: 8.488 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.7814, allocations: 1.102 MB / 0.6995 GB, free: 7.359 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0007963/0.7822, allocations: 0.5079 MB / 0.7 GB, free: 6.848 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.7826, allocations: 323 kB / 0.7003 GB, free: 6.535 MB / 0.5452 GB Notification: Performance of SimCode: time 7.42e-07/0.7826, allocations: 4 kB / 0.7003 GB, free: 6.531 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.281/1.064, allocations: 51.38 MB / 0.7505 GB, free: 3.363 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.43, allocations: 8 kB / 0.7505 GB, free: 3.355 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches