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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.8 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 221.4 MB / 229.9 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 97.11 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7812/0.7812, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.254e-06, allocations: 0 / 0.5289 GB, free: 51.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 82.84 MB / 0.6098 GB, free: 2.484 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6878/0.8448, allocations: 124.4 MB / 0.7313 GB, free: 4.695 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.8451, allocations: 48.22 kB / 0.7314 GB, free: 4.68 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02148/0.8666, allocations: 5.817 MB / 0.7371 GB, free: 15.94 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.8667, allocations: 8 kB / 0.7371 GB, free: 15.93 MB / 0.5109 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.001989/0.8687, allocations: 0.8159 MB / 0.7379 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.8687, allocations: 12.02 kB / 0.7379 GB, free: 15.08 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.869, allocations: 39.62 kB / 0.7379 GB, free: 15.04 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.8695, allocations: 278.4 kB / 0.7382 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.8695, allocations: 12 kB / 0.7382 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.8697, allocations: 72.48 kB / 0.7383 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005611/0.8703, allocations: 294.9 kB / 0.7385 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.8712, allocations: 486.1 kB / 0.739 GB, free: 14.04 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.8713, allocations: 8 kB / 0.739 GB, free: 14.03 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.8713, allocations: 3.938 kB / 0.739 GB, free: 14.03 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.8714, allocations: 8 kB / 0.739 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.8734, allocations: 1.014 MB / 0.74 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8749, allocations: 1.035 MB / 0.741 GB, free: 12.28 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.8754, allocations: 330.5 kB / 0.7413 GB, free: 12.04 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.8755, allocations: 13 kB / 0.7414 GB, free: 12.03 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.8755, allocations: 44.33 kB / 0.7414 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/0.8755, allocations: 0 / 0.7414 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100): time 0.001329/0.8768, allocations: 0.8007 MB / 0.7422 GB, free: 11.34 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.8769, allocations: 60.41 kB / 0.7422 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.877, allocations: 99.3 kB / 0.7423 GB, free: 11.17 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.8771, allocations: 25.7 kB / 0.7424 GB, free: 11.14 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.8772, allocations: 89.33 kB / 0.7424 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.8775, allocations: 472 kB / 0.7429 GB, free: 10.66 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.8776, allocations: 0 / 0.7429 GB, free: 10.66 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8778, allocations: 376.2 kB / 0.7433 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.8786, allocations: 0.5858 MB / 0.7438 GB, free: 9.863 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/0.8796, allocations: 0.683 MB / 0.7445 GB, free: 9.348 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.8807, allocations: 0.7342 MB / 0.7452 GB, free: 8.773 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.8807, allocations: 0 / 0.7452 GB, free: 8.773 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002133/0.8829, allocations: 1.534 MB / 0.7467 GB, free: 7.523 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8829, allocations: 10.97 kB / 0.7467 GB, free: 7.516 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8829, allocations: 1.094 kB / 0.7467 GB, free: 7.516 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.8829, allocations: 8 kB / 0.7467 GB, free: 7.508 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.8848, allocations: 0.4971 MB / 0.7472 GB, free: 7.023 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.444e-05/0.8848, allocations: 4.766 kB / 0.7472 GB, free: 7.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.8853, allocations: 110.8 kB / 0.7473 GB, free: 6.91 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8854, allocations: 45.5 kB / 0.7474 GB, free: 6.879 MB / 0.5109 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 () * 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.0002108/0.8856, allocations: 124.6 kB / 0.7475 GB, free: 6.75 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8858, allocations: 39.62 kB / 0.7475 GB, free: 6.711 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.8859, allocations: 69.27 kB / 0.7476 GB, free: 6.695 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.8859, allocations: 8 kB / 0.7476 GB, free: 6.688 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.886, allocations: 11.94 kB / 0.7476 GB, free: 6.676 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.886, allocations: 3.984 kB / 0.7476 GB, free: 6.672 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.8869, allocations: 0.4969 MB / 0.7481 GB, free: 6.184 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8869, allocations: 7.906 kB / 0.7481 GB, free: 6.176 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/0.8898, allocations: 0.493 MB / 0.7486 GB, free: 5.695 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.8898, allocations: 4 kB / 0.7486 GB, free: 5.691 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.8899, allocations: 59.86 kB / 0.7486 GB, free: 5.637 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.89, allocations: 7.938 kB / 0.7487 GB, free: 5.629 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.89, allocations: 0 / 0.7487 GB, free: 5.629 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001763/0.8917, allocations: 1.277 MB / 0.7499 GB, free: 4.574 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.8918, allocations: 120.5 kB / 0.75 GB, free: 4.438 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.892, allocations: 47.94 kB / 0.7501 GB, free: 4.391 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.8924, allocations: 35.97 kB / 0.7501 GB, free: 4.355 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.8925, allocations: 55.78 kB / 0.7501 GB, free: 4.309 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.8926, allocations: 26.67 kB / 0.7502 GB, free: 4.289 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.352e-05/0.8927, allocations: 79.28 kB / 0.7502 GB, free: 4.211 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005665/0.8932, allocations: 167.9 kB / 0.7504 GB, free: 4.047 MB / 0.5109 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 () * 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.0002451/0.8935, allocations: 165.2 kB / 0.7506 GB, free: 3.879 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.8952, allocations: 1.162 MB / 0.7517 GB, free: 2.977 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8952, allocations: 0 / 0.7517 GB, free: 2.977 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.8958, allocations: 426.7 kB / 0.7521 GB, free: 2.648 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.896, allocations: 5.031 kB / 0.7521 GB, free: 2.645 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.8986, allocations: 2.366 MB / 0.7544 GB, free: 312 kB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008326/0.8994, allocations: 1.008 MB / 0.7554 GB, free: 15.3 MB / 0.5265 GB Notification: Performance of SimCode: time 7.71e-07/0.8994, allocations: 4 kB / 0.7554 GB, free: 15.29 MB / 0.5265 GB Notification: Performance of Templates: time 0.01513/0.9146, allocations: 8.261 MB / 0.7635 GB, free: 7.062 MB / 0.5265 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches