Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") [: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.001181/0.001181, allocations: 190.6 kB / 8.136 MB, free: 2.121 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.117/1.117, 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.0009735/0.0009738, allocations: 88.5 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6618/0.6618, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.34e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 82.85 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.5962, allocations: 125.9 MB / 0.7321 GB, free: 4.012 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001189/0.5964, allocations: 52.91 kB / 0.7321 GB, free: 3.992 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.08396/0.6803, allocations: 27.12 MB / 0.7586 GB, free: 10.74 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001807/0.6805, allocations: 64 kB / 0.7587 GB, free: 10.68 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003742/0.6843, allocations: 3.416 MB / 0.762 GB, free: 7.445 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6843, allocations: 8.031 kB / 0.762 GB, free: 7.438 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.6851, allocations: 0.5513 MB / 0.7625 GB, free: 6.879 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06158/0.7466, allocations: 5.842 MB / 0.7682 GB, free: 1.637 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7467, allocations: 0 / 0.7682 GB, free: 1.637 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.7468, allocations: 0 / 0.7682 GB, free: 1.637 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002442/0.747, allocations: 111.6 kB / 0.7683 GB, free: 1.531 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.7473, allocations: 188.2 kB / 0.7685 GB, free: 1.348 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7473, allocations: 0 / 0.7685 GB, free: 1.348 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.7474, allocations: 4 kB / 0.7685 GB, free: 1.344 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7474, allocations: 7.938 kB / 0.7685 GB, free: 1.336 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.7503, allocations: 1.793 MB / 0.7703 GB, free: 0 / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.7505, allocations: 85.06 kB / 0.7704 GB, free: 15.91 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.7507, allocations: 71.86 kB / 0.7704 GB, free: 15.85 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7507, allocations: 0.9375 kB / 0.7704 GB, free: 15.85 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.751, allocations: 234.4 kB / 0.7707 GB, free: 15.62 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.751, allocations: 0 / 0.7707 GB, free: 15.62 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001178/0.7522, allocations: 0.8042 MB / 0.7715 GB, free: 14.81 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7523, allocations: 81.09 kB / 0.7715 GB, free: 14.71 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007022/0.7593, allocations: 5.058 MB / 0.7765 GB, free: 10.68 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/0.7594, allocations: 29.7 kB / 0.7765 GB, free: 10.65 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.7601, allocations: 0.8192 MB / 0.7773 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.7602, allocations: 19.38 kB / 0.7773 GB, free: 10.05 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.7602, allocations: 0 / 0.7773 GB, free: 10.05 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.7603, allocations: 321.9 kB / 0.7776 GB, free: 9.734 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7604, allocations: 59.75 kB / 0.7777 GB, free: 9.684 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.7606, allocations: 63.8 kB / 0.7777 GB, free: 9.625 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.7607, allocations: 63.69 kB / 0.7778 GB, free: 9.57 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7607, allocations: 0 / 0.7778 GB, free: 9.57 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001074/0.7618, allocations: 0.8139 MB / 0.7786 GB, free: 8.754 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7619, allocations: 4 kB / 0.7786 GB, free: 8.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7619, allocations: 0 / 0.7786 GB, free: 8.75 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7619, allocations: 4 kB / 0.7786 GB, free: 8.746 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.762, allocations: 8 kB / 0.7786 GB, free: 8.738 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.762, allocations: 0.7031 kB / 0.7786 GB, free: 8.738 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.7624, allocations: 3.906 kB / 0.7786 GB, free: 8.734 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.7626, allocations: 222.8 kB / 0.7788 GB, free: 8.547 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001319/0.7628, allocations: 134.8 kB / 0.779 GB, free: 8.402 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004469/0.7632, allocations: 0.5628 MB / 0.7795 GB, free: 7.836 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008887/0.7641, allocations: 0.6484 MB / 0.7801 GB, free: 7.309 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7641, allocations: 0 / 0.7801 GB, free: 7.309 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7641, allocations: 0 / 0.7801 GB, free: 7.309 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7641, allocations: 7.938 kB / 0.7801 GB, free: 7.301 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.7657, allocations: 1.957 MB / 0.7821 GB, free: 5.801 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7657, allocations: 0 / 0.7821 GB, free: 5.801 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.7658, allocations: 4.141 kB / 0.7821 GB, free: 5.797 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7658, allocations: 0 / 0.7821 GB, free: 5.797 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.7659, allocations: 55.98 kB / 0.7821 GB, free: 5.742 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7659, allocations: 0 / 0.7821 GB, free: 5.742 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7659, allocations: 0 / 0.7821 GB, free: 5.742 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008687/0.7668, allocations: 0.8881 MB / 0.783 GB, free: 4.848 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.7674, allocations: 0.5639 MB / 0.7835 GB, free: 4.258 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.7677, allocations: 4.094 kB / 0.7835 GB, free: 4.254 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.7681, allocations: 12.42 kB / 0.7835 GB, free: 4.242 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.7681, allocations: 3.438 kB / 0.7836 GB, free: 4.242 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.7683, allocations: 221.7 kB / 0.7838 GB, free: 4.055 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.004711/0.773, allocations: 3.972 MB / 0.7876 GB, free: 0.9805 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006095/0.7737, allocations: 156 kB / 0.7878 GB, free: 0.8281 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0002172/0.7739, allocations: 128 kB / 0.7879 GB, free: 0.6992 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.7742, allocations: 176.8 kB / 0.7881 GB, free: 0.543 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7742, allocations: 0 / 0.7881 GB, free: 0.543 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.7744, allocations: 126.2 kB / 0.7882 GB, free: 448 kB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.7752, allocations: 408.6 kB / 0.7886 GB, free: 288 kB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.7932, allocations: 6.84 MB / 0.7953 GB, free: 9.68 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/0.7961, allocations: 3.076 MB / 0.7983 GB, free: 6.699 MB / 0.5578 GB Notification: Performance of SimCode: time 6.21e-07/0.7961, allocations: 0 / 0.7983 GB, free: 6.699 MB / 0.5578 GB Notification: Performance of Templates: time 0.051/0.8471, allocations: 19.21 MB / 0.817 GB, free: 3.387 MB / 0.5734 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches