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.001253/0.001254, allocations: 107.9 kB / 16.92 MB, free: 5.707 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.001188/0.001188, 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.304/1.304, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.879/0.879, allocations: 119.3 MB / 411 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.4911 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4483, allocations: 80.69 MB / 0.5699 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001731/0.45, allocations: 0.5157 MB / 0.5704 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.4502, allocations: 18.84 kB / 0.5704 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.4503, allocations: 0 / 0.5704 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.4503, allocations: 5.312 kB / 0.5704 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.18e-05/0.4503, allocations: 0 / 0.5704 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.4505, allocations: 18.7 kB / 0.5704 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.4512, allocations: 1.019 MB / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.4513, allocations: 8.625 kB / 0.5714 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.4517, allocations: 403.4 kB / 0.5718 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/0.4523, allocations: 0.5229 MB / 0.5723 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.4524, allocations: 43.81 kB / 0.5723 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.4526, allocations: 43.75 kB / 0.5724 GB, free: 42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.4528, allocations: 238.9 kB / 0.5726 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.4531, allocations: 259.4 kB / 0.5729 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.4535, allocations: 0.5597 MB / 0.5734 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4535, allocations: 1.406 kB / 0.5734 GB, free: 41.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4536, allocations: 0 / 0.5734 GB, free: 41.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4536, allocations: 0 / 0.5734 GB, free: 41.33 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.005572/0.4591, allocations: 1.699 MB / 0.5751 GB, free: 40.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4592, allocations: 13.23 kB / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.4593, allocations: 83.38 kB / 0.5752 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.4595, allocations: 42.44 kB / 0.5752 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.4599, allocations: 326.7 kB / 0.5755 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.46, allocations: 33.81 kB / 0.5755 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.4601, allocations: 93.22 kB / 0.5756 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4614, allocations: 0.8658 MB / 0.5765 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4614, allocations: 4.875 kB / 0.5765 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.4615, allocations: 15.69 kB / 0.5765 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.4616, allocations: 13.22 kB / 0.5765 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.4625, allocations: 0.5499 MB / 0.577 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4643, allocations: 1.104 MB / 0.5781 GB, free: 38.31 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.4669, allocations: 1.845 MB / 0.5799 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.4678, allocations: 0.5964 MB / 0.5805 GB, free: 37.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4679, allocations: 11 kB / 0.5805 GB, free: 37.19 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.4679, allocations: 46.89 kB / 0.5806 GB, free: 37.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 3.466e-06/0.4679, allocations: 3.984 kB / 0.5806 GB, free: 37.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.002991/0.4709, allocations: 1.884 MB / 0.5824 GB, free: 36.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.4709, allocations: 66.92 kB / 0.5825 GB, free: 36.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.471, allocations: 94.45 kB / 0.5826 GB, free: 36.13 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.4711, allocations: 53.02 kB / 0.5826 GB, free: 36.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.4711, allocations: 87.2 kB / 0.5827 GB, free: 35.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.4714, allocations: 477.7 kB / 0.5831 GB, free: 35.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.4718, allocations: 259 kB / 0.5834 GB, free: 35.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.4719, allocations: 307 kB / 0.5837 GB, free: 35.13 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.473, allocations: 0.8483 MB / 0.5845 GB, free: 34.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.474, allocations: 0.9599 MB / 0.5855 GB, free: 33.48 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.4761, allocations: 1.747 MB / 0.5872 GB, free: 31.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4761, allocations: 3.938 kB / 0.5872 GB, free: 31.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002559/0.4787, allocations: 2.109 MB / 0.5892 GB, free: 29.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4787, allocations: 4 kB / 0.5892 GB, free: 29.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4787, allocations: 4 kB / 0.5892 GB, free: 29.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4787, allocations: 4 kB / 0.5892 GB, free: 29.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.4806, allocations: 403.5 kB / 0.5896 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.4806, allocations: 12 kB / 0.5896 GB, free: 29.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.4816, allocations: 202.7 kB / 0.5898 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4818, allocations: 44 kB / 0.5899 GB, free: 28.95 MB / 462.3 MB 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.0002752/0.482, allocations: 218.2 kB / 0.5901 GB, free: 28.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.4822, allocations: 43.61 kB / 0.5901 GB, free: 28.69 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.4826, allocations: 175.6 kB / 0.5903 GB, free: 28.51 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.4826, allocations: 8 kB / 0.5903 GB, free: 28.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4827, allocations: 4 kB / 0.5903 GB, free: 28.5 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4827, allocations: 7.984 kB / 0.5903 GB, free: 28.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.4838, allocations: 0.8017 MB / 0.5911 GB, free: 27.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4838, allocations: 4 kB / 0.5911 GB, free: 27.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.4858, allocations: 279.6 kB / 0.5914 GB, free: 27.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4858, allocations: 4 kB / 0.5914 GB, free: 27.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.486, allocations: 63.92 kB / 0.5914 GB, free: 27.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.486, allocations: 4 kB / 0.5914 GB, free: 27.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.486, allocations: 3.938 kB / 0.5914 GB, free: 27.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.4883, allocations: 1.905 MB / 0.5933 GB, free: 25.37 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.4886, allocations: 256.3 kB / 0.5935 GB, free: 25.1 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.4888, allocations: 51.95 kB / 0.5936 GB, free: 25.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.4898, allocations: 111.8 kB / 0.5937 GB, free: 24.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.49, allocations: 60.91 kB / 0.5937 GB, free: 24.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.4901, allocations: 31.98 kB / 0.5938 GB, free: 24.85 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.143e-05/0.4901, allocations: 83.22 kB / 0.5939 GB, free: 24.77 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 0 / 0.5939 GB, free: 24.77 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005351/0.4907, allocations: 268 kB / 0.5941 GB, free: 24.5 MB / 462.3 MB 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.002576/0.4933, allocations: 2.531 MB / 0.5966 GB, free: 21.94 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.496, allocations: 2.337 MB / 0.5989 GB, free: 19.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.496, allocations: 0 / 0.5989 GB, free: 19.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008306/0.4969, allocations: 0.6848 MB / 0.5995 GB, free: 18.92 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4973, allocations: 32 kB / 0.5996 GB, free: 18.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.5055, allocations: 9.112 MB / 0.6085 GB, free: 9.664 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.5057, allocations: 0.9145 MB / 0.6094 GB, free: 8.727 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001424/0.5072, allocations: 0.5128 MB / 0.6099 GB, free: 8.211 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.5077, allocations: 183.4 kB / 0.61 GB, free: 8.031 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.5077, allocations: 0 / 0.61 GB, free: 8.031 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8053/1.313, allocations: 16.97 MB / 0.6266 GB, free: 7.188 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.53, allocations: 12.23 kB / 0.6266 GB, free: 7.172 MB / 478.3 MB (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