Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.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.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",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.002202/0.002202, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.002711/0.002711, allocations: 200 kB / 18.01 MB, free: 5.055 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.41/2.41, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.736/1.736, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.00239, allocations: 66.84 kB / 0.5705 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.249, allocations: 80.7 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.002643/0.2517, allocations: 0.5047 MB / 0.6498 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002441/0.252, allocations: 31.89 kB / 0.6498 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.252, allocations: 0 / 0.6498 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2521, allocations: 0 / 0.6498 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 2.07e-05/0.2522, allocations: 3.938 kB / 0.6498 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2524, allocations: 7.984 kB / 0.6499 GB, free: 12.91 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.2538, allocations: 1.026 MB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.2539, allocations: 8 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007034/0.2547, allocations: 411.5 kB / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.2559, allocations: 0.5148 MB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.2561, allocations: 44 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.2563, allocations: 44 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.2567, allocations: 239.4 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.2572, allocations: 255 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.258, allocations: 0.5566 MB / 0.6529 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.258, allocations: 0 / 0.6529 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.418e-06/0.258, allocations: 0 / 0.6529 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.258, allocations: 0 / 0.6529 GB, free: 9.832 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00757/0.2656, allocations: 1.541 MB / 0.6544 GB, free: 8.234 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/0.2657, allocations: 8.031 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.2659, allocations: 78.72 kB / 0.6544 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.2661, allocations: 40.56 kB / 0.6545 GB, free: 8.102 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.267, allocations: 323.8 kB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.267, allocations: 29.38 kB / 0.6548 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.2673, allocations: 99.91 kB / 0.6549 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.2697, allocations: 0.8729 MB / 0.6558 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2697, allocations: 3.938 kB / 0.6558 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.2699, allocations: 16 kB / 0.6558 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2699, allocations: 12 kB / 0.6558 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.2714, allocations: 0.5464 MB / 0.6563 GB, free: 6.16 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.2744, allocations: 1.107 MB / 0.6574 GB, free: 5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/0.279, allocations: 1.844 MB / 0.6592 GB, free: 3.145 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.2805, allocations: 0.5931 MB / 0.6598 GB, free: 2.547 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2807, allocations: 9 kB / 0.6598 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.2807, allocations: 43.56 kB / 0.6598 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 4.909e-06/0.2808, allocations: 0 / 0.6598 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.005105/0.2859, allocations: 1.896 MB / 0.6617 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.286, allocations: 68.39 kB / 0.6618 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2861, allocations: 97.86 kB / 0.6619 GB, free: 408 kB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.2862, allocations: 41.7 kB / 0.6619 GB, free: 360 kB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.2863, allocations: 82.14 kB / 0.662 GB, free: 272 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000614/0.287, allocations: 481.4 kB / 0.6624 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006599/0.2876, allocations: 259.6 kB / 0.6627 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2878, allocations: 306 kB / 0.663 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.2899, allocations: 0.8509 MB / 0.6638 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.2921, allocations: 0.9599 MB / 0.6647 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.2963, allocations: 1.743 MB / 0.6664 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.2964, allocations: 3.938 kB / 0.6664 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.005164/0.3015, allocations: 2.105 MB / 0.6685 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.3016, allocations: 11.92 kB / 0.6685 GB, free: 9.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.3016, allocations: 4 kB / 0.6685 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/0.3017, allocations: 8.031 kB / 0.6685 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/0.3047, allocations: 403.4 kB / 0.6689 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/0.3048, allocations: 8 kB / 0.6689 GB, free: 9.113 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.3063, allocations: 202.7 kB / 0.6691 GB, free: 8.914 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.3065, allocations: 48 kB / 0.6692 GB, free: 8.867 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005558/0.307, allocations: 218.8 kB / 0.6694 GB, free: 8.645 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.3073, allocations: 39.62 kB / 0.6694 GB, free: 8.605 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.3079, allocations: 179.6 kB / 0.6696 GB, free: 8.434 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3079, allocations: 8 kB / 0.6696 GB, free: 8.426 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.3079, allocations: 4 kB / 0.6696 GB, free: 8.422 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.3079, allocations: 3.984 kB / 0.6696 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.3101, allocations: 0.8056 MB / 0.6704 GB, free: 7.562 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3101, allocations: 0 / 0.6704 GB, free: 7.562 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/0.3134, allocations: 283.6 kB / 0.6706 GB, free: 7.285 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.3134, allocations: 4 kB / 0.6706 GB, free: 7.281 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.3137, allocations: 63.92 kB / 0.6707 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/0.3137, allocations: 8 kB / 0.6707 GB, free: 7.211 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3137, allocations: 0 / 0.6707 GB, free: 7.211 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.3182, allocations: 1.909 MB / 0.6726 GB, free: 5.285 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/0.3188, allocations: 248.4 kB / 0.6728 GB, free: 5.023 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.3191, allocations: 51.95 kB / 0.6729 GB, free: 4.973 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.3205, allocations: 115.8 kB / 0.673 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.3208, allocations: 60.91 kB / 0.673 GB, free: 4.801 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.321, allocations: 31.98 kB / 0.6731 GB, free: 4.77 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3211, allocations: 83.28 kB / 0.6731 GB, free: 4.688 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3211, allocations: 3.938 kB / 0.6731 GB, free: 4.684 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001021/0.3221, allocations: 264 kB / 0.6734 GB, free: 4.426 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00484/0.327, allocations: 2.535 MB / 0.6759 GB, free: 1.855 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.3309, allocations: 1.677 MB / 0.6775 GB, free: 184 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3309, allocations: 0 / 0.6775 GB, free: 184 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.3325, allocations: 0.6926 MB / 0.6782 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.333, allocations: 32 kB / 0.6782 GB, free: 15.45 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.3492, allocations: 9.133 MB / 0.6871 GB, free: 6.227 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.35, allocations: 0.9221 MB / 0.688 GB, free: 5.273 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.002074/0.352, allocations: 0.5089 MB / 0.6885 GB, free: 4.762 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/0.3528, allocations: 187.3 kB / 0.6887 GB, free: 4.578 MB / 0.5295 GB Notification: Performance of SimCode: time 3.106e-06/0.3528, allocations: 0 / 0.6887 GB, free: 4.578 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.414, allocations: 17.49 MB / 0.7058 GB, free: 3.23 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.51, allocations: 10.91 kB / 0.7058 GB, free: 3.223 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches