Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") [: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.003678/0.003677, allocations: 183.4 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.291/1.291, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001638/0.001638, allocations: 118.1 kB / 247.1 MB, free: 6.355 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.1642/0.1642, allocations: 39.93 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.958e-06/9.969e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09221, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.3764, allocations: 81.18 MB / 0.5164 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.3766, allocations: 71.95 kB / 0.5165 GB, free: 10.3 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$startTime.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$startTime.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$startTime.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$startTime.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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01473/0.3914, allocations: 5.552 MB / 0.5219 GB, free: 9.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.3914, allocations: 10.5 kB / 0.5219 GB, free: 9.012 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.0006797/0.3921, allocations: 0.722 MB / 0.5226 GB, free: 8.344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3922, allocations: 8.344 kB / 0.5227 GB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3923, allocations: 50.78 kB / 0.5227 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.3931, allocations: 469 kB / 0.5232 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3931, allocations: 1.094 kB / 0.5232 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3931, allocations: 15.59 kB / 0.5232 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.3932, allocations: 32.02 kB / 0.5232 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3934, allocations: 78.78 kB / 0.5233 GB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3934, allocations: 0 / 0.5233 GB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.3934, allocations: 12.89 kB / 0.5233 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3934, allocations: 1.031 kB / 0.5233 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.3938, allocations: 384.5 kB / 0.5237 GB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.394, allocations: 103.5 kB / 0.5238 GB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.394, allocations: 32.5 kB / 0.5238 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.394, allocations: 1.312 kB / 0.5238 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.3942, allocations: 106.4 kB / 0.5239 GB, free: 7.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3942, allocations: 0.9688 kB / 0.5239 GB, free: 7.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002979/0.3945, allocations: 147.3 kB / 0.524 GB, free: 7.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3945, allocations: 78.61 kB / 0.5241 GB, free: 7.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3957, allocations: 0.8953 MB / 0.525 GB, free: 7.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3957, allocations: 29.2 kB / 0.525 GB, free: 7.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.627e-05/0.3958, allocations: 142 kB / 0.5251 GB, free: 7.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3959, allocations: 32.58 kB / 0.5252 GB, free: 7.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.3959, allocations: 6.062 kB / 0.5252 GB, free: 7.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.396, allocations: 367.5 kB / 0.5255 GB, free: 6.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.3961, allocations: 51.5 kB / 0.5256 GB, free: 6.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3962, allocations: 90.19 kB / 0.5257 GB, free: 6.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3963, allocations: 61.59 kB / 0.5257 GB, free: 6.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3963, allocations: 4 kB / 0.5257 GB, free: 6.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003516/0.3967, allocations: 232.2 kB / 0.5259 GB, free: 6.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3967, allocations: 5 kB / 0.5259 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.3967, allocations: 1.344 kB / 0.526 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3967, allocations: 1.312 kB / 0.526 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3969, allocations: 25.95 kB / 0.526 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3969, allocations: 10.89 kB / 0.526 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.397, allocations: 23.45 kB / 0.526 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3971, allocations: 11.78 kB / 0.526 GB, free: 6.516 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 7.68e-05/0.3971, allocations: 114.6 kB / 0.5261 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.3972, allocations: 48.59 kB / 0.5262 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.3975, allocations: 174.4 kB / 0.5263 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3975, allocations: 1.281 kB / 0.5263 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3976, allocations: 1.281 kB / 0.5263 GB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3976, allocations: 3.984 kB / 0.5263 GB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3979, allocations: 357.5 kB / 0.5267 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3979, allocations: 1.312 kB / 0.5267 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.3979, allocations: 17 kB / 0.5267 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3979, allocations: 1.312 kB / 0.5267 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.398, allocations: 1.312 kB / 0.5267 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.398, allocations: 1.312 kB / 0.5267 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.398, allocations: 1.312 kB / 0.5267 GB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002472/0.3982, allocations: 200.1 kB / 0.5269 GB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.3985, allocations: 203.9 kB / 0.5271 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.3986, allocations: 2.656 kB / 0.5271 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3987, allocations: 4 kB / 0.5271 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3987, allocations: 11.61 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3988, allocations: 3.688 kB / 0.5271 GB, free: 5.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0008108/0.3996, allocations: 0.7063 MB / 0.5278 GB, free: 5.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.4, allocations: 98.27 kB / 0.5279 GB, free: 5.598 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.000889/0.4009, allocations: 417.3 kB / 0.5283 GB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.4012, allocations: 201.5 kB / 0.5285 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4012, allocations: 0 / 0.5285 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.4013, allocations: 41.48 kB / 0.5285 GB, free: 5.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4016, allocations: 50.97 kB / 0.5286 GB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4029, allocations: 0.7728 MB / 0.5293 GB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.4033, allocations: 0.8948 MB / 0.5302 GB, free: 4.172 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4033, allocations: 0 / 0.5302 GB, free: 4.172 MB / 346.7 MB Notification: Performance of Templates: time 0.008321/0.4117, allocations: 3.937 MB / 0.5341 GB, free: 0.8359 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)