Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") [: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.003529/0.003529, allocations: 176.9 kB / 7.454 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.236/1.236, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001734/0.001734, allocations: 100 kB / 217.7 MB, free: 8.211 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.1581/0.1581, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.053e-05/1.063e-05, allocations: 6.688 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08171, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.373, allocations: 74.87 MB / 473.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.3733, allocations: 66.91 kB / 473.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01577/0.3891, allocations: 3.468 MB / 476.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3892, allocations: 0.75 kB / 476.6 MB, free: 13.62 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004697/0.3897, allocations: 403.3 kB / 477 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3898, allocations: 7.688 kB / 477 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.3898, allocations: 10.88 kB / 477 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.3901, allocations: 195.2 kB / 477.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3901, allocations: 4 kB / 477.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3902, allocations: 7.719 kB / 477.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.176e-05/0.3902, allocations: 10.17 kB / 477.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.052e-05/0.3903, allocations: 47.31 kB / 477.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3903, allocations: 0 / 477.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3904, allocations: 0 / 477.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3904, allocations: 0 / 477.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3905, allocations: 163.4 kB / 477.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.824e-05/0.3906, allocations: 32.09 kB / 477.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.3907, allocations: 11.2 kB / 477.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3907, allocations: 0 / 477.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.523e-05/0.3908, allocations: 54.95 kB / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3908, allocations: 0 / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001625/0.3909, allocations: 54.8 kB / 477.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.391, allocations: 54.27 kB / 477.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3911, allocations: 160 kB / 477.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.3911, allocations: 29.48 kB / 477.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.3912, allocations: 90.31 kB / 477.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.3912, allocations: 7.406 kB / 477.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.3912, allocations: 0 / 477.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.3913, allocations: 323.9 kB / 478.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.3913, allocations: 10.56 kB / 478.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.3914, allocations: 17.75 kB / 478.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.3914, allocations: 17.66 kB / 478.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3914, allocations: 4 kB / 478.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001154/0.3916, allocations: 79.11 kB / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3916, allocations: 7.594 kB / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3916, allocations: 0 / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3916, allocations: 0 / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.3917, allocations: 10.91 kB / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3917, allocations: 0 / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.3917, allocations: 11.62 kB / 478.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3918, allocations: 3.781 kB / 478.4 MB, free: 12.03 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 (5): * Single equations (assignments): 4 * 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 6.093e-05/0.3918, allocations: 105 kB / 478.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.3918, allocations: 9.656 kB / 478.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.392, allocations: 69.89 kB / 478.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.392, allocations: 11.78 kB / 478.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.392, allocations: 3.938 kB / 478.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.392, allocations: 0 / 478.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3921, allocations: 155.8 kB / 478.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3921, allocations: 0 / 478.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.3922, allocations: 10.27 kB / 478.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3922, allocations: 0 / 478.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3922, allocations: 4 kB / 478.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3922, allocations: 7.906 kB / 478.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3922, allocations: 3.906 kB / 478.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001057/0.3923, allocations: 81.08 kB / 478.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.3924, allocations: 89.06 kB / 478.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3924, allocations: 2.203 kB / 479 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.3925, allocations: 3.781 kB / 479 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3925, allocations: 6.203 kB / 479 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3925, allocations: 3.969 kB / 479 MB, free: 11.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.308e-05/0.3926, allocations: 125.1 kB / 479.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.3929, allocations: 24.98 kB / 479.1 MB, free: 11.44 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 (4): * Single equations (assignments): 3 * 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.0005643/0.3934, allocations: 240.8 kB / 479.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3936, allocations: 63.86 kB / 479.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3936, allocations: 0 / 479.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.3936, allocations: 10 kB / 479.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3939, allocations: 16.59 kB / 479.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.3942, allocations: 116.9 kB / 479.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.3944, allocations: 0.7097 MB / 480.3 MB, free: 26.47 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3945, allocations: 4 kB / 480.3 MB, free: 26.46 MB / 346.7 MB Notification: Performance of Templates: time 0.003272/0.3977, allocations: 1.246 MB / 481.5 MB, free: 26.29 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)