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.001034/0.001035, allocations: 186.9 kB / 8.136 MB, free: 2.207 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.123/1.123, allocations: 221.4 MB / 229.9 MB, free: 3.086 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.0009552/0.0009553, allocations: 108 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6631/0.6631, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.794e-06, allocations: 4 kB / 0.5289 GB, free: 51.77 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 82.85 MB / 0.6098 GB, free: 2.84 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6386, allocations: 124.4 MB / 0.7313 GB, free: 4.984 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001225/0.6388, allocations: 46.36 kB / 0.7314 GB, free: 4.969 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02092/0.6597, allocations: 5.815 MB / 0.7371 GB, free: 324 kB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.6597, allocations: 11.94 kB / 0.7371 GB, free: 312 kB / 0.4953 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.001593/0.6613, allocations: 0.8189 MB / 0.7379 GB, free: 15.45 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6614, allocations: 12.03 kB / 0.7379 GB, free: 15.44 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.6615, allocations: 37.44 kB / 0.7379 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.6619, allocations: 282.3 kB / 0.7382 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.662, allocations: 16 kB / 0.7382 GB, free: 15.08 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6621, allocations: 75.17 kB / 0.7383 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004652/0.6626, allocations: 285.1 kB / 0.7385 GB, free: 14.81 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.6633, allocations: 491.4 kB / 0.739 GB, free: 14.4 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6634, allocations: 0 / 0.739 GB, free: 14.4 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.6634, allocations: 0 / 0.739 GB, free: 14.4 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6634, allocations: 8 kB / 0.739 GB, free: 14.39 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.6652, allocations: 1.009 MB / 0.74 GB, free: 13.44 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.6664, allocations: 1.046 MB / 0.741 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.6668, allocations: 325.1 kB / 0.7413 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.6669, allocations: 9 kB / 0.7413 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.6669, allocations: 42.5 kB / 0.7414 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=100): time 2.344e-06/0.6669, allocations: 0 / 0.7414 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100): time 0.001132/0.668, allocations: 0.8021 MB / 0.7422 GB, free: 11.71 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.6681, allocations: 68.39 kB / 0.7422 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.881e-05/0.6682, allocations: 96.98 kB / 0.7423 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.6682, allocations: 25.7 kB / 0.7424 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.6683, allocations: 85.89 kB / 0.7424 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.6685, allocations: 472.8 kB / 0.7429 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.6686, allocations: 3.938 kB / 0.7429 GB, free: 11.02 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6687, allocations: 375.3 kB / 0.7432 GB, free: 10.67 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007749/0.6695, allocations: 0.5828 MB / 0.7438 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.6704, allocations: 0.694 MB / 0.7445 GB, free: 9.707 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.6713, allocations: 0.73 MB / 0.7452 GB, free: 9.137 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6713, allocations: 0.75 kB / 0.7452 GB, free: 9.137 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001965/0.6733, allocations: 1.534 MB / 0.7467 GB, free: 7.887 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.6733, allocations: 4 kB / 0.7467 GB, free: 7.883 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6733, allocations: 0 / 0.7467 GB, free: 7.883 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.6734, allocations: 8 kB / 0.7467 GB, free: 7.875 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.6751, allocations: 0.4984 MB / 0.7472 GB, free: 7.391 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.6751, allocations: 8 kB / 0.7472 GB, free: 7.383 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.6755, allocations: 106.8 kB / 0.7473 GB, free: 7.277 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/0.6756, allocations: 46.44 kB / 0.7474 GB, free: 7.242 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.0001708/0.6758, allocations: 124.7 kB / 0.7475 GB, free: 7.113 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6759, allocations: 51.14 kB / 0.7475 GB, free: 7.066 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.676, allocations: 67.64 kB / 0.7476 GB, free: 7.051 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.676, allocations: 12 kB / 0.7476 GB, free: 7.039 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.6761, allocations: 0 / 0.7476 GB, free: 7.039 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6761, allocations: 3.984 kB / 0.7476 GB, free: 7.035 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.6768, allocations: 0.4966 MB / 0.7481 GB, free: 6.547 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.6768, allocations: 0 / 0.7481 GB, free: 6.547 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/0.6796, allocations: 0.4982 MB / 0.7486 GB, free: 6.059 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.6796, allocations: 4 kB / 0.7486 GB, free: 6.055 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.6797, allocations: 66.98 kB / 0.7486 GB, free: 5.996 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.6798, allocations: 4 kB / 0.7487 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6798, allocations: 7.938 kB / 0.7487 GB, free: 5.984 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00144/0.6812, allocations: 1.26 MB / 0.7499 GB, free: 4.945 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.6813, allocations: 128.4 kB / 0.75 GB, free: 4.801 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6814, allocations: 43.95 kB / 0.7501 GB, free: 4.758 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.6818, allocations: 39.95 kB / 0.7501 GB, free: 4.719 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.6819, allocations: 56.66 kB / 0.7501 GB, free: 4.672 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/0.682, allocations: 31.23 kB / 0.7502 GB, free: 4.648 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.594e-05/0.682, allocations: 79.28 kB / 0.7503 GB, free: 4.57 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004877/0.6825, allocations: 164 kB / 0.7504 GB, free: 4.41 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.0002253/0.6828, allocations: 166 kB / 0.7506 GB, free: 4.242 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.6842, allocations: 1.157 MB / 0.7517 GB, free: 3.344 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6842, allocations: 0 / 0.7517 GB, free: 3.344 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.6847, allocations: 438.7 kB / 0.7521 GB, free: 3.004 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.6849, allocations: 0.8125 kB / 0.7521 GB, free: 3.004 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.6874, allocations: 2.363 MB / 0.7544 GB, free: 0.668 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/0.6882, allocations: 1.013 MB / 0.7554 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of SimCode: time 2.81e-07/0.6882, allocations: 0 / 0.7554 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of Templates: time 0.01396/0.7022, allocations: 8.264 MB / 0.7635 GB, free: 7.422 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/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