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.001548/0.001548, allocations: 186.7 kB / 8.135 MB, free: 2.191 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.325/1.325, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.001066/0.001066, allocations: 101.8 kB / 280.8 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9902/0.9902, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.353e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 82.84 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6639/0.8282, allocations: 125.9 MB / 0.7321 GB, free: 4.051 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.8285, allocations: 51.86 kB / 0.7321 GB, free: 4.031 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.08991/0.9184, allocations: 27.12 MB / 0.7586 GB, free: 10.77 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0005069/0.919, allocations: 64 kB / 0.7587 GB, free: 10.71 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.008756/0.9277, allocations: 3.417 MB / 0.762 GB, free: 7.473 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.9278, allocations: 8.031 kB / 0.762 GB, free: 7.465 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.9293, allocations: 0.5513 MB / 0.7625 GB, free: 6.906 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06591/0.9952, allocations: 5.832 MB / 0.7682 GB, free: 1.672 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.9952, allocations: 0 / 0.7682 GB, free: 1.672 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.9953, allocations: 4 kB / 0.7682 GB, free: 1.668 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002498/0.9956, allocations: 118.9 kB / 0.7684 GB, free: 1.559 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.9959, allocations: 188.1 kB / 0.7685 GB, free: 1.375 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.9959, allocations: 0 / 0.7685 GB, free: 1.375 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.996, allocations: 3.938 kB / 0.7685 GB, free: 1.371 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.996, allocations: 3.938 kB / 0.7685 GB, free: 1.367 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.9996, allocations: 1.796 MB / 0.7703 GB, free: 28 kB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/1, allocations: 81.44 kB / 0.7704 GB, free: 15.95 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/1, allocations: 79.41 kB / 0.7704 GB, free: 15.88 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/1, allocations: 0 / 0.7704 GB, free: 15.88 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/1.001, allocations: 231.6 kB / 0.7707 GB, free: 15.64 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/1.001, allocations: 0 / 0.7707 GB, free: 15.64 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001537/1.002, allocations: 0.8092 MB / 0.7715 GB, free: 14.83 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.002, allocations: 81.09 kB / 0.7715 GB, free: 14.73 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.014, allocations: 5.057 MB / 0.7765 GB, free: 10.71 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/1.014, allocations: 34.64 kB / 0.7765 GB, free: 10.67 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.016, allocations: 0.821 MB / 0.7773 GB, free: 10.09 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.016, allocations: 15.75 kB / 0.7773 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/1.016, allocations: 0 / 0.7773 GB, free: 10.07 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.016, allocations: 309.9 kB / 0.7776 GB, free: 9.77 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/1.016, allocations: 59.88 kB / 0.7777 GB, free: 9.715 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/1.016, allocations: 63.61 kB / 0.7777 GB, free: 9.66 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.017, allocations: 67.97 kB / 0.7778 GB, free: 9.598 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.017, allocations: 0 / 0.7778 GB, free: 9.598 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001417/1.018, allocations: 0.8179 MB / 0.7786 GB, free: 8.777 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.018, allocations: 4 kB / 0.7786 GB, free: 8.773 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.018, allocations: 0 / 0.7786 GB, free: 8.773 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.018, allocations: 4 kB / 0.7786 GB, free: 8.77 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/1.018, allocations: 4 kB / 0.7786 GB, free: 8.766 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/1.018, allocations: 0 / 0.7786 GB, free: 8.766 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/1.019, allocations: 3.906 kB / 0.7786 GB, free: 8.762 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/1.019, allocations: 232 kB / 0.7788 GB, free: 8.57 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.0001866/1.019, allocations: 134.7 kB / 0.779 GB, free: 8.426 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.021, allocations: 0.5629 MB / 0.7795 GB, free: 7.855 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/1.023, allocations: 0.6463 MB / 0.7801 GB, free: 7.328 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.023, allocations: 0 / 0.7801 GB, free: 7.328 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.023, allocations: 0 / 0.7801 GB, free: 7.328 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.023, allocations: 3.938 kB / 0.7801 GB, free: 7.324 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/1.029, allocations: 1.959 MB / 0.7821 GB, free: 5.824 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.029, allocations: 0 / 0.7821 GB, free: 5.824 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/1.029, allocations: 4 kB / 0.7821 GB, free: 5.82 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/1.029, allocations: 3.938 kB / 0.7821 GB, free: 5.816 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/1.029, allocations: 52 kB / 0.7821 GB, free: 5.766 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.029, allocations: 4 kB / 0.7821 GB, free: 5.762 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.029, allocations: 0 / 0.7821 GB, free: 5.762 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00161/1.031, allocations: 0.8751 MB / 0.783 GB, free: 4.879 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.032, allocations: 0.5677 MB / 0.7835 GB, free: 4.289 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/1.033, allocations: 4 kB / 0.7835 GB, free: 4.285 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/1.033, allocations: 11.98 kB / 0.7835 GB, free: 4.273 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/1.034, allocations: 0 / 0.7835 GB, free: 4.273 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.034, allocations: 225.1 kB / 0.7838 GB, free: 4.086 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.009133/1.043, allocations: 3.974 MB / 0.7876 GB, free: 1.008 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0009837/1.044, allocations: 160 kB / 0.7878 GB, free: 0.8516 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.0003555/1.044, allocations: 120.9 kB / 0.7879 GB, free: 0.7305 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0004001/1.045, allocations: 177.8 kB / 0.7881 GB, free: 0.5703 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.045, allocations: 0 / 0.7881 GB, free: 0.5703 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.045, allocations: 129.7 kB / 0.7882 GB, free: 476 kB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.046, allocations: 409.3 kB / 0.7886 GB, free: 316 kB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/1.069, allocations: 6.841 MB / 0.7953 GB, free: 9.703 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00467/1.074, allocations: 3.074 MB / 0.7983 GB, free: 6.723 MB / 0.5578 GB Notification: Performance of SimCode: time 1.042e-06/1.074, allocations: 4 kB / 0.7983 GB, free: 6.719 MB / 0.5578 GB Notification: Performance of Templates: time 0.05617/1.13, allocations: 19.21 MB / 0.817 GB, free: 3.398 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/jenkins/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