Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001354/0.001354, allocations: 114.6 kB / 17.7 MB, free: 5.309 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.001423/0.001423, allocations: 191 kB / 18.63 MB, free: 4.379 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.23/1.23, allocations: 119.3 MB / 411.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.91 kB / 0.4937 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6218/0.6229, allocations: 80.69 MB / 0.5725 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002228/0.6252, allocations: 1.185 MB / 0.5737 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001588/0.6254, allocations: 29.77 kB / 0.5737 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.6254, allocations: 3.938 kB / 0.5737 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.6255, allocations: 0.9375 kB / 0.5737 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.6256, allocations: 7.922 kB / 0.5737 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.6257, allocations: 10.61 kB / 0.5737 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.6262, allocations: 495.7 kB / 0.5742 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.6262, allocations: 12.25 kB / 0.5742 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.6264, allocations: 178 kB / 0.5744 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.6267, allocations: 194.3 kB / 0.5746 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.6268, allocations: 25.47 kB / 0.5746 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.6268, allocations: 25.28 kB / 0.5746 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.627, allocations: 170 kB / 0.5748 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.6272, allocations: 186 kB / 0.575 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.6275, allocations: 330 kB / 0.5753 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6275, allocations: 1.25 kB / 0.5753 GB, free: 42.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6275, allocations: 0 / 0.5753 GB, free: 42.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.6275, allocations: 4 kB / 0.5753 GB, free: 42.11 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.001735/0.6292, allocations: 0.8981 MB / 0.5762 GB, free: 41.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6293, allocations: 12.42 kB / 0.5762 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.6294, allocations: 43.75 kB / 0.5762 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.6298, allocations: 273.2 kB / 0.5765 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.6298, allocations: 30.03 kB / 0.5765 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.63, allocations: 89.2 kB / 0.5766 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.6307, allocations: 0.5157 MB / 0.5771 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6307, allocations: 192 / 0.5771 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.6308, allocations: 19.91 kB / 0.5771 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.6308, allocations: 8.875 kB / 0.5771 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.6312, allocations: 311.3 kB / 0.5774 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.6331, allocations: 1.048 MB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.6346, allocations: 1.099 MB / 0.5795 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.6351, allocations: 353 kB / 0.5798 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.6352, allocations: 11.09 kB / 0.5799 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.6352, allocations: 47.34 kB / 0.5799 GB, free: 39.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 3.016e-06/0.6352, allocations: 3.984 kB / 0.5799 GB, free: 39.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.00171/0.6369, allocations: 1.153 MB / 0.581 GB, free: 38.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.637, allocations: 61.62 kB / 0.5811 GB, free: 38.69 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.6371, allocations: 103.3 kB / 0.5812 GB, free: 38.59 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.6371, allocations: 41.39 kB / 0.5812 GB, free: 38.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.6372, allocations: 86.98 kB / 0.5813 GB, free: 38.46 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.6374, allocations: 481.7 kB / 0.5818 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.6377, allocations: 252.9 kB / 0.582 GB, free: 37.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.6378, allocations: 310.9 kB / 0.5823 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/0.6386, allocations: 0.5961 MB / 0.5829 GB, free: 37.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.6395, allocations: 0.7196 MB / 0.5836 GB, free: 36.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.6411, allocations: 1.233 MB / 0.5848 GB, free: 36.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6411, allocations: 0 / 0.5848 GB, free: 36.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001822/0.643, allocations: 1.619 MB / 0.5864 GB, free: 34.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.643, allocations: 10.38 kB / 0.5864 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.643, allocations: 0 / 0.5864 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.643, allocations: 8 kB / 0.5864 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.6445, allocations: 0.5111 MB / 0.5869 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.6446, allocations: 8 kB / 0.5869 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.645, allocations: 154.7 kB / 0.5871 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.645, allocations: 44 kB / 0.5871 GB, free: 34.22 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.0002293/0.6453, allocations: 229.3 kB / 0.5873 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.6454, allocations: 35.62 kB / 0.5873 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.6455, allocations: 87.61 kB / 0.5874 GB, free: 33.87 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6455, allocations: 8 kB / 0.5874 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.6455, allocations: 0 / 0.5874 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6455, allocations: 7.984 kB / 0.5874 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.6462, allocations: 0.5523 MB / 0.588 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6462, allocations: 0 / 0.588 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.6484, allocations: 0.5152 MB / 0.5885 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.6484, allocations: 4 kB / 0.5885 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.6485, allocations: 63.92 kB / 0.5886 GB, free: 32.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6485, allocations: 0 / 0.5886 GB, free: 32.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6485, allocations: 4 kB / 0.5886 GB, free: 32.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.6499, allocations: 1.347 MB / 0.5899 GB, free: 31.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.6499, allocations: 124.5 kB / 0.59 GB, free: 31.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/0.65, allocations: 59.94 kB / 0.59 GB, free: 31.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.6504, allocations: 63.94 kB / 0.5901 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.6505, allocations: 56.91 kB / 0.5902 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.6505, allocations: 31.98 kB / 0.5902 GB, free: 30.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.6506, allocations: 83.27 kB / 0.5903 GB, free: 30.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6506, allocations: 0 / 0.5903 GB, free: 30.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004486/0.651, allocations: 216 kB / 0.5905 GB, free: 30.66 MB / 462.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 (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.0001836/0.6512, allocations: 174.2 kB / 0.5906 GB, free: 30.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.6526, allocations: 1.189 MB / 0.5918 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6526, allocations: 0 / 0.5918 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.653, allocations: 449.4 kB / 0.5922 GB, free: 28.85 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.6534, allocations: 39.94 kB / 0.5923 GB, free: 28.81 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.6552, allocations: 2.542 MB / 0.5948 GB, free: 26.23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6555, allocations: 0.9145 MB / 0.5956 GB, free: 25.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006722/0.6562, allocations: 397.1 kB / 0.596 GB, free: 24.9 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.6564, allocations: 55.38 kB / 0.5961 GB, free: 24.85 MB / 462.3 MB Notification: Performance of SimCode: time 2.314e-06/0.6564, allocations: 0 / 0.5961 GB, free: 24.85 MB / 462.3 MB Notification: Performance of Templates: time 0.009042/0.6655, allocations: 6.239 MB / 0.6022 GB, free: 18.64 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches