Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_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.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001403/0.001403, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.316/1.316, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7513/0.7513, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 8 kB / 0.4955 GB, free: 9.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 82.85 MB / 0.5764 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.001204/0.1692, allocations: 0.9065 MB / 0.5772 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000134/0.1694, allocations: 23.94 kB / 0.5773 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1694, allocations: 0 / 0.5773 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.738e-05/0.1695, allocations: 7.984 kB / 0.5773 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.1695, allocations: 3.984 kB / 0.5773 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.1696, allocations: 4 kB / 0.5773 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.17, allocations: 335.4 kB / 0.5776 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.17, allocations: 11.97 kB / 0.5776 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1701, allocations: 163.9 kB / 0.5778 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1704, allocations: 191.7 kB / 0.578 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.1705, allocations: 24 kB / 0.578 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-05/0.1705, allocations: 31.94 kB / 0.578 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1707, allocations: 167.6 kB / 0.5782 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.1707, allocations: 69.58 kB / 0.5782 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1709, allocations: 231.7 kB / 0.5785 GB, free: 4.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1709, allocations: 4 kB / 0.5785 GB, free: 4.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.171, allocations: 0 / 0.5785 GB, free: 4.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.171, allocations: 0 / 0.5785 GB, free: 4.648 MB / 446.1 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.001791/0.1728, allocations: 0.8702 MB / 0.5793 GB, free: 3.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1728, allocations: 12.03 kB / 0.5793 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1729, allocations: 43.48 kB / 0.5794 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1733, allocations: 274.5 kB / 0.5796 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1733, allocations: 32.98 kB / 0.5797 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1735, allocations: 83.61 kB / 0.5797 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.1742, allocations: 0.5098 MB / 0.5802 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1742, allocations: 0 / 0.5802 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.1742, allocations: 20 kB / 0.5803 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1743, allocations: 12 kB / 0.5803 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.1747, allocations: 311.7 kB / 0.5806 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.1764, allocations: 1.044 MB / 0.5816 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.1779, allocations: 1.087 MB / 0.5826 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.1779, allocations: 9 kB / 0.5827 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.178, allocations: 47.55 kB / 0.5827 GB, free: 148 kB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.427e-06/0.178, allocations: 3.984 kB / 0.5827 GB, free: 144 kB / 446.1 MB Notification: Performance of matching and sorting (n=100): time 0.4449/0.6229, allocations: 1.162 MB / 0.5838 GB, free: 16.95 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.623, allocations: 66.77 kB / 0.5839 GB, free: 16.89 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.6231, allocations: 100.2 kB / 0.584 GB, free: 16.79 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.6231, allocations: 42.48 kB / 0.584 GB, free: 16.76 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.6232, allocations: 96.25 kB / 0.5841 GB, free: 16.67 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.6235, allocations: 478.2 kB / 0.5846 GB, free: 16.39 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.6236, allocations: 30.28 kB / 0.5846 GB, free: 16.39 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6237, allocations: 377.2 kB / 0.585 GB, free: 16.08 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/0.6247, allocations: 0.5891 MB / 0.5855 GB, free: 16.07 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.6259, allocations: 0.7083 MB / 0.5862 GB, free: 16.04 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.6271, allocations: 0.7258 MB / 0.5869 GB, free: 15.88 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6271, allocations: 0 / 0.5869 GB, free: 15.88 MB / 446.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003174/0.6303, allocations: 1.594 MB / 0.5885 GB, free: 15.37 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.6303, allocations: 9.812 kB / 0.5885 GB, free: 15.37 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6303, allocations: 5.438 kB / 0.5885 GB, free: 15.37 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.6304, allocations: 6.812 kB / 0.5885 GB, free: 15.37 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.6323, allocations: 0.5203 MB / 0.589 GB, free: 15.34 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.6324, allocations: 7.703 kB / 0.589 GB, free: 15.34 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.6329, allocations: 151.6 kB / 0.5892 GB, free: 15.25 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.633, allocations: 46.7 kB / 0.5892 GB, free: 15.24 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.6333, allocations: 215.7 kB / 0.5894 GB, free: 15.07 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.6334, allocations: 38.56 kB / 0.5895 GB, free: 15.05 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.6336, allocations: 81.77 kB / 0.5896 GB, free: 14.97 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6336, allocations: 13.61 kB / 0.5896 GB, free: 14.97 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.6336, allocations: 1.75 kB / 0.5896 GB, free: 14.97 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6336, allocations: 8.969 kB / 0.5896 GB, free: 14.96 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008885/0.6345, allocations: 0.5517 MB / 0.5901 GB, free: 14.67 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6345, allocations: 1.094 kB / 0.5901 GB, free: 14.67 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/0.6372, allocations: 0.5097 MB / 0.5906 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/0.6372, allocations: 4.922 kB / 0.5906 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.6374, allocations: 61.41 kB / 0.5907 GB, free: 14.63 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.6374, allocations: 4.406 kB / 0.5907 GB, free: 14.63 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6374, allocations: 9.297 kB / 0.5907 GB, free: 14.62 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.6396, allocations: 1.344 MB / 0.592 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.6397, allocations: 123.7 kB / 0.5921 GB, free: 13.99 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6398, allocations: 67.25 kB / 0.5922 GB, free: 13.97 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.6403, allocations: 63.89 kB / 0.5922 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6404, allocations: 63.86 kB / 0.5923 GB, free: 13.94 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.6405, allocations: 30.16 kB / 0.5923 GB, free: 13.93 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.6405, allocations: 80.86 kB / 0.5924 GB, free: 13.86 MB / 446.3 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6405, allocations: 0 / 0.5924 GB, free: 13.86 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006872/0.6412, allocations: 212.3 kB / 0.5926 GB, free: 13.82 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.6414, allocations: 173.7 kB / 0.5928 GB, free: 13.7 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.6434, allocations: 1.185 MB / 0.5939 GB, free: 13.39 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6434, allocations: 1.375 kB / 0.5939 GB, free: 13.39 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006489/0.6441, allocations: 442 kB / 0.5944 GB, free: 13.27 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.6443, allocations: 20.12 kB / 0.5944 GB, free: 13.26 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.6473, allocations: 2.904 MB / 0.5972 GB, free: 11.9 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.6477, allocations: 0.9259 MB / 0.5981 GB, free: 11.19 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0008387/0.6485, allocations: 389 kB / 0.5985 GB, free: 11.13 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.6487, allocations: 51.59 kB / 0.5985 GB, free: 11.12 MB / 446.3 MB Notification: Performance of SimCode: time 7.92e-07/0.6487, allocations: 3.938 kB / 0.5985 GB, free: 11.12 MB / 446.3 MB Notification: Performance of Templates: time 0.01028/0.659, allocations: 5.667 MB / 0.6041 GB, free: 8.961 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches