Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") [: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.002669/0.00267, allocations: 180.7 kB / 7.455 MB, free: 2.504 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.102/1.102, allocations: 170.6 MB / 178.4 MB, free: 15.79 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.001799/0.001799, allocations: 111.9 kB / 217.7 MB, free: 8.566 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.1706/0.1706, allocations: 37.96 MB / 294.8 MB, free: 9.66 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.945e-06, allocations: 1.688 kB / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09496, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.3878, allocations: 75.78 MB / 474 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.3882, allocations: 71.34 kB / 474.1 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008993/0.3972, allocations: 2.878 MB / 476.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3973, allocations: 3.844 kB / 477 MB, free: 13.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004669/0.3977, allocations: 458.7 kB / 477.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3978, allocations: 11.66 kB / 477.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.3978, allocations: 14.36 kB / 477.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3981, allocations: 213.5 kB / 477.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3981, allocations: 0 / 477.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3981, allocations: 3.906 kB / 477.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.758e-05/0.3982, allocations: 30.22 kB / 477.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.3984, allocations: 65.05 kB / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3984, allocations: 0 / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3984, allocations: 4 kB / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3984, allocations: 0 / 477.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.3989, allocations: 324.3 kB / 478.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3991, allocations: 64.3 kB / 478.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.3992, allocations: 27.89 kB / 478.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3992, allocations: 0 / 478.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.3993, allocations: 71.08 kB / 478.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3993, allocations: 0 / 478.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.3995, allocations: 83.09 kB / 478.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.3996, allocations: 59.22 kB / 478.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3997, allocations: 144.1 kB / 478.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3997, allocations: 25.7 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.3998, allocations: 98.03 kB / 478.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.3998, allocations: 21.89 kB / 478.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.3998, allocations: 3.875 kB / 478.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.3999, allocations: 320 kB / 479 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.3999, allocations: 21.31 kB / 479 MB, free: 11.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.4, allocations: 45.08 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.4001, allocations: 33.91 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4001, allocations: 0 / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001547/0.4002, allocations: 110.8 kB / 479.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4002, allocations: 3.844 kB / 479.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4003, allocations: 3.906 kB / 479.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4003, allocations: 0 / 479.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.4004, allocations: 23.31 kB / 479.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4004, allocations: 3.094 kB / 479.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.4004, allocations: 11.72 kB / 479.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.4005, allocations: 3.781 kB / 479.2 MB, free: 11.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.424e-05/0.4005, allocations: 104.9 kB / 479.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.4006, allocations: 11.47 kB / 479.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.4007, allocations: 89.02 kB / 479.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4007, allocations: 7.984 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4007, allocations: 0 / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4008, allocations: 7.875 kB / 479.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.4009, allocations: 174.4 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4009, allocations: 7.906 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.401, allocations: 10.7 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.401, allocations: 3.875 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.401, allocations: 0 / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.401, allocations: 0 / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.401, allocations: 7.844 kB / 479.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001833/0.4012, allocations: 138.9 kB / 479.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.4012, allocations: 88.86 kB / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.4013, allocations: 0 / 479.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.4013, allocations: 10.72 kB / 479.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.4014, allocations: 0 / 479.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4014, allocations: 14.42 kB / 479.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.079e-05/0.4015, allocations: 122.3 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.4017, allocations: 37.89 kB / 480 MB, free: 11.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.0004812/0.4022, allocations: 242.1 kB / 480.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.4024, allocations: 90.28 kB / 480.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4024, allocations: 0 / 480.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.4024, allocations: 25.56 kB / 480.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4027, allocations: 24.66 kB / 480.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.403, allocations: 145.1 kB / 480.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4033, allocations: 0.7232 MB / 481.3 MB, free: 26.23 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4034, allocations: 4 kB / 481.3 MB, free: 26.22 MB / 346.7 MB Notification: Performance of Templates: time 0.003768/0.4071, allocations: 1.589 MB / 482.9 MB, free: 26.04 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)