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.001361/0.001361, allocations: 113.5 kB / 17.06 MB, free: 5.996 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.00125/0.00125, allocations: 196 kB / 18.01 MB, free: 5.07 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.004/1.004, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 62.59 kB / 0.5705 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 80.7 MB / 0.6494 GB, free: 13.45 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_10): time 0.01738/0.1615, allocations: 12.59 MB / 0.6616 GB, free: 0.8125 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1716, allocations: 7.809 MB / 0.6693 GB, free: 8.973 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1717, allocations: 0 / 0.6693 GB, free: 8.973 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1721, allocations: 43.73 kB / 0.6693 GB, free: 8.93 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.1806, allocations: 3.224 MB / 0.6725 GB, free: 5.711 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.1814, allocations: 210.9 kB / 0.6727 GB, free: 5.504 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0008624/0.1823, allocations: 0.6111 MB / 0.6733 GB, free: 4.891 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.1824, allocations: 32.39 kB / 0.6733 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.1826, allocations: 199.5 kB / 0.6735 GB, free: 4.664 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.1829, allocations: 251.3 kB / 0.6737 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.183, allocations: 20 kB / 0.6737 GB, free: 4.398 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.1949, allocations: 5.998 MB / 0.6796 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.1952, allocations: 179.5 kB / 0.6798 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.1956, allocations: 250.8 kB / 0.68 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.2032, allocations: 3.612 MB / 0.6835 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2032, allocations: 0 / 0.6835 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2032, allocations: 0 / 0.6835 GB, free: 10.35 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2032, allocations: 4 kB / 0.6835 GB, free: 10.35 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.004225/0.2074, allocations: 1.441 MB / 0.6849 GB, free: 8.855 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2075, allocations: 15.89 kB / 0.685 GB, free: 8.84 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.2076, allocations: 98.7 kB / 0.6851 GB, free: 8.734 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.2081, allocations: 100.6 kB / 0.6852 GB, free: 8.637 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.2086, allocations: 355.5 kB / 0.6855 GB, free: 8.25 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.2087, allocations: 41.69 kB / 0.6855 GB, free: 8.211 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.2088, allocations: 68.11 kB / 0.6856 GB, free: 8.145 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.2107, allocations: 0.9471 MB / 0.6865 GB, free: 7.156 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2107, allocations: 0 / 0.6865 GB, free: 7.156 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.2107, allocations: 20 kB / 0.6865 GB, free: 7.137 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.2108, allocations: 20 kB / 0.6866 GB, free: 7.117 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.2126, allocations: 0.8245 MB / 0.6874 GB, free: 6.293 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.2155, allocations: 2.339 MB / 0.6896 GB, free: 3.859 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.2173, allocations: 0.9048 MB / 0.6905 GB, free: 2.938 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.2179, allocations: 382.6 kB / 0.6909 GB, free: 2.562 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06776/0.2856, allocations: 32.13 MB / 0.7223 GB, free: 14.61 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2857, allocations: 43.16 kB / 0.7223 GB, free: 14.56 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.2857, allocations: 4 kB / 0.7223 GB, free: 14.55 MB / 0.5764 GB Notification: Performance of matching and sorting (n=102): time 0.02632/0.312, allocations: 7.137 MB / 0.7293 GB, free: 7.367 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3121, allocations: 64.41 kB / 0.7294 GB, free: 7.293 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3123, allocations: 160.4 kB / 0.7295 GB, free: 7.129 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.3124, allocations: 41.7 kB / 0.7295 GB, free: 7.082 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3125, allocations: 193.4 kB / 0.7297 GB, free: 6.887 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.3129, allocations: 408.5 kB / 0.7301 GB, free: 6.484 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.3132, allocations: 191 kB / 0.7303 GB, free: 6.293 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3134, allocations: 358.8 kB / 0.7306 GB, free: 5.934 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/0.3142, allocations: 0.4905 MB / 0.7311 GB, free: 5.441 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009178/0.3151, allocations: 0.628 MB / 0.7317 GB, free: 4.777 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.3169, allocations: 1.2 MB / 0.7329 GB, free: 3.547 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3169, allocations: 0 / 0.7329 GB, free: 3.547 MB / 0.5764 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002426/0.3193, allocations: 1.517 MB / 0.7344 GB, free: 1.992 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3194, allocations: 7.938 kB / 0.7344 GB, free: 1.984 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3194, allocations: 4 kB / 0.7344 GB, free: 1.98 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.3209, allocations: 392.5 kB / 0.7348 GB, free: 1.566 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.3217, allocations: 227.7 kB / 0.735 GB, free: 1.344 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.3258, allocations: 5.707 MB / 0.7406 GB, free: 11.38 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.3263, allocations: 48.22 kB / 0.7406 GB, free: 11.33 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.3264, allocations: 47.98 kB / 0.7407 GB, free: 11.29 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.0004145/0.3268, allocations: 251 kB / 0.7409 GB, free: 11.03 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3269, allocations: 47.72 kB / 0.7409 GB, free: 10.98 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.3322, allocations: 4.186 MB / 0.745 GB, free: 6.723 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/0.3323, allocations: 43.88 kB / 0.7451 GB, free: 6.68 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3323, allocations: 0 / 0.7451 GB, free: 6.68 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.3323, allocations: 11.98 kB / 0.7451 GB, free: 6.668 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3343, allocations: 1.635 MB / 0.7467 GB, free: 4.984 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3343, allocations: 0 / 0.7467 GB, free: 4.984 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.335, allocations: 171.8 kB / 0.7468 GB, free: 4.816 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/0.3373, allocations: 0.6558 MB / 0.7475 GB, free: 4.129 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.3374, allocations: 39.91 kB / 0.7475 GB, free: 4.09 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004358/0.3417, allocations: 6.071 MB / 0.7535 GB, free: 13.76 MB / 0.6077 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3417, allocations: 3.938 kB / 0.7535 GB, free: 13.76 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.3472, allocations: 4.232 MB / 0.7576 GB, free: 9.426 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.3474, allocations: 168.4 kB / 0.7577 GB, free: 9.242 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3476, allocations: 39.97 kB / 0.7578 GB, free: 9.203 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.348, allocations: 39.91 kB / 0.7578 GB, free: 9.164 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.3482, allocations: 68.89 kB / 0.7579 GB, free: 9.098 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.3483, allocations: 35.92 kB / 0.7579 GB, free: 9.062 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.0001256/0.3484, allocations: 130.3 kB / 0.758 GB, free: 8.938 MB / 0.6077 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 0.758 GB, free: 8.938 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.002742/0.3511, allocations: 1.006 MB / 0.759 GB, free: 7.93 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.009494/0.3606, allocations: 5.683 MB / 0.7646 GB, free: 2.137 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.3639, allocations: 1.871 MB / 0.7664 GB, free: 260 kB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.364, allocations: 0 / 0.7664 GB, free: 260 kB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.5429/0.9069, allocations: 1.468 MB / 0.7678 GB, free: 117.3 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.9081, allocations: 210.5 kB / 0.768 GB, free: 117.3 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.9222, allocations: 9.8 MB / 0.7776 GB, free: 113.1 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.923, allocations: 1.098 MB / 0.7787 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.001099/0.9242, allocations: 0.5064 MB / 0.7792 GB, free: 112.4 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.9246, allocations: 324.1 kB / 0.7795 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of SimCode: time 5.71e-07/0.9246, allocations: 0 / 0.7795 GB, free: 112.1 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.032, allocations: 51.61 MB / 0.8299 GB, free: 69.61 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.7, allocations: 12.02 kB / 0.8299 GB, free: 69.61 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