Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009296/0.0009297, allocations: 102.9 kB / 16.62 MB, free: 6.805 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.0009186/0.0009186, allocations: 197.9 kB / 17.55 MB, free: 5.945 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.161/1.161, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7302/0.7302, allocations: 119.3 MB / 410.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 63.91 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3585, allocations: 80.68 MB / 0.5692 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001368/0.3599, allocations: 0.5764 MB / 0.5698 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.36, allocations: 31.45 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.36, allocations: 0 / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.3601, allocations: 0 / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.19e-05/0.3601, allocations: 5.156 kB / 0.5698 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.3602, allocations: 10.05 kB / 0.5698 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.3609, allocations: 1.016 MB / 0.5708 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.3609, allocations: 4.938 kB / 0.5708 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.3612, allocations: 431.1 kB / 0.5712 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000501/0.3617, allocations: 0.5196 MB / 0.5718 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3618, allocations: 43.62 kB / 0.5718 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.3619, allocations: 43.09 kB / 0.5718 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3621, allocations: 243.4 kB / 0.5721 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3623, allocations: 254.9 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.3627, allocations: 0.564 MB / 0.5729 GB, free: 40.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3627, allocations: 0 / 0.5729 GB, free: 40.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3627, allocations: 0 / 0.5729 GB, free: 40.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3627, allocations: 5.125 kB / 0.5729 GB, free: 40.82 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.004905/0.3676, allocations: 1.691 MB / 0.5745 GB, free: 39.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.3677, allocations: 12.48 kB / 0.5745 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.3678, allocations: 43.94 kB / 0.5746 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3682, allocations: 334.7 kB / 0.5749 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3682, allocations: 33.06 kB / 0.5749 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3683, allocations: 93.28 kB / 0.575 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3695, allocations: 0.8669 MB / 0.5759 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3695, allocations: 192 / 0.5759 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.3696, allocations: 23.25 kB / 0.5759 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3696, allocations: 10.44 kB / 0.5759 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.3703, allocations: 0.549 MB / 0.5764 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3718, allocations: 1.107 MB / 0.5775 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.3742, allocations: 1.846 MB / 0.5793 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.3749, allocations: 0.5966 MB / 0.5799 GB, free: 36.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.375, allocations: 15.03 kB / 0.5799 GB, free: 36.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.375, allocations: 47.33 kB / 0.58 GB, free: 36.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 1.653e-06/0.375, allocations: 0 / 0.58 GB, free: 36.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.002611/0.3777, allocations: 1.888 MB / 0.5818 GB, free: 35.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.3777, allocations: 62.19 kB / 0.5819 GB, free: 35.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.144e-05/0.3777, allocations: 103.2 kB / 0.582 GB, free: 35.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.3778, allocations: 40.58 kB / 0.582 GB, free: 35.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.3779, allocations: 87.2 kB / 0.5821 GB, free: 35.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.3781, allocations: 477.7 kB / 0.5825 GB, free: 35.13 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.3785, allocations: 258.7 kB / 0.5828 GB, free: 34.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 2.921e-05/0.3785, allocations: 307.6 kB / 0.5831 GB, free: 34.69 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.3795, allocations: 0.8486 MB / 0.5839 GB, free: 34.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3806, allocations: 0.9656 MB / 0.5848 GB, free: 33.68 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.3824, allocations: 1.739 MB / 0.5865 GB, free: 31.94 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3824, allocations: 0 / 0.5865 GB, free: 31.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002251/0.3847, allocations: 2.113 MB / 0.5886 GB, free: 29.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3847, allocations: 8 kB / 0.5886 GB, free: 29.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3847, allocations: 0 / 0.5886 GB, free: 29.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3848, allocations: 8 kB / 0.5886 GB, free: 29.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.3863, allocations: 399.5 kB / 0.589 GB, free: 29.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3863, allocations: 8 kB / 0.589 GB, free: 29.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.3871, allocations: 202.7 kB / 0.5892 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.3872, allocations: 48 kB / 0.5893 GB, free: 29.16 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.0002351/0.3874, allocations: 213.4 kB / 0.5895 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.3876, allocations: 43.61 kB / 0.5895 GB, free: 28.9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.3879, allocations: 179.6 kB / 0.5897 GB, free: 28.72 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3879, allocations: 16 kB / 0.5897 GB, free: 28.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.388, allocations: 0 / 0.5897 GB, free: 28.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.388, allocations: 3.984 kB / 0.5897 GB, free: 28.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.389, allocations: 0.7979 MB / 0.5905 GB, free: 27.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.389, allocations: 0 / 0.5905 GB, free: 27.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.3908, allocations: 279.6 kB / 0.5907 GB, free: 27.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3908, allocations: 4 kB / 0.5907 GB, free: 27.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.391, allocations: 63.92 kB / 0.5908 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.391, allocations: 4 kB / 0.5908 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.391, allocations: 0 / 0.5908 GB, free: 27.51 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.3931, allocations: 1.913 MB / 0.5927 GB, free: 25.58 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.3934, allocations: 252.3 kB / 0.5929 GB, free: 25.31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.3936, allocations: 51.95 kB / 0.593 GB, free: 25.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/0.3944, allocations: 116 kB / 0.5931 GB, free: 25.15 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.3946, allocations: 60.91 kB / 0.5931 GB, free: 25.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.3947, allocations: 39.91 kB / 0.5932 GB, free: 25.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.678e-05/0.3947, allocations: 83.28 kB / 0.5932 GB, free: 24.97 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3947, allocations: 3.938 kB / 0.5933 GB, free: 24.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004703/0.3952, allocations: 264 kB / 0.5935 GB, free: 24.71 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.0001834/0.3954, allocations: 189.6 kB / 0.5937 GB, free: 24.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.3979, allocations: 2.329 MB / 0.596 GB, free: 22.18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3979, allocations: 0 / 0.596 GB, free: 22.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.3987, allocations: 0.6809 MB / 0.5966 GB, free: 21.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.399, allocations: 39.94 kB / 0.5967 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4008, allocations: 2.826 MB / 0.5994 GB, free: 18.6 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.401, allocations: 0.9145 MB / 0.6003 GB, free: 17.66 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001265/0.4023, allocations: 0.5128 MB / 0.6008 GB, free: 17.14 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.4027, allocations: 51.44 kB / 0.6009 GB, free: 17.09 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4027, allocations: 0 / 0.6009 GB, free: 17.09 MB / 462.3 MB Notification: Performance of Templates: time 0.009629/0.4123, allocations: 9.749 MB / 0.6104 GB, free: 7.367 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches