Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [: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.001162/0.001162, allocations: 183.4 kB / 8.132 MB, free: 2.184 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.096/1.096, allocations: 221.4 MB / 229.9 MB, free: 3.004 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.001001/0.001001, allocations: 89.23 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.6283/0.6283, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.12e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 82.86 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.5902, allocations: 125.9 MB / 0.732 GB, free: 4.211 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001205/0.5904, allocations: 50.73 kB / 0.7321 GB, free: 4.195 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.007681/0.5981, allocations: 2.851 MB / 0.7349 GB, free: 1.941 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.5981, allocations: 4 kB / 0.7349 GB, free: 1.938 MB / 0.4953 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.0002515/0.5984, allocations: 437.3 kB / 0.7353 GB, free: 1.469 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.5984, allocations: 12.03 kB / 0.7353 GB, free: 1.457 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.5985, allocations: 19.8 kB / 0.7353 GB, free: 1.434 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.5988, allocations: 294.6 kB / 0.7356 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.5988, allocations: 0 / 0.7356 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5988, allocations: 4 kB / 0.7356 GB, free: 1.113 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.323e-05/0.5989, allocations: 23.33 kB / 0.7356 GB, free: 1.094 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.614e-05/0.599, allocations: 52.44 kB / 0.7357 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.599, allocations: 0 / 0.7357 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.599, allocations: 0 / 0.7357 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.599, allocations: 0 / 0.7357 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.5992, allocations: 175.9 kB / 0.7359 GB, free: 0.8477 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.5992, allocations: 40.7 kB / 0.7359 GB, free: 0.8086 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.5993, allocations: 27.67 kB / 0.7359 GB, free: 0.7891 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.5993, allocations: 3.906 kB / 0.7359 GB, free: 0.7852 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.568e-05/0.5994, allocations: 99.77 kB / 0.736 GB, free: 0.6797 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5994, allocations: 0 / 0.736 GB, free: 0.6797 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0002041/0.5996, allocations: 88.8 kB / 0.7361 GB, free: 0.5977 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.5996, allocations: 81.11 kB / 0.7362 GB, free: 0.5 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5997, allocations: 202.3 kB / 0.7364 GB, free: 328 kB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5998, allocations: 25.7 kB / 0.7364 GB, free: 296 kB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.5998, allocations: 104.2 kB / 0.7365 GB, free: 196 kB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5998, allocations: 19.3 kB / 0.7365 GB, free: 180 kB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.5998, allocations: 4 kB / 0.7365 GB, free: 176 kB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5999, allocations: 326.4 kB / 0.7368 GB, free: 15.85 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.6, allocations: 10.88 kB / 0.7368 GB, free: 15.84 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.6, allocations: 19.19 kB / 0.7369 GB, free: 15.83 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.6001, allocations: 27.48 kB / 0.7369 GB, free: 15.81 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6001, allocations: 0 / 0.7369 GB, free: 15.81 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001452/0.6002, allocations: 95.97 kB / 0.737 GB, free: 15.72 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.6002, allocations: 4 kB / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.6002, allocations: 0 / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.6003, allocations: 0 / 0.737 GB, free: 15.71 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.6003, allocations: 13.3 kB / 0.737 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6003, allocations: 0 / 0.737 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.6004, allocations: 0 / 0.737 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.6004, allocations: 8 kB / 0.737 GB, free: 15.7 MB / 0.5109 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 8.526e-05/0.6005, allocations: 149.3 kB / 0.7371 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.6005, allocations: 23.75 kB / 0.7372 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6006, allocations: 16.78 kB / 0.7372 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6006, allocations: 144 / 0.7372 GB, free: 15.51 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6006, allocations: 3.984 kB / 0.7372 GB, free: 15.5 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6006, allocations: 0 / 0.7372 GB, free: 15.5 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.6007, allocations: 200.1 kB / 0.7374 GB, free: 15.29 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6007, allocations: 0 / 0.7374 GB, free: 15.29 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.6008, allocations: 5.312 kB / 0.7374 GB, free: 15.29 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6008, allocations: 0 / 0.7374 GB, free: 15.29 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.6008, allocations: 11.98 kB / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6008, allocations: 0 / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6008, allocations: 0 / 0.7374 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001714/0.601, allocations: 130.5 kB / 0.7375 GB, free: 15.14 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.6011, allocations: 100.8 kB / 0.7376 GB, free: 15.03 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.6011, allocations: 7.562 kB / 0.7376 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.6011, allocations: 4 kB / 0.7376 GB, free: 15.02 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.6012, allocations: 11.91 kB / 0.7376 GB, free: 15.01 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.6012, allocations: 8 kB / 0.7376 GB, free: 15 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001107/0.6013, allocations: 170.8 kB / 0.7378 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002269/0.6015, allocations: 32.09 kB / 0.7378 GB, free: 14.82 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: 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.0001558/0.6017, allocations: 136.1 kB / 0.738 GB, free: 14.69 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.6018, allocations: 73.02 kB / 0.738 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.6019, allocations: 0 / 0.738 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.6019, allocations: 79.2 kB / 0.7381 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.6021, allocations: 16.36 kB / 0.7381 GB, free: 14.56 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.6024, allocations: 208.6 kB / 0.7383 GB, free: 14.35 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6027, allocations: 0.7434 MB / 0.7391 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of SimCode: time 2.5e-07/0.6027, allocations: 0 / 0.7391 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of Templates: time 0.003556/0.6063, allocations: 1.279 MB / 0.7403 GB, free: 12.32 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches