Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") [: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.001023/0.001023, allocations: 186.1 kB / 8.136 MB, free: 2.199 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.15/1.15, 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.001015/0.001015, allocations: 101.4 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6849/0.6849, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.16e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 82.84 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.558/0.6715, allocations: 125.9 MB / 0.7321 GB, free: 4.082 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001234/0.6717, allocations: 51.72 kB / 0.7321 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.03407/0.7058, allocations: 12.92 MB / 0.7447 GB, free: 8.344 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 9.177e-05/0.7059, allocations: 36 kB / 0.7448 GB, free: 8.309 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.002039/0.708, allocations: 1.892 MB / 0.7466 GB, free: 6.492 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.708, allocations: 12.02 kB / 0.7466 GB, free: 6.48 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/0.7084, allocations: 284.2 kB / 0.7469 GB, free: 6.199 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/0.7256, allocations: 2.972 MB / 0.7498 GB, free: 3.512 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7257, allocations: 4 kB / 0.7498 GB, free: 3.508 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.7257, allocations: 0 / 0.7498 GB, free: 3.508 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.7259, allocations: 67.05 kB / 0.7499 GB, free: 3.445 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.726, allocations: 116.9 kB / 0.75 GB, free: 3.332 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.726, allocations: 0 / 0.75 GB, free: 3.332 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.7261, allocations: 7.984 kB / 0.75 GB, free: 3.324 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7261, allocations: 3.938 kB / 0.75 GB, free: 3.32 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.7274, allocations: 0.9589 MB / 0.7509 GB, free: 2.574 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.7275, allocations: 64.06 kB / 0.751 GB, free: 2.516 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.7276, allocations: 51.61 kB / 0.751 GB, free: 2.473 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.7276, allocations: 0 / 0.751 GB, free: 2.473 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.7278, allocations: 164.2 kB / 0.7512 GB, free: 2.301 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.7278, allocations: 0 / 0.7512 GB, free: 2.301 MB / 0.5109 GB Notification: Performance of matching and sorting (n=8): time 0.0006761/0.7284, allocations: 455.7 kB / 0.7516 GB, free: 1.859 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.7285, allocations: 81.11 kB / 0.7517 GB, free: 1.762 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.7316, allocations: 2.572 MB / 0.7542 GB, free: 15.7 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.7316, allocations: 26.64 kB / 0.7542 GB, free: 15.67 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.7319, allocations: 462.6 kB / 0.7547 GB, free: 15.34 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.732, allocations: 18.56 kB / 0.7547 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.732, allocations: 4 kB / 0.7547 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.7321, allocations: 313.4 kB / 0.755 GB, free: 15.01 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.7321, allocations: 38.62 kB / 0.755 GB, free: 14.98 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.7322, allocations: 31.19 kB / 0.7551 GB, free: 14.95 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.7323, allocations: 45.7 kB / 0.7551 GB, free: 14.91 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7323, allocations: 7.938 kB / 0.7551 GB, free: 14.91 MB / 0.5265 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005231/0.7329, allocations: 451.5 kB / 0.7555 GB, free: 14.47 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7329, allocations: 5.094 kB / 0.7556 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7329, allocations: 4 kB / 0.7556 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7329, allocations: 4 kB / 0.7556 GB, free: 14.46 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.733, allocations: 4 kB / 0.7556 GB, free: 14.45 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.733, allocations: 3.984 kB / 0.7556 GB, free: 14.45 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.7332, allocations: 3.906 kB / 0.7556 GB, free: 14.45 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.7333, allocations: 111.8 kB / 0.7557 GB, free: 14.35 MB / 0.5265 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.000117/0.7334, allocations: 142.6 kB / 0.7558 GB, free: 14.2 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.7337, allocations: 288.2 kB / 0.7561 GB, free: 13.91 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.7341, allocations: 339.3 kB / 0.7564 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7341, allocations: 4 kB / 0.7564 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7341, allocations: 0 / 0.7564 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7341, allocations: 3.938 kB / 0.7564 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/0.735, allocations: 1.049 MB / 0.7574 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.735, allocations: 0 / 0.7574 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.7351, allocations: 0 / 0.7574 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7351, allocations: 0 / 0.7574 GB, free: 12.8 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.7351, allocations: 31.98 kB / 0.7575 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7351, allocations: 0 / 0.7575 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7351, allocations: 0 / 0.7575 GB, free: 12.77 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005256/0.7357, allocations: 0.4973 MB / 0.758 GB, free: 12.27 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.7361, allocations: 340.2 kB / 0.7583 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.7362, allocations: 0 / 0.7583 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.7364, allocations: 4 kB / 0.7583 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.7365, allocations: 4.062 kB / 0.7583 GB, free: 11.92 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.7366, allocations: 114.7 kB / 0.7584 GB, free: 11.82 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.002464/0.7391, allocations: 2.026 MB / 0.7604 GB, free: 10.24 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0004031/0.7395, allocations: 99.88 kB / 0.7605 GB, free: 10.14 MB / 0.5265 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.0002272/0.7397, allocations: 133.6 kB / 0.7606 GB, free: 10.01 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.74, allocations: 128.3 kB / 0.7607 GB, free: 9.902 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.74, allocations: 0 / 0.7607 GB, free: 9.902 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.7402, allocations: 100.1 kB / 0.7608 GB, free: 9.824 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.7406, allocations: 210.1 kB / 0.761 GB, free: 9.738 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/0.7471, allocations: 3.358 MB / 0.7643 GB, free: 6.484 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/0.7486, allocations: 1.878 MB / 0.7661 GB, free: 4.637 MB / 0.5265 GB Notification: Performance of SimCode: time 6.71e-07/0.7486, allocations: 4 kB / 0.7661 GB, free: 4.633 MB / 0.5265 GB Notification: Performance of Templates: time 0.02618/0.7748, allocations: 10.01 MB / 0.7759 GB, free: 10.57 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches