Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [: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.001549/0.001549, allocations: 187.9 kB / 8.136 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.143/1.143, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0009273/0.0009277, allocations: 106.6 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7555/0.7555, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.61e-06, allocations: 0 / 0.5282 GB, free: 50.52 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 82.85 MB / 0.6091 GB, free: 1.66 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6072, allocations: 125.9 MB / 0.7321 GB, free: 2.559 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001113/0.6074, allocations: 47.55 kB / 0.7321 GB, free: 2.539 MB / 0.4953 GB Notification: Performance of FrontEnd: time 3.474/4.082, allocations: 0.612 GB / 1.344 GB, free: 168.1 MB / 0.714 GB Notification: Performance of Transformations before backend: time 0.002564/4.084, allocations: 500 kB / 1.345 GB, free: 167.7 MB / 0.714 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.03593/4.12, allocations: 24.71 MB / 1.369 GB, free: 146 MB / 0.714 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/4.12, allocations: 8.031 kB / 1.369 GB, free: 145.9 MB / 0.714 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/4.127, allocations: 4.398 MB / 1.373 GB, free: 141.5 MB / 0.714 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.703/7.83, allocations: 46.02 MB / 1.418 GB, free: 101.6 MB / 0.714 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/7.83, allocations: 3.984 kB / 1.418 GB, free: 101.6 MB / 0.714 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/7.831, allocations: 5.312 kB / 1.418 GB, free: 101.6 MB / 0.714 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009661/7.832, allocations: 0.7461 MB / 1.419 GB, free: 100.9 MB / 0.714 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/7.833, allocations: 1.152 MB / 1.42 GB, free: 99.7 MB / 0.714 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/7.833, allocations: 0 / 1.42 GB, free: 99.7 MB / 0.714 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/7.833, allocations: 4 kB / 1.42 GB, free: 99.7 MB / 0.714 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/7.833, allocations: 0 / 1.42 GB, free: 99.7 MB / 0.714 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02874/7.862, allocations: 13.41 MB / 1.433 GB, free: 86.24 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/7.863, allocations: 414.6 kB / 1.433 GB, free: 85.82 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/7.864, allocations: 400.9 kB / 1.434 GB, free: 85.43 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/7.864, allocations: 7.938 kB / 1.434 GB, free: 85.42 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/7.865, allocations: 1.187 MB / 1.435 GB, free: 84.21 MB / 0.714 GB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/7.865, allocations: 0 / 1.435 GB, free: 84.21 MB / 0.714 GB Notification: Performance of matching and sorting (n=8): time 0.007812/7.873, allocations: 5.936 MB / 1.441 GB, free: 78.21 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/7.873, allocations: 81.11 kB / 1.441 GB, free: 78.12 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08467/7.958, allocations: 39.88 MB / 1.48 GB, free: 38.67 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.0006806/7.958, allocations: 29.7 kB / 1.48 GB, free: 38.63 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.009612/7.968, allocations: 5.99 MB / 1.486 GB, free: 32.63 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/7.969, allocations: 19.75 kB / 1.486 GB, free: 32.61 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/7.969, allocations: 0 / 1.486 GB, free: 32.61 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/7.969, allocations: 314 kB / 1.486 GB, free: 32.3 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/7.97, allocations: 388 kB / 1.486 GB, free: 31.92 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/7.97, allocations: 391.9 kB / 1.487 GB, free: 31.54 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/7.971, allocations: 392 kB / 1.487 GB, free: 31.16 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/7.971, allocations: 0 / 1.487 GB, free: 31.16 MB / 0.714 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007066/7.978, allocations: 5.939 MB / 1.493 GB, free: 25.15 MB / 0.714 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/7.978, allocations: 4 kB / 1.493 GB, free: 25.15 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/7.978, allocations: 4 kB / 1.493 GB, free: 25.14 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/7.978, allocations: 0 / 1.493 GB, free: 25.14 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/7.978, allocations: 4 kB / 1.493 GB, free: 25.14 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/7.978, allocations: 4.703 kB / 1.493 GB, free: 25.14 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/7.983, allocations: 9.453 kB / 1.493 GB, free: 25.13 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009901/7.984, allocations: 1.715 MB / 1.494 GB, free: 23.41 MB / 0.714 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.0003977/7.984, allocations: 133.9 kB / 1.495 GB, free: 23.27 MB / 0.714 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005656/7.99, allocations: 4.402 MB / 1.499 GB, free: 18.81 MB / 0.714 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/8.006, allocations: 5.126 MB / 1.504 GB, free: 13.67 MB / 0.714 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/8.006, allocations: 0 / 1.504 GB, free: 13.67 MB / 0.714 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/8.006, allocations: 0 / 1.504 GB, free: 13.67 MB / 0.714 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/8.006, allocations: 0 / 1.504 GB, free: 13.67 MB / 0.714 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2816/8.288, allocations: 14.64 MB / 1.518 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/8.288, allocations: 5.375 kB / 1.518 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/8.288, allocations: 5.438 kB / 1.518 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/8.288, allocations: 4.594 kB / 1.518 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001077/8.289, allocations: 378.2 kB / 1.519 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/8.289, allocations: 3.688 kB / 1.519 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/8.289, allocations: 0 / 1.519 GB, free: 266.6 MB / 0.714 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007388/8.297, allocations: 6.27 MB / 1.525 GB, free: 266.2 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005543/8.302, allocations: 3.876 MB / 1.529 GB, free: 263.7 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/8.306, allocations: 3.156 kB / 1.529 GB, free: 263.7 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003993/8.31, allocations: 5.547 kB / 1.529 GB, free: 263.7 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/8.31, allocations: 0 / 1.529 GB, free: 263.7 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001096/8.311, allocations: 1.715 MB / 1.53 GB, free: 263.7 MB / 0.714 GB Notification: Performance of sort global known variables: time 0.07286/8.384, allocations: 31.68 MB / 1.561 GB, free: 257.4 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.004549/8.388, allocations: 1.019 MB / 1.562 GB, free: 257.4 MB / 0.714 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.0004404/8.389, allocations: 132.2 kB / 1.562 GB, free: 257.3 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.001389/8.39, allocations: 0.8059 MB / 1.563 GB, free: 257.3 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/8.39, allocations: 3.281 kB / 1.563 GB, free: 257.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/8.391, allocations: 453.1 kB / 1.563 GB, free: 257.2 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008223/8.399, allocations: 3.129 MB / 1.567 GB, free: 255.1 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8706/9.27, allocations: 58.59 MB / 1.624 GB, free: 238.1 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04173/9.312, allocations: 20.03 MB / 1.643 GB, free: 224.7 MB / 0.714 GB Notification: Performance of SimCode: time 1.453e-06/9.312, allocations: 0 / 1.643 GB, free: 224.7 MB / 0.714 GB Notification: Performance of Templates: time 0.4058/9.718, allocations: 149.3 MB / 1.789 GB, free: 77.48 MB / 0.714 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches