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/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_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") [: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.001035/0.001035, allocations: 182.8 kB / 8.132 MB, free: 2.117 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.087/1.087, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009742/0.0009742, allocations: 103.8 kB / 280.8 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6356/0.6356, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-06/4.759e-06, allocations: 0 / 0.5289 GB, free: 51.78 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 82.84 MB / 0.6098 GB, free: 2.832 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.5917, allocations: 124.4 MB / 0.7313 GB, free: 4.824 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001165/0.5919, allocations: 46.41 kB / 0.7314 GB, free: 4.809 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01986/0.6118, allocations: 5.822 MB / 0.7371 GB, free: 136 kB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.6118, allocations: 8 kB / 0.7371 GB, free: 128 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.001479/0.6133, allocations: 0.8167 MB / 0.7379 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6133, allocations: 12.03 kB / 0.7379 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.6134, allocations: 35.62 kB / 0.7379 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.6138, allocations: 281.9 kB / 0.7382 GB, free: 14.92 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.6138, allocations: 12 kB / 0.7382 GB, free: 14.91 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6139, allocations: 78.47 kB / 0.7383 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004486/0.6144, allocations: 288.7 kB / 0.7385 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.6151, allocations: 488.7 kB / 0.739 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6151, allocations: 0 / 0.739 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.6151, allocations: 0 / 0.739 GB, free: 14.22 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.6152, allocations: 8 kB / 0.739 GB, free: 14.21 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.6167, allocations: 1.014 MB / 0.74 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.6179, allocations: 1.045 MB / 0.741 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.6183, allocations: 326.2 kB / 0.7413 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.6184, allocations: 9 kB / 0.7414 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.6184, allocations: 42.69 kB / 0.7414 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=100): time 1.864e-06/0.6184, allocations: 0 / 0.7414 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100): time 0.001086/0.6195, allocations: 0.7988 MB / 0.7422 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6196, allocations: 64.41 kB / 0.7422 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.6196, allocations: 99.8 kB / 0.7423 GB, free: 11.36 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.6197, allocations: 29.69 kB / 0.7424 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.6197, allocations: 82.14 kB / 0.7424 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.62, allocations: 473.8 kB / 0.7429 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.6201, allocations: 3.938 kB / 0.7429 GB, free: 10.84 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6202, allocations: 376 kB / 0.7433 GB, free: 10.49 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.6209, allocations: 0.5837 MB / 0.7438 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/0.6218, allocations: 0.6868 MB / 0.7445 GB, free: 9.535 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/0.6226, allocations: 0.7333 MB / 0.7452 GB, free: 8.961 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6226, allocations: 0 / 0.7452 GB, free: 8.961 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001878/0.6245, allocations: 1.536 MB / 0.7467 GB, free: 7.711 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6245, allocations: 4 kB / 0.7467 GB, free: 7.707 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6246, allocations: 0 / 0.7467 GB, free: 7.707 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.6246, allocations: 10.25 kB / 0.7467 GB, free: 7.699 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.6263, allocations: 0.4977 MB / 0.7472 GB, free: 7.215 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.6263, allocations: 15.92 kB / 0.7472 GB, free: 7.199 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.6267, allocations: 102.8 kB / 0.7473 GB, free: 7.098 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.6268, allocations: 42.06 kB / 0.7474 GB, free: 7.066 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.0001705/0.627, allocations: 120.7 kB / 0.7475 GB, free: 6.941 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6271, allocations: 43.53 kB / 0.7475 GB, free: 6.898 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.6272, allocations: 76.33 kB / 0.7476 GB, free: 6.879 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.6272, allocations: 12 kB / 0.7476 GB, free: 6.867 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6272, allocations: 0 / 0.7476 GB, free: 6.867 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6272, allocations: 7.969 kB / 0.7476 GB, free: 6.859 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.628, allocations: 0.496 MB / 0.7481 GB, free: 6.371 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.628, allocations: 0 / 0.7481 GB, free: 6.371 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.6307, allocations: 0.4944 MB / 0.7486 GB, free: 5.887 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.6307, allocations: 4 kB / 0.7486 GB, free: 5.883 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.6308, allocations: 62.67 kB / 0.7486 GB, free: 5.828 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6309, allocations: 4 kB / 0.7486 GB, free: 5.824 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6309, allocations: 0 / 0.7486 GB, free: 5.824 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001395/0.6323, allocations: 1.279 MB / 0.7499 GB, free: 4.766 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.6323, allocations: 124.4 kB / 0.75 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.6325, allocations: 47.94 kB / 0.7501 GB, free: 4.578 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.6329, allocations: 35.97 kB / 0.7501 GB, free: 4.543 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.633, allocations: 56.03 kB / 0.7501 GB, free: 4.496 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.633, allocations: 30.98 kB / 0.7502 GB, free: 4.473 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.26e-05/0.6331, allocations: 79.27 kB / 0.7502 GB, free: 4.395 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004537/0.6335, allocations: 164 kB / 0.7504 GB, free: 4.234 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.000208/0.6337, allocations: 161.9 kB / 0.7506 GB, free: 4.07 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.6351, allocations: 1.163 MB / 0.7517 GB, free: 3.168 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6351, allocations: 0 / 0.7517 GB, free: 3.168 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.6355, allocations: 428.5 kB / 0.7521 GB, free: 2.836 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.6357, allocations: 4.812 kB / 0.7521 GB, free: 2.832 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.6379, allocations: 2.37 MB / 0.7544 GB, free: 0.4922 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.6386, allocations: 1.012 MB / 0.7554 GB, free: 15.48 MB / 0.5265 GB Notification: Performance of SimCode: time 2.6e-07/0.6386, allocations: 0 / 0.7554 GB, free: 15.48 MB / 0.5265 GB Notification: Performance of Templates: time 0.01225/0.6509, allocations: 8.253 MB / 0.7635 GB, free: 7.246 MB / 0.5265 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches