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.001642/0.001642, allocations: 103.9 kB / 17.06 MB, free: 6.016 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.00193/0.00193, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.263/2.263, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.711/1.711, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 66.61 kB / 0.5705 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2479, allocations: 80.7 MB / 0.6493 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.03101/0.279, allocations: 12.58 MB / 0.6616 GB, free: 0.918 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.2968, allocations: 7.813 MB / 0.6693 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.2971, allocations: 0 / 0.6693 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.2976, allocations: 47.72 kB / 0.6693 GB, free: 9.027 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.3148, allocations: 3.223 MB / 0.6724 GB, free: 5.809 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3162, allocations: 210.9 kB / 0.6726 GB, free: 5.602 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.3174, allocations: 0.6072 MB / 0.6732 GB, free: 4.992 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3175, allocations: 32.41 kB / 0.6733 GB, free: 4.961 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006534/0.3182, allocations: 199.5 kB / 0.6735 GB, free: 4.766 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.3192, allocations: 251.3 kB / 0.6737 GB, free: 4.52 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3193, allocations: 24 kB / 0.6737 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0215/0.3409, allocations: 5.998 MB / 0.6796 GB, free: 14.49 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.3414, allocations: 183.4 kB / 0.6798 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.3423, allocations: 246.9 kB / 0.68 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.3585, allocations: 3.606 MB / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3586, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3586, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 3.611e-05/0.3586, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5295 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.008342/0.367, allocations: 1.412 MB / 0.6849 GB, free: 8.996 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 8.379e-05/0.3671, allocations: 15.89 kB / 0.6849 GB, free: 8.98 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.3674, allocations: 110.6 kB / 0.685 GB, free: 8.863 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.3683, allocations: 92.33 kB / 0.6851 GB, free: 8.773 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.3693, allocations: 347.6 kB / 0.6854 GB, free: 8.395 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.3694, allocations: 41.69 kB / 0.6855 GB, free: 8.355 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.3696, allocations: 72.03 kB / 0.6855 GB, free: 8.285 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.3731, allocations: 0.951 MB / 0.6865 GB, free: 7.293 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.3732, allocations: 7.938 kB / 0.6865 GB, free: 7.285 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3733, allocations: 24 kB / 0.6865 GB, free: 7.262 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.3733, allocations: 16 kB / 0.6865 GB, free: 7.246 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.3765, allocations: 0.8168 MB / 0.6873 GB, free: 6.43 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.382, allocations: 2.338 MB / 0.6896 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.3852, allocations: 0.8893 MB / 0.6905 GB, free: 3.09 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000978/0.3862, allocations: 382.6 kB / 0.6908 GB, free: 2.715 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1096/0.4959, allocations: 32.14 MB / 0.7222 GB, free: 14.75 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.926e-05/0.496, allocations: 39.16 kB / 0.7223 GB, free: 14.7 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=72): time 5.951e-06/0.4961, allocations: 0 / 0.7223 GB, free: 14.7 MB / 0.5764 GB Notification: Performance of matching and sorting (n=102): time 0.04521/0.5413, allocations: 7.121 MB / 0.7292 GB, free: 7.531 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.5415, allocations: 68.41 kB / 0.7293 GB, free: 7.453 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.5419, allocations: 172.5 kB / 0.7294 GB, free: 7.277 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.542, allocations: 41.7 kB / 0.7295 GB, free: 7.23 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.5423, allocations: 189 kB / 0.7297 GB, free: 7.039 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/0.543, allocations: 382.6 kB / 0.73 GB, free: 6.66 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000572/0.5436, allocations: 198.8 kB / 0.7302 GB, free: 6.461 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0003179/0.544, allocations: 354.8 kB / 0.7306 GB, free: 6.105 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5456, allocations: 0.4944 MB / 0.731 GB, free: 5.609 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.5473, allocations: 0.6203 MB / 0.7316 GB, free: 4.953 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.5503, allocations: 1.204 MB / 0.7328 GB, free: 3.719 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.5504, allocations: 0 / 0.7328 GB, free: 3.719 MB / 0.5764 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004518/0.5549, allocations: 1.512 MB / 0.7343 GB, free: 2.168 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.555, allocations: 11.94 kB / 0.7343 GB, free: 2.156 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.555, allocations: 4 kB / 0.7343 GB, free: 2.152 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/0.5575, allocations: 392.5 kB / 0.7347 GB, free: 1.738 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.5591, allocations: 227.7 kB / 0.7349 GB, free: 1.516 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.5651, allocations: 5.704 MB / 0.7405 GB, free: 11.55 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/0.566, allocations: 39.97 kB / 0.7405 GB, free: 11.52 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5662, allocations: 39.98 kB / 0.7406 GB, free: 11.48 MB / 0.592 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.0008023/0.5671, allocations: 259.1 kB / 0.7408 GB, free: 11.21 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.5673, allocations: 47.53 kB / 0.7408 GB, free: 11.17 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/0.5759, allocations: 4.185 MB / 0.7449 GB, free: 6.906 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-05/0.576, allocations: 43.89 kB / 0.745 GB, free: 6.863 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.576, allocations: 0 / 0.745 GB, free: 6.863 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.5761, allocations: 7.969 kB / 0.745 GB, free: 6.855 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.5791, allocations: 1.631 MB / 0.7466 GB, free: 5.176 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.5792, allocations: 0 / 0.7466 GB, free: 5.176 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5803, allocations: 179.8 kB / 0.7467 GB, free: 5 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003848/0.5842, allocations: 0.64 MB / 0.7474 GB, free: 4.328 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.5844, allocations: 55.83 kB / 0.7474 GB, free: 4.273 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.591, allocations: 6.055 MB / 0.7533 GB, free: 13.96 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.591, allocations: 7.922 kB / 0.7533 GB, free: 13.95 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008936/0.6, allocations: 4.228 MB / 0.7575 GB, free: 9.625 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.6003, allocations: 179.6 kB / 0.7576 GB, free: 9.43 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.6006, allocations: 31.98 kB / 0.7577 GB, free: 9.398 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.6013, allocations: 47.89 kB / 0.7577 GB, free: 9.352 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.6016, allocations: 68.89 kB / 0.7578 GB, free: 9.285 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.6018, allocations: 31.98 kB / 0.7578 GB, free: 9.254 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.0002007/0.602, allocations: 126.2 kB / 0.7579 GB, free: 9.133 MB / 0.6077 GB Notification: Performance of sort global known variables: time 2.01e-07/0.602, allocations: 0 / 0.7579 GB, free: 9.133 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.00462/0.6066, allocations: 0.9957 MB / 0.7589 GB, free: 8.137 MB / 0.6077 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.01649/0.6231, allocations: 5.672 MB / 0.7644 GB, free: 2.355 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.005694/0.6289, allocations: 1.871 MB / 0.7663 GB, free: 484 kB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.629, allocations: 0 / 0.7663 GB, free: 484 kB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.9521/1.581, allocations: 1.461 MB / 0.7677 GB, free: 117.4 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.583, allocations: 219.6 kB / 0.7679 GB, free: 117.4 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.61, allocations: 9.741 MB / 0.7774 GB, free: 113.3 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.611, allocations: 1.094 MB / 0.7785 GB, free: 112.6 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.001766/1.613, allocations: 0.5144 MB / 0.779 GB, free: 112.6 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/1.613, allocations: 325.1 kB / 0.7793 GB, free: 112.3 MB / 0.6079 GB Notification: Performance of SimCode: time 1.423e-06/1.613, allocations: 0 / 0.7793 GB, free: 112.3 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/1.758, allocations: 52.14 MB / 0.8302 GB, free: 69.3 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/20.13, allocations: 9.641 kB / 0.8302 GB, free: 69.29 MB / 0.6079 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","/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