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.001754/0.001754, allocations: 108.5 kB / 17.06 MB, free: 5.996 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.002006/0.002006, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.529/1.529, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.219/1.219, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 66.73 kB / 0.5723 GB, free: 38.93 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.193, allocations: 80.7 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002711/0.1958, allocations: 1.192 MB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.196, allocations: 23.95 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.1961, allocations: 7.875 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.404e-05/0.1962, allocations: 0 / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.1962, allocations: 0 / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1964, allocations: 11.92 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1969, allocations: 499.4 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.197, allocations: 4 kB / 0.6528 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1972, allocations: 167.9 kB / 0.6529 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1975, allocations: 203.6 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.1976, allocations: 31.98 kB / 0.6532 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.1976, allocations: 31.94 kB / 0.6532 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1978, allocations: 163.6 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.198, allocations: 187.2 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1984, allocations: 334.6 kB / 0.6538 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1984, allocations: 0 / 0.6538 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1984, allocations: 4 kB / 0.6538 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.1985, allocations: 0 / 0.6538 GB, free: 8.828 MB / 0.4983 GB 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.002042/0.2005, allocations: 0.8971 MB / 0.6547 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2006, allocations: 11.89 kB / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2007, allocations: 44.7 kB / 0.6548 GB, free: 7.82 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.2011, allocations: 275.9 kB / 0.655 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.2011, allocations: 29.38 kB / 0.6551 GB, free: 7.484 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.2013, allocations: 88.17 kB / 0.6551 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.2022, allocations: 0.5259 MB / 0.6557 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2022, allocations: 192 / 0.6557 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.2023, allocations: 19.94 kB / 0.6557 GB, free: 6.848 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.2023, allocations: 8 kB / 0.6557 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.2028, allocations: 303.8 kB / 0.656 GB, free: 6.543 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2046, allocations: 1.056 MB / 0.657 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.2064, allocations: 1.098 MB / 0.6581 GB, free: 4.328 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.207, allocations: 355.6 kB / 0.6584 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.2071, allocations: 9 kB / 0.6584 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.2071, allocations: 43.56 kB / 0.6585 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.625e-06/0.2071, allocations: 3.938 kB / 0.6585 GB, free: 3.918 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.002033/0.2092, allocations: 1.147 MB / 0.6596 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.2092, allocations: 72.39 kB / 0.6597 GB, free: 2.68 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2094, allocations: 97.86 kB / 0.6598 GB, free: 2.574 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.2094, allocations: 41.7 kB / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.2095, allocations: 86.09 kB / 0.6599 GB, free: 2.438 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.21, allocations: 0.4959 MB / 0.6604 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/0.2104, allocations: 251.6 kB / 0.6606 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2106, allocations: 310.5 kB / 0.6609 GB, free: 1.379 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/0.2116, allocations: 0.6011 MB / 0.6615 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.2127, allocations: 0.7179 MB / 0.6622 GB, free: 52 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.2146, allocations: 1.232 MB / 0.6634 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2146, allocations: 4 kB / 0.6634 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002478/0.2171, allocations: 1.614 MB / 0.665 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2171, allocations: 8 kB / 0.665 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2172, allocations: 3.984 kB / 0.665 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.2172, allocations: 8 kB / 0.665 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.219, allocations: 0.5073 MB / 0.6655 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.219, allocations: 8 kB / 0.6655 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.2195, allocations: 159.1 kB / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.2196, allocations: 48 kB / 0.6657 GB, free: 12.45 MB / 0.5139 GB 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.0003114/0.2199, allocations: 222.3 kB / 0.6659 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.22, allocations: 39.81 kB / 0.6659 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.2202, allocations: 79.61 kB / 0.666 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.2202, allocations: 16 kB / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.2203, allocations: 0 / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2203, allocations: 3.984 kB / 0.666 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2213, allocations: 0.5601 MB / 0.6666 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2213, allocations: 4 kB / 0.6666 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/0.2238, allocations: 0.5113 MB / 0.6671 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/0.2239, allocations: 0 / 0.6671 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.224, allocations: 67.92 kB / 0.6671 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.224, allocations: 7.938 kB / 0.6672 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.224, allocations: 0 / 0.6672 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.2261, allocations: 1.352 MB / 0.6685 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2262, allocations: 124.7 kB / 0.6686 GB, free: 9.383 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.2263, allocations: 55.89 kB / 0.6686 GB, free: 9.328 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.2268, allocations: 67.92 kB / 0.6687 GB, free: 9.262 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.2269, allocations: 56.91 kB / 0.6688 GB, free: 9.207 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.227, allocations: 31.98 kB / 0.6688 GB, free: 9.176 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.2271, allocations: 87.45 kB / 0.6689 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.2271, allocations: 0 / 0.6689 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005658/0.2276, allocations: 212 kB / 0.6691 GB, free: 8.883 MB / 0.5139 GB 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.0002806/0.2279, allocations: 178.1 kB / 0.6693 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.23, allocations: 1.189 MB / 0.6704 GB, free: 7.508 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.23, allocations: 0 / 0.6704 GB, free: 7.508 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.2307, allocations: 453.5 kB / 0.6708 GB, free: 7.062 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.231, allocations: 39.94 kB / 0.6709 GB, free: 7.023 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.2343, allocations: 2.593 MB / 0.6734 GB, free: 4.398 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.235, allocations: 0.9221 MB / 0.6743 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0009/0.2359, allocations: 389.1 kB / 0.6747 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.2361, allocations: 51.44 kB / 0.6747 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of SimCode: time 8.42e-07/0.2361, allocations: 4 kB / 0.6747 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of Templates: time 0.01441/0.2505, allocations: 6.494 MB / 0.6811 GB, free: 12.54 MB / 0.5295 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches