Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.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.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") [: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.001319/0.001319, allocations: 184.5 kB / 8.138 MB, free: 2.219 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.126/1.126, allocations: 221.4 MB / 229.9 MB, free: 3.105 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.0009455/0.0009455, allocations: 92.73 kB / 280.8 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6348/0.6348, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.969e-06, allocations: 0 / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 82.85 MB / 0.6091 GB, free: 3.613 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5667, allocations: 128.4 MB / 0.7345 GB, free: 2.133 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001268/0.5669, allocations: 53.64 kB / 0.7346 GB, free: 2.109 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01968/0.5866, allocations: 8.15 MB / 0.7425 GB, free: 10.93 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 4.974e-05/0.5866, allocations: 16 kB / 0.7425 GB, free: 10.91 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000939/0.5876, allocations: 1.12 MB / 0.7436 GB, free: 9.805 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5876, allocations: 12.03 kB / 0.7437 GB, free: 9.793 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.5878, allocations: 150 kB / 0.7438 GB, free: 9.645 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.59, allocations: 1.576 MB / 0.7453 GB, free: 8.168 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.59, allocations: 0 / 0.7453 GB, free: 8.168 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.59, allocations: 4 kB / 0.7453 GB, free: 8.164 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.563e-05/0.5901, allocations: 15.92 kB / 0.7454 GB, free: 8.152 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.5902, allocations: 48.75 kB / 0.7454 GB, free: 8.105 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.5902, allocations: 0 / 0.7454 GB, free: 8.105 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5902, allocations: 0 / 0.7454 GB, free: 8.105 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5902, allocations: 0 / 0.7454 GB, free: 8.105 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.5907, allocations: 0.5698 MB / 0.746 GB, free: 7.625 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.5908, allocations: 45.56 kB / 0.746 GB, free: 7.578 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.5908, allocations: 19.98 kB / 0.746 GB, free: 7.559 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5908, allocations: 8 kB / 0.746 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.605e-05/0.5909, allocations: 54.19 kB / 0.7461 GB, free: 7.492 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.5909, allocations: 0 / 0.7461 GB, free: 7.492 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.0002576/0.5912, allocations: 210.9 kB / 0.7463 GB, free: 7.289 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.5912, allocations: 55.41 kB / 0.7463 GB, free: 7.223 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5925, allocations: 1.387 MB / 0.7477 GB, free: 6.051 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.5925, allocations: 25.7 kB / 0.7477 GB, free: 6.02 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.5927, allocations: 277.7 kB / 0.748 GB, free: 5.805 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.5927, allocations: 15.3 kB / 0.748 GB, free: 5.793 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.5927, allocations: 0 / 0.748 GB, free: 5.793 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.5928, allocations: 306 kB / 0.7483 GB, free: 5.488 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.5928, allocations: 15.69 kB / 0.7483 GB, free: 5.477 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.5929, allocations: 32.64 kB / 0.7483 GB, free: 5.445 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.5929, allocations: 7.75 kB / 0.7483 GB, free: 5.441 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5929, allocations: 4 kB / 0.7483 GB, free: 5.438 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002047/0.5931, allocations: 217.5 kB / 0.7485 GB, free: 5.227 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.5932, allocations: 4 kB / 0.7485 GB, free: 5.223 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5932, allocations: 0 / 0.7485 GB, free: 5.223 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5932, allocations: 4 kB / 0.7486 GB, free: 5.219 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.5933, allocations: 15.92 kB / 0.7486 GB, free: 5.203 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.5933, allocations: 3.938 kB / 0.7486 GB, free: 5.199 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.5934, allocations: 7.938 kB / 0.7486 GB, free: 5.191 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.5934, allocations: 0 / 0.7486 GB, free: 5.191 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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.168e-05/0.5935, allocations: 117 kB / 0.7487 GB, free: 5.07 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5936, allocations: 154 kB / 0.7488 GB, free: 4.918 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.5939, allocations: 234.6 kB / 0.7491 GB, free: 4.719 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5939, allocations: 4 kB / 0.7491 GB, free: 4.715 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5939, allocations: 3.984 kB / 0.7491 GB, free: 4.711 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.594, allocations: 3.938 kB / 0.7491 GB, free: 4.707 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.5944, allocations: 0.5997 MB / 0.7497 GB, free: 4.195 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5944, allocations: 0 / 0.7497 GB, free: 4.195 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.5945, allocations: 7.984 kB / 0.7497 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5945, allocations: 0 / 0.7497 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5945, allocations: 4 kB / 0.7497 GB, free: 4.184 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5945, allocations: 3.938 kB / 0.7497 GB, free: 4.18 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5945, allocations: 0 / 0.7497 GB, free: 4.18 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002133/0.5947, allocations: 246.5 kB / 0.7499 GB, free: 3.93 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.5949, allocations: 211.1 kB / 0.7501 GB, free: 3.703 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/0.595, allocations: 3.984 kB / 0.7501 GB, free: 3.699 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5951, allocations: 7.25 kB / 0.7501 GB, free: 3.695 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.5952, allocations: 4 kB / 0.7501 GB, free: 3.691 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5952, allocations: 4 kB / 0.7501 GB, free: 3.688 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0009973/0.5962, allocations: 1.095 MB / 0.7512 GB, free: 2.793 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002692/0.5965, allocations: 51 kB / 0.7512 GB, free: 2.746 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006257/0.5971, allocations: 317.2 kB / 0.7515 GB, free: 2.508 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.5972, allocations: 38.67 kB / 0.7516 GB, free: 2.48 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.5972, allocations: 0 / 0.7516 GB, free: 2.48 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.5973, allocations: 27.94 kB / 0.7516 GB, free: 2.457 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.5976, allocations: 124.1 kB / 0.7517 GB, free: 2.398 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.6002, allocations: 1.694 MB / 0.7534 GB, free: 0.7461 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.6014, allocations: 1.43 MB / 0.7548 GB, free: 15.36 MB / 0.5265 GB Notification: Performance of SimCode: time 3.4e-07/0.6014, allocations: 4 kB / 0.7548 GB, free: 15.35 MB / 0.5265 GB Notification: Performance of Templates: time 0.01314/0.6145, allocations: 4.476 MB / 0.7592 GB, free: 10.89 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches