Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") [: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.2+maint.om/package.mo): time 0.005265/0.005264, allocations: 181.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.375/1.375, allocations: 194.2 MB / 202.1 MB, free: 8.828 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001651/0.001651, allocations: 117.2 kB / 247.1 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.176/0.176, allocations: 39.94 MB / 331.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.761e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.08901, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3734, allocations: 81.4 MB / 0.5167 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3736, allocations: 69.27 kB / 0.5167 GB, free: 10.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01777/0.3914, allocations: 6.511 MB / 0.5231 GB, free: 8.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.3914, allocations: 6.594 kB / 0.5231 GB, free: 8.914 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006129/0.392, allocations: 0.5814 MB / 0.5237 GB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3921, allocations: 12.94 kB / 0.5237 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.3922, allocations: 16.59 kB / 0.5237 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3926, allocations: 233.5 kB / 0.5239 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3926, allocations: 2.25 kB / 0.5239 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.3926, allocations: 8.531 kB / 0.5239 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.3927, allocations: 27.48 kB / 0.5239 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3929, allocations: 100.8 kB / 0.524 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3929, allocations: 7.906 kB / 0.524 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3929, allocations: 1.156 kB / 0.524 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.393, allocations: 1.031 kB / 0.5241 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.3932, allocations: 208.7 kB / 0.5242 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3934, allocations: 96.25 kB / 0.5243 GB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.3935, allocations: 39.72 kB / 0.5244 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3935, allocations: 4.938 kB / 0.5244 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.3936, allocations: 94.66 kB / 0.5245 GB, free: 7.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.3937, allocations: 1.156 kB / 0.5245 GB, free: 7.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002969/0.394, allocations: 122.7 kB / 0.5246 GB, free: 7.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.394, allocations: 129.7 kB / 0.5247 GB, free: 7.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3942, allocations: 182.5 kB / 0.5249 GB, free: 7.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3943, allocations: 27.83 kB / 0.5249 GB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.3943, allocations: 95.78 kB / 0.525 GB, free: 7.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.3944, allocations: 24.53 kB / 0.525 GB, free: 7.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.3944, allocations: 1.219 kB / 0.525 GB, free: 7.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.3945, allocations: 333.8 kB / 0.5254 GB, free: 6.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.3946, allocations: 44.25 kB / 0.5254 GB, free: 6.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3947, allocations: 87.47 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3948, allocations: 54.66 kB / 0.5255 GB, free: 6.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3948, allocations: 1.281 kB / 0.5255 GB, free: 6.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003216/0.3952, allocations: 179.8 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3952, allocations: 4.469 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3952, allocations: 1.219 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3952, allocations: 5.984 kB / 0.5257 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3954, allocations: 22.23 kB / 0.5257 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3954, allocations: 1.812 kB / 0.5257 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3955, allocations: 18.91 kB / 0.5258 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3955, allocations: 12.7 kB / 0.5258 GB, free: 6.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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 9.914e-05/0.3956, allocations: 120.3 kB / 0.5259 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3957, allocations: 14.41 kB / 0.5259 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.396, allocations: 134.9 kB / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.396, allocations: 2.5 kB / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.396, allocations: 0 / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.396, allocations: 4.938 kB / 0.526 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3962, allocations: 197.7 kB / 0.5262 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3962, allocations: 1.562 kB / 0.5262 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.3962, allocations: 8.125 kB / 0.5262 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3962, allocations: 5.375 kB / 0.5262 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3963, allocations: 2.969 kB / 0.5262 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3963, allocations: 15.81 kB / 0.5263 GB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3963, allocations: 1.312 kB / 0.5263 GB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/0.3965, allocations: 159.9 kB / 0.5264 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.3966, allocations: 109.1 kB / 0.5265 GB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.3966, allocations: 5.938 kB / 0.5265 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.3967, allocations: 13.02 kB / 0.5265 GB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3967, allocations: 10.36 kB / 0.5265 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3968, allocations: 4.781 kB / 0.5265 GB, free: 6.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001082/0.3969, allocations: 148.3 kB / 0.5267 GB, free: 5.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.3972, allocations: 64.2 kB / 0.5267 GB, free: 5.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001297/0.3985, allocations: 0.5187 MB / 0.5273 GB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.3989, allocations: 160.6 kB / 0.5274 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3989, allocations: 0 / 0.5274 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.399, allocations: 37.09 kB / 0.5274 GB, free: 5.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3993, allocations: 36.7 kB / 0.5275 GB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.3998, allocations: 184.5 kB / 0.5276 GB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.4, allocations: 0.7527 MB / 0.5284 GB, free: 4.684 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4001, allocations: 0 / 0.5284 GB, free: 4.684 MB / 346.7 MB Notification: Performance of Templates: time 0.007035/0.4071, allocations: 2.815 MB / 0.5311 GB, free: 3.242 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)