Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") [:1:1-1:32: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 3.2.1+maint.om/package.mo): time 0.003339/0.003339, allocations: 178.6 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001612, allocations: 108.4 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1551/0.1551, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.867e-06/8.897e-06, allocations: 2.344 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08435, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2574/0.3418, allocations: 75.07 MB / 473.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.3421, allocations: 70.02 kB / 473.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01134/0.3534, allocations: 4.223 MB / 477.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3535, allocations: 0 / 477.6 MB, free: 13.52 MB / 330.7 MB 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.0003627/0.3539, allocations: 433.3 kB / 478 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3539, allocations: 11.66 kB / 478 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.354, allocations: 14.97 kB / 478 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.3542, allocations: 214 kB / 478.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3542, allocations: 3.906 kB / 478.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.3543, allocations: 3.906 kB / 478.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.169e-05/0.3543, allocations: 35.56 kB / 478.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.3544, allocations: 52.36 kB / 478.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3545, allocations: 0 / 478.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3545, allocations: 3.938 kB / 478.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3545, allocations: 0 / 478.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.3548, allocations: 299.6 kB / 478.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.3549, allocations: 58.23 kB / 478.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.355, allocations: 23.95 kB / 478.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.355, allocations: 0.6562 kB / 478.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/0.3551, allocations: 66.33 kB / 478.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3551, allocations: 0 / 478.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004131/0.3555, allocations: 148.1 kB / 478.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.3555, allocations: 51.41 kB / 479 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3557, allocations: 212.1 kB / 479.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3557, allocations: 36.95 kB / 479.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3558, allocations: 98.66 kB / 479.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3558, allocations: 26.16 kB / 479.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.3558, allocations: 0 / 479.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.3559, allocations: 328.8 kB / 479.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.356, allocations: 30.81 kB / 479.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.356, allocations: 28.66 kB / 479.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.3561, allocations: 29.41 kB / 479.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3561, allocations: 0 / 479.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001753/0.3563, allocations: 130.2 kB / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3563, allocations: 3.969 kB / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3563, allocations: 3.906 kB / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3563, allocations: 0 / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.3564, allocations: 18.83 kB / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3564, allocations: 0 / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.3565, allocations: 0 / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3565, allocations: 11.12 kB / 479.9 MB, free: 11.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 5.421e-05/0.3565, allocations: 108.3 kB / 480 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.3566, allocations: 15.72 kB / 480 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3568, allocations: 124.1 kB / 480.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3568, allocations: 0 / 480.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3568, allocations: 0 / 480.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3568, allocations: 0 / 480.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.3572, allocations: 395.3 kB / 480.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3572, allocations: 0 / 480.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.3572, allocations: 21.81 kB / 480.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3573, allocations: 0 / 480.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3573, allocations: 3.875 kB / 480.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3573, allocations: 3.188 kB / 480.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3573, allocations: 0 / 480.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001651/0.3575, allocations: 201.2 kB / 480.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.3575, allocations: 94.52 kB / 480.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3576, allocations: 10.84 kB / 480.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.3576, allocations: 384 / 480.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3577, allocations: 8.594 kB / 480.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3577, allocations: 3.875 kB / 480.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001141/0.3578, allocations: 170.9 kB / 481 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.3581, allocations: 41.34 kB / 481.1 MB, free: 11.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006102/0.3587, allocations: 276.7 kB / 481.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3589, allocations: 99.22 kB / 481.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3589, allocations: 0 / 481.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.359, allocations: 31 kB / 481.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3592, allocations: 25.52 kB / 481.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.3596, allocations: 202.5 kB / 481.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.3599, allocations: 0.7401 MB / 482.4 MB, free: 25.98 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3599, allocations: 3.938 kB / 482.4 MB, free: 25.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004027/0.364, allocations: 1.724 MB / 484.2 MB, free: 25.78 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)