Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_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: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.100.|T.1.|T.2.|T.3.|T.4.|T.5.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|Ttilde.99.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="T.100.|T.1.|T.2.|T.3.|T.4.|T.5.|Ttilde.1.|Ttilde.2.|Ttilde.3.|Ttilde.4.|Ttilde.5.|Ttilde.99.|der.Ttilde.1..|der.Ttilde.2..|der.Ttilde.3..|der.Ttilde.4..|der.Ttilde.5..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.9 kB / 17.29 MB, free: 6.219 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.001332/0.001333, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.251/1.251, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8709/0.8709, allocations: 119.3 MB / 411.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 0.4911 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4844, allocations: 80.68 MB / 0.5699 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100): time 0.002508/0.487, allocations: 1.416 MB / 0.5713 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.4876, allocations: 424.4 kB / 0.5717 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.4876, allocations: 1.25 kB / 0.5717 GB, free: 42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.4877, allocations: 3.938 kB / 0.5717 GB, free: 42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.488, allocations: 49.61 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 3.301e-05/0.488, allocations: 7.328 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.4885, allocations: 0.6263 MB / 0.5723 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.4885, allocations: 9.453 kB / 0.5723 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.4888, allocations: 231.6 kB / 0.5726 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.4893, allocations: 464.8 kB / 0.573 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.4894, allocations: 31.38 kB / 0.573 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.4895, allocations: 32.41 kB / 0.5731 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.4899, allocations: 0.679 MB / 0.5737 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.4905, allocations: 0.5965 MB / 0.5743 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.491, allocations: 0.6105 MB / 0.5749 GB, free: 40.37 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.491, allocations: 7.922 kB / 0.5749 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.533e-06/0.491, allocations: 0 / 0.5749 GB, free: 40.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.491, allocations: 0 / 0.5749 GB, free: 40.36 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003367/0.4944, allocations: 1.663 MB / 0.5765 GB, free: 39.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4944, allocations: 13.48 kB / 0.5766 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.4946, allocations: 116.3 kB / 0.5767 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.4952, allocations: 469 kB / 0.5771 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.4953, allocations: 57.72 kB / 0.5772 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.4955, allocations: 122.4 kB / 0.5773 GB, free: 38.76 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4969, allocations: 0.9642 MB / 0.5782 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4969, allocations: 0 / 0.5782 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.497, allocations: 34.47 kB / 0.5783 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.4971, allocations: 19.38 kB / 0.5783 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.4979, allocations: 0.5796 MB / 0.5788 GB, free: 37.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.5027, allocations: 2.675 MB / 0.5815 GB, free: 36.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.5045, allocations: 1.279 MB / 0.5827 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.5051, allocations: 433.9 kB / 0.5831 GB, free: 35.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.538e-05/0.5051, allocations: 11.34 kB / 0.5831 GB, free: 35.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.5052, allocations: 46.44 kB / 0.5832 GB, free: 35.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=101): time 2.645e-06/0.5052, allocations: 1.062 kB / 0.5832 GB, free: 35.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=101): time 0.001903/0.5071, allocations: 1.294 MB / 0.5844 GB, free: 34.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5071, allocations: 62.75 kB / 0.5845 GB, free: 34.68 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.5075, allocations: 393 kB / 0.5849 GB, free: 34.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.5075, allocations: 41.7 kB / 0.5849 GB, free: 34.28 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5076, allocations: 316.8 kB / 0.5852 GB, free: 33.96 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.5079, allocations: 477.3 kB / 0.5857 GB, free: 33.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5081, allocations: 251.6 kB / 0.5859 GB, free: 33.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.5082, allocations: 337.9 kB / 0.5862 GB, free: 32.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.5088, allocations: 0.6245 MB / 0.5868 GB, free: 32.28 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.5095, allocations: 0.6538 MB / 0.5875 GB, free: 31.62 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.5108, allocations: 1.32 MB / 0.5888 GB, free: 30.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5109, allocations: 11.86 kB / 0.5888 GB, free: 30.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001754/0.5126, allocations: 1.703 MB / 0.5904 GB, free: 28.58 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5126, allocations: 8 kB / 0.5904 GB, free: 28.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5127, allocations: 0 / 0.5904 GB, free: 28.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.5127, allocations: 11.98 kB / 0.5905 GB, free: 28.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.514, allocations: 403.4 kB / 0.5908 GB, free: 28.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.514, allocations: 8 kB / 0.5909 GB, free: 28.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.5152, allocations: 230.6 kB / 0.5911 GB, free: 27.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.5152, allocations: 44 kB / 0.5911 GB, free: 27.89 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (200): * Single equations (assignments): 200 * 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.0003588/0.5156, allocations: 289.4 kB / 0.5914 GB, free: 27.6 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5157, allocations: 87.12 kB / 0.5915 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.517, allocations: 1.09 MB / 0.5925 GB, free: 26.41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.517, allocations: 8 kB / 0.5925 GB, free: 26.4 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5171, allocations: 0 / 0.5925 GB, free: 26.4 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5171, allocations: 11.98 kB / 0.5926 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.518, allocations: 0.8567 MB / 0.5934 GB, free: 25.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.518, allocations: 0 / 0.5934 GB, free: 25.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.5196, allocations: 295.5 kB / 0.5937 GB, free: 25.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.5197, allocations: 11.98 kB / 0.5937 GB, free: 25.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-05/0.5198, allocations: 59.94 kB / 0.5937 GB, free: 25.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5198, allocations: 4 kB / 0.5937 GB, free: 25.12 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5198, allocations: 0 / 0.5937 GB, free: 25.12 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.5213, allocations: 1.558 MB / 0.5953 GB, free: 23.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.5217, allocations: 251.8 kB / 0.5955 GB, free: 23.27 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5218, allocations: 51.95 kB / 0.5956 GB, free: 23.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008194/0.5227, allocations: 167.3 kB / 0.5957 GB, free: 23.06 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5228, allocations: 64.91 kB / 0.5958 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.5228, allocations: 31.98 kB / 0.5958 GB, free: 22.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001887/0.523, allocations: 279.1 kB / 0.5961 GB, free: 22.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.41e-07/0.523, allocations: 0 / 0.5961 GB, free: 22.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007901/0.5238, allocations: 0.4916 MB / 0.5966 GB, free: 22.2 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 99 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79],Ttilde[80],Ttilde[81],Ttilde[82],Ttilde[83],Ttilde[84],Ttilde[85],Ttilde[86],Ttilde[87],Ttilde[88],Ttilde[89],Ttilde[90],Ttilde[91],Ttilde[92],Ttilde[93],Ttilde[94],Ttilde[95],Ttilde[96],Ttilde[97],Ttilde[98],Ttilde[99]) * 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 (103): * Single equations (assignments): 103 * 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.0001842/0.524, allocations: 188.2 kB / 0.5967 GB, free: 22.01 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.5263, allocations: 1.963 MB / 0.5987 GB, free: 20.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5263, allocations: 0 / 0.5987 GB, free: 20.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.5268, allocations: 0.5287 MB / 0.5992 GB, free: 19.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5281, allocations: 480.8 kB / 0.5996 GB, free: 19.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5391, allocations: 8.603 MB / 0.608 GB, free: 10.4 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5395, allocations: 1.11 MB / 0.6091 GB, free: 9.254 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.5399, allocations: 83.44 kB / 0.6092 GB, free: 9.172 MB / 462.3 MB Notification: Performance of SimCode: time 6.81e-07/0.5399, allocations: 0 / 0.6092 GB, free: 9.172 MB / 462.3 MB Notification: Performance of Templates: time 0.02302/0.563, allocations: 17.21 MB / 0.626 GB, free: 8.008 MB / 478.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches