Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") [: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.003409/0.003408, allocations: 173.1 kB / 7.446 MB, free: 2.344 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.196/1.196, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001782/0.001782, allocations: 119.8 kB / 217.7 MB, free: 8.215 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.1661/0.1661, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.405e-06, allocations: 2.312 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08408, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.3374, allocations: 75.04 MB / 473.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.3376, allocations: 67.05 kB / 473.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009814/0.3474, allocations: 3.593 MB / 476.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3475, allocations: 0 / 476.9 MB, free: 13.45 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.0003142/0.3478, allocations: 413.9 kB / 477.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3478, allocations: 7.844 kB / 477.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.3479, allocations: 15.66 kB / 477.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3481, allocations: 198.2 kB / 477.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3481, allocations: 0 / 477.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3481, allocations: 3.906 kB / 477.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.882e-05/0.3482, allocations: 14.77 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.3483, allocations: 43.45 kB / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3483, allocations: 0 / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3483, allocations: 0 / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3483, allocations: 0 / 477.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.3486, allocations: 270.8 kB / 477.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3488, allocations: 42.77 kB / 477.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.3488, allocations: 15.03 kB / 477.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3488, allocations: 0 / 477.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.3489, allocations: 59.69 kB / 478 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3489, allocations: 0 / 478 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002915/0.3492, allocations: 103.3 kB / 478.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.3492, allocations: 59.31 kB / 478.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3493, allocations: 144.1 kB / 478.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3494, allocations: 29.58 kB / 478.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.3494, allocations: 83.38 kB / 478.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.3494, allocations: 15.06 kB / 478.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.3494, allocations: 3.938 kB / 478.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.3495, allocations: 321.2 kB / 478.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.3495, allocations: 21.86 kB / 478.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.3496, allocations: 25.62 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.3496, allocations: 21.69 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3496, allocations: 0 / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001342/0.3497, allocations: 91.56 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.3498, allocations: 7.688 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3498, allocations: 0 / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3498, allocations: 3.047 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.3498, allocations: 7.875 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3499, allocations: 3.906 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.3499, allocations: 7.844 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3499, allocations: 4 kB / 478.9 MB, free: 11.76 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 4.668e-05/0.35, allocations: 111.6 kB / 479 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.35, allocations: 7.75 kB / 479 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.3502, allocations: 81.84 kB / 479.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3502, allocations: 0 / 479.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3502, allocations: 3.906 kB / 479.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3502, allocations: 3 kB / 479.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3504, allocations: 314.8 kB / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3504, allocations: 0 / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.3504, allocations: 11.81 kB / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3505, allocations: 0 / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3505, allocations: 7.75 kB / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3505, allocations: 0 / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3505, allocations: 0 / 479.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001045/0.3506, allocations: 166.4 kB / 479.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.3506, allocations: 95.95 kB / 479.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3507, allocations: 256 / 479.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3507, allocations: 11.75 kB / 479.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.3508, allocations: 3.234 kB / 479.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3508, allocations: 3.969 kB / 479.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.467e-05/0.3508, allocations: 116 kB / 479.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.3511, allocations: 34.78 kB / 479.9 MB, free: 11 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.0004438/0.3516, allocations: 280.8 kB / 480.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3517, allocations: 69.83 kB / 480.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3517, allocations: 0 / 480.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.3517, allocations: 23 kB / 480.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3519, allocations: 14.27 kB / 480.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.3522, allocations: 121.6 kB / 480.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3524, allocations: 0.7146 MB / 481.1 MB, free: 25.99 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3524, allocations: 0 / 481.1 MB, free: 25.99 MB / 346.7 MB Notification: Performance of Templates: time 0.003336/0.3558, allocations: 1.421 MB / 482.5 MB, free: 25.82 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)