Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.001036/0.001036, allocations: 180.8 kB / 8.132 MB, free: 2.23 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.121/1.121, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009495/0.0009495, allocations: 103.5 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.755/0.755, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.801e-06, allocations: 0 / 0.5282 GB, free: 51.84 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 82.84 MB / 0.6091 GB, free: 3 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6243/0.7441, allocations: 125.9 MB / 0.7321 GB, free: 3.93 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001484/0.7443, allocations: 46.48 kB / 0.7321 GB, free: 3.91 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0186/0.763, allocations: 7.255 MB / 0.7392 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 7.359e-05/0.7631, allocations: 16 kB / 0.7392 GB, free: 13.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001426/0.7645, allocations: 1.137 MB / 0.7403 GB, free: 12.29 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7646, allocations: 8.031 kB / 0.7403 GB, free: 12.28 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.7649, allocations: 142.1 kB / 0.7405 GB, free: 12.14 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.7708, allocations: 1.579 MB / 0.742 GB, free: 10.68 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.7708, allocations: 0 / 0.742 GB, free: 10.68 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.7708, allocations: 3.984 kB / 0.742 GB, free: 10.68 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001104/0.771, allocations: 47.12 kB / 0.7421 GB, free: 10.64 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.7711, allocations: 77.52 kB / 0.7421 GB, free: 10.56 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7711, allocations: 0 / 0.7421 GB, free: 10.56 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.7711, allocations: 7.938 kB / 0.7421 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7711, allocations: 0 / 0.7421 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.7718, allocations: 0.5488 MB / 0.7427 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.7719, allocations: 48.88 kB / 0.7427 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.7719, allocations: 39.98 kB / 0.7428 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.7719, allocations: 0 / 0.7428 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.7721, allocations: 134.3 kB / 0.7429 GB, free: 9.879 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.7721, allocations: 0 / 0.7429 GB, free: 9.879 MB / 0.5109 GB Notification: Performance of matching and sorting (n=8): time 0.0004681/0.7726, allocations: 266.4 kB / 0.7431 GB, free: 9.621 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.7726, allocations: 81.09 kB / 0.7432 GB, free: 9.523 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.774, allocations: 1.327 MB / 0.7445 GB, free: 8.449 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.774, allocations: 29.7 kB / 0.7445 GB, free: 8.414 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.7742, allocations: 268 kB / 0.7448 GB, free: 8.211 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.7742, allocations: 20.19 kB / 0.7448 GB, free: 8.195 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.7742, allocations: 0 / 0.7448 GB, free: 8.195 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.7743, allocations: 321.7 kB / 0.7451 GB, free: 7.879 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.7744, allocations: 19.31 kB / 0.7451 GB, free: 7.863 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.931e-05/0.7744, allocations: 27.12 kB / 0.7452 GB, free: 7.844 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.7745, allocations: 38.27 kB / 0.7452 GB, free: 7.812 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7745, allocations: 4 kB / 0.7452 GB, free: 7.809 MB / 0.5109 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000296/0.7748, allocations: 262.4 kB / 0.7455 GB, free: 7.555 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7749, allocations: 4 kB / 0.7455 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7749, allocations: 0 / 0.7455 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7749, allocations: 0 / 0.7455 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.775, allocations: 8 kB / 0.7455 GB, free: 7.543 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.775, allocations: 0 / 0.7455 GB, free: 7.543 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.7751, allocations: 11.89 kB / 0.7455 GB, free: 7.531 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.7752, allocations: 54.5 kB / 0.7455 GB, free: 7.484 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 0.0001063/0.7753, allocations: 142.6 kB / 0.7457 GB, free: 7.336 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7754, allocations: 150 kB / 0.7458 GB, free: 7.188 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.7756, allocations: 166.9 kB / 0.746 GB, free: 7.051 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.7756, allocations: 7.984 kB / 0.746 GB, free: 7.043 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7756, allocations: 3.938 kB / 0.746 GB, free: 7.039 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7756, allocations: 4 kB / 0.746 GB, free: 7.035 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.7761, allocations: 0.5916 MB / 0.7466 GB, free: 6.535 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7761, allocations: 0 / 0.7466 GB, free: 6.535 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.7762, allocations: 4 kB / 0.7466 GB, free: 6.531 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7762, allocations: 0 / 0.7466 GB, free: 6.531 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.7762, allocations: 15.69 kB / 0.7466 GB, free: 6.52 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7762, allocations: 4 kB / 0.7466 GB, free: 6.516 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7762, allocations: 7.984 kB / 0.7466 GB, free: 6.508 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003284/0.7765, allocations: 304.2 kB / 0.7469 GB, free: 6.207 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.7768, allocations: 215 kB / 0.7471 GB, free: 5.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-05/0.7769, allocations: 7.984 kB / 0.7471 GB, free: 5.973 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.777, allocations: 0 / 0.7471 GB, free: 5.973 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.777, allocations: 4 kB / 0.7471 GB, free: 5.969 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.7771, allocations: 58.81 kB / 0.7472 GB, free: 5.918 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.001071/0.7782, allocations: 1.062 MB / 0.7482 GB, free: 5.086 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003203/0.7785, allocations: 63.94 kB / 0.7483 GB, free: 5.023 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.0002012/0.7787, allocations: 129.9 kB / 0.7484 GB, free: 4.891 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.7789, allocations: 100.6 kB / 0.7485 GB, free: 4.809 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7789, allocations: 0 / 0.7485 GB, free: 4.809 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.779, allocations: 91.36 kB / 0.7486 GB, free: 4.738 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.7793, allocations: 119.1 kB / 0.7487 GB, free: 4.688 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.782, allocations: 1.669 MB / 0.7503 GB, free: 3.062 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000813/0.7828, allocations: 1.276 MB / 0.7516 GB, free: 1.789 MB / 0.5109 GB Notification: Performance of SimCode: time 4.2e-07/0.7828, allocations: 0 / 0.7516 GB, free: 1.789 MB / 0.5109 GB Notification: Performance of Templates: time 0.0144/0.7972, allocations: 5.452 MB / 0.7569 GB, free: 12.25 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches