Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") [: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.003187/0.003187, allocations: 175.2 kB / 7.451 MB, free: 2.508 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.177/1.177, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001845/0.001845, allocations: 113 kB / 217.7 MB, free: 8.16 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.158/0.158, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.678e-06, allocations: 3.25 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09495, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/0.3712, allocations: 75.04 MB / 473.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3714, allocations: 68.91 kB / 473.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01032/0.3818, allocations: 3.943 MB / 477.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3818, allocations: 7.5 kB / 477.3 MB, free: 13.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003579/0.3822, allocations: 434.4 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3823, allocations: 8.5 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.3823, allocations: 15.56 kB / 477.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3825, allocations: 207.2 kB / 477.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3826, allocations: 0 / 477.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.3826, allocations: 7.781 kB / 477.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.127e-05/0.3827, allocations: 14.38 kB / 477.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.808e-05/0.3827, allocations: 43.95 kB / 478 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3828, allocations: 7.938 kB / 478 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3828, allocations: 3.938 kB / 478 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3828, allocations: 0 / 478 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.3831, allocations: 287 kB / 478.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3833, allocations: 35.72 kB / 478.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.3833, allocations: 15.25 kB / 478.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3833, allocations: 0 / 478.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.3834, allocations: 61.55 kB / 478.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3834, allocations: 0 / 478.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003325/0.3838, allocations: 114.2 kB / 478.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.3838, allocations: 51.41 kB / 478.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.384, allocations: 218.1 kB / 478.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.384, allocations: 25.7 kB / 478.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.3841, allocations: 94.22 kB / 478.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3841, allocations: 22.14 kB / 478.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.3841, allocations: 0 / 478.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.3842, allocations: 327 kB / 479.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.3842, allocations: 18.12 kB / 479.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.3843, allocations: 25.22 kB / 479.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.3843, allocations: 27.8 kB / 479.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.3843, allocations: 0 / 479.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001397/0.3845, allocations: 94.23 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3845, allocations: 7.781 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3845, allocations: 4 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3845, allocations: 0 / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.3846, allocations: 10.66 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.3846, allocations: 3.938 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.3846, allocations: 3.875 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3847, allocations: 7.781 kB / 479.4 MB, free: 11.67 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 (7): * Single equations (assignments): 6 * 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.486e-05/0.3847, allocations: 109 kB / 479.5 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.3847, allocations: 11.62 kB / 479.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.3849, allocations: 93.47 kB / 479.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3849, allocations: 3 kB / 479.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3849, allocations: 3.875 kB / 479.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.385, allocations: 0 / 479.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3852, allocations: 343.9 kB / 480 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3852, allocations: 0 / 480 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3853, allocations: 5.703 kB / 480 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3853, allocations: 3.875 kB / 480 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3853, allocations: 0 / 480 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3853, allocations: 7.234 kB / 480 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3853, allocations: 0 / 480 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001243/0.3855, allocations: 171.7 kB / 480.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3855, allocations: 99.08 kB / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.3855, allocations: 7.844 kB / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.3856, allocations: 0 / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3857, allocations: 10.2 kB / 480.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3857, allocations: 4 kB / 480.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001215/0.3858, allocations: 175.7 kB / 480.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.3861, allocations: 34.59 kB / 480.5 MB, free: 10.91 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 (6): * Single equations (assignments): 5 * 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.0004933/0.3866, allocations: 274.4 kB / 480.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.3867, allocations: 78.05 kB / 480.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3867, allocations: 0 / 480.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.3867, allocations: 15.25 kB / 480.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.387, allocations: 21.69 kB / 480.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.3873, allocations: 190.3 kB / 481 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3876, allocations: 0.7382 MB / 481.8 MB, free: 25.89 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3876, allocations: 3.938 kB / 481.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of Templates: time 0.004162/0.3918, allocations: 1.554 MB / 483.3 MB, free: 25.7 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)