Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001087/0.001087, allocations: 181.1 kB / 8.134 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.164/1.164, allocations: 221.4 MB / 229.9 MB, free: 3.141 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.001081/0.001081, allocations: 101.3 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6651/0.6651, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.189e-06/5.209e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5457/0.6617, allocations: 125.9 MB / 0.7321 GB, free: 4.336 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001502/0.6619, allocations: 50.17 kB / 0.7321 GB, free: 4.32 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.08289/0.7448, allocations: 27.12 MB / 0.7586 GB, free: 11.06 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0002469/0.7451, allocations: 64 kB / 0.7587 GB, free: 11 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.004698/0.7498, allocations: 3.415 MB / 0.762 GB, free: 7.77 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7499, allocations: 8.969 kB / 0.762 GB, free: 7.762 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.7507, allocations: 0.5513 MB / 0.7625 GB, free: 7.203 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06099/0.8117, allocations: 5.838 MB / 0.7682 GB, free: 1.961 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.8118, allocations: 0 / 0.7682 GB, free: 1.961 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.8119, allocations: 8 kB / 0.7682 GB, free: 1.953 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002113/0.8121, allocations: 112.1 kB / 0.7684 GB, free: 1.852 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.8123, allocations: 184.7 kB / 0.7685 GB, free: 1.672 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8123, allocations: 4 kB / 0.7685 GB, free: 1.668 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.8124, allocations: 0 / 0.7685 GB, free: 1.668 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8124, allocations: 3.938 kB / 0.7685 GB, free: 1.664 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.8146, allocations: 1.796 MB / 0.7703 GB, free: 332 kB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.8147, allocations: 85.27 kB / 0.7704 GB, free: 248 kB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.8148, allocations: 82.77 kB / 0.7705 GB, free: 172 kB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.8149, allocations: 0 / 0.7705 GB, free: 172 kB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.8151, allocations: 224.4 kB / 0.7707 GB, free: 15.94 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.8151, allocations: 0 / 0.7707 GB, free: 15.94 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.0009895/0.8161, allocations: 0.8053 MB / 0.7715 GB, free: 15.13 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.8162, allocations: 84.92 kB / 0.7715 GB, free: 15.03 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.8215, allocations: 5.06 MB / 0.7765 GB, free: 10.98 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.8216, allocations: 29.7 kB / 0.7765 GB, free: 10.95 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.8221, allocations: 0.822 MB / 0.7773 GB, free: 10.37 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.8221, allocations: 19.42 kB / 0.7773 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.8222, allocations: 4 kB / 0.7773 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.8223, allocations: 306 kB / 0.7776 GB, free: 10.04 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.8224, allocations: 58.75 kB / 0.7777 GB, free: 9.992 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.8225, allocations: 62.56 kB / 0.7777 GB, free: 9.938 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.8226, allocations: 66.05 kB / 0.7778 GB, free: 9.879 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8226, allocations: 4 kB / 0.7778 GB, free: 9.875 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008631/0.8235, allocations: 0.8083 MB / 0.7786 GB, free: 9.062 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8235, allocations: 8 kB / 0.7786 GB, free: 9.055 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8235, allocations: 0 / 0.7786 GB, free: 9.055 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8236, allocations: 3.984 kB / 0.7786 GB, free: 9.051 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.8236, allocations: 4 kB / 0.7786 GB, free: 9.047 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8237, allocations: 0 / 0.7786 GB, free: 9.047 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.8241, allocations: 7.906 kB / 0.7786 GB, free: 9.039 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.8242, allocations: 221.6 kB / 0.7788 GB, free: 8.855 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.0001602/0.8244, allocations: 142.7 kB / 0.779 GB, free: 8.703 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.8248, allocations: 0.5556 MB / 0.7795 GB, free: 8.141 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008151/0.8257, allocations: 0.6433 MB / 0.7801 GB, free: 7.617 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.8257, allocations: 7.938 kB / 0.7801 GB, free: 7.609 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8257, allocations: 4.125 kB / 0.7801 GB, free: 7.605 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8257, allocations: 7.922 kB / 0.7802 GB, free: 7.598 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.8275, allocations: 1.962 MB / 0.7821 GB, free: 6.094 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8275, allocations: 0 / 0.7821 GB, free: 6.094 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.8275, allocations: 0 / 0.7821 GB, free: 6.094 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8276, allocations: 4 kB / 0.7821 GB, free: 6.09 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.8276, allocations: 48 kB / 0.7821 GB, free: 6.043 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8276, allocations: 4 kB / 0.7821 GB, free: 6.039 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8276, allocations: 0 / 0.7821 GB, free: 6.039 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009221/0.8286, allocations: 0.881 MB / 0.783 GB, free: 5.152 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.8293, allocations: 0.571 MB / 0.7835 GB, free: 4.559 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.8296, allocations: 0 / 0.7835 GB, free: 4.559 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.8299, allocations: 4 kB / 0.7835 GB, free: 4.555 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.83, allocations: 7.984 kB / 0.7836 GB, free: 4.547 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/0.8302, allocations: 223.8 kB / 0.7838 GB, free: 4.359 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.004542/0.8347, allocations: 3.978 MB / 0.7876 GB, free: 1.281 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005789/0.8353, allocations: 152 kB / 0.7878 GB, free: 1.133 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.0002601/0.8356, allocations: 120.2 kB / 0.7879 GB, free: 1.008 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.8359, allocations: 176.5 kB / 0.7881 GB, free: 0.8516 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8359, allocations: 0 / 0.7881 GB, free: 0.8516 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.8361, allocations: 128.7 kB / 0.7882 GB, free: 0.7461 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.8368, allocations: 416.2 kB / 0.7886 GB, free: 0.582 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.8545, allocations: 6.829 MB / 0.7953 GB, free: 9.988 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/0.8571, allocations: 3.081 MB / 0.7983 GB, free: 7.004 MB / 0.5578 GB Notification: Performance of SimCode: time 1.012e-06/0.8571, allocations: 0 / 0.7983 GB, free: 7.004 MB / 0.5578 GB Notification: Performance of Templates: time 0.05281/0.9099, allocations: 19.2 MB / 0.817 GB, free: 3.68 MB / 0.5734 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches