Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") [: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.002724/0.002724, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.306/1.306, allocations: 194.2 MB / 202.1 MB, free: 8.711 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.001704/0.001704, allocations: 126.3 kB / 247.1 MB, free: 6.391 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.183/0.183, allocations: 39.95 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.496e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3986, allocations: 81.43 MB / 0.5167 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3989, allocations: 79.91 kB / 0.5168 GB, free: 10.29 MB / 346.7 MB [/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.01802/0.4169, allocations: 6.642 MB / 0.5232 GB, free: 8.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.417, allocations: 7.344 kB / 0.5233 GB, free: 8.617 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006248/0.4176, allocations: 0.6252 MB / 0.5239 GB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4177, allocations: 9.281 kB / 0.5239 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.4177, allocations: 29.81 kB / 0.5239 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.4182, allocations: 291.8 kB / 0.5242 GB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4182, allocations: 6.719 kB / 0.5242 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.4183, allocations: 8.25 kB / 0.5242 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/0.4184, allocations: 36.48 kB / 0.5242 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4185, allocations: 90.61 kB / 0.5243 GB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4186, allocations: 1.156 kB / 0.5243 GB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4186, allocations: 3.375 kB / 0.5243 GB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4186, allocations: 5.938 kB / 0.5243 GB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.4192, allocations: 500 kB / 0.5248 GB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.4194, allocations: 104.3 kB / 0.5249 GB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.4194, allocations: 44.84 kB / 0.5249 GB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4195, allocations: 5.062 kB / 0.5249 GB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.4196, allocations: 107.2 kB / 0.525 GB, free: 7.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4196, allocations: 0 / 0.525 GB, free: 7.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007205/0.4203, allocations: 302.4 kB / 0.5253 GB, free: 6.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4204, allocations: 79.83 kB / 0.5254 GB, free: 6.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.4209, allocations: 417.9 kB / 0.5258 GB, free: 6.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4209, allocations: 36.11 kB / 0.5258 GB, free: 6.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.421, allocations: 111.4 kB / 0.526 GB, free: 6.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.421, allocations: 45.3 kB / 0.526 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.421, allocations: 2 kB / 0.526 GB, free: 6.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.4211, allocations: 345.8 kB / 0.5263 GB, free: 6.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4212, allocations: 70.33 kB / 0.5264 GB, free: 6.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4214, allocations: 106.4 kB / 0.5265 GB, free: 6.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.4215, allocations: 70.69 kB / 0.5266 GB, free: 6.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4215, allocations: 0 / 0.5266 GB, free: 6.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000387/0.4219, allocations: 249.2 kB / 0.5268 GB, free: 6.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4219, allocations: 5.219 kB / 0.5268 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.422, allocations: 1.312 kB / 0.5268 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.422, allocations: 2.656 kB / 0.5268 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.4221, allocations: 45.66 kB / 0.5269 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.4222, allocations: 1.281 kB / 0.5269 GB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4223, allocations: 10.59 kB / 0.5269 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4223, allocations: 7.844 kB / 0.5269 GB, free: 6.102 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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 8.888e-05/0.4224, allocations: 126.4 kB / 0.527 GB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.4225, allocations: 28.75 kB / 0.527 GB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.4228, allocations: 190.7 kB / 0.5272 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4229, allocations: 6.594 kB / 0.5272 GB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4229, allocations: 1.375 kB / 0.5272 GB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4229, allocations: 3.938 kB / 0.5272 GB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.4237, allocations: 0.6342 MB / 0.5278 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4237, allocations: 5.219 kB / 0.5278 GB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.4238, allocations: 20.7 kB / 0.5279 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4238, allocations: 10.59 kB / 0.5279 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4238, allocations: 2.688 kB / 0.5279 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4238, allocations: 2.5 kB / 0.5279 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4238, allocations: 5.25 kB / 0.5279 GB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003236/0.4241, allocations: 387.3 kB / 0.5282 GB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4243, allocations: 137 kB / 0.5284 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.4243, allocations: 2.688 kB / 0.5284 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.4245, allocations: 9.266 kB / 0.5284 GB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4245, allocations: 17.05 kB / 0.5284 GB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4246, allocations: 6.781 kB / 0.5284 GB, free: 4.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003562/0.4249, allocations: 330.6 kB / 0.5287 GB, free: 4.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.4254, allocations: 79.8 kB / 0.5288 GB, free: 4.852 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.0009957/0.4264, allocations: 485.6 kB / 0.5293 GB, free: 4.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.4267, allocations: 238.7 kB / 0.5295 GB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4267, allocations: 0 / 0.5295 GB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.4268, allocations: 60.39 kB / 0.5296 GB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.4273, allocations: 46.69 kB / 0.5296 GB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.428, allocations: 433.5 kB / 0.53 GB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.4283, allocations: 0.8206 MB / 0.5308 GB, free: 3.477 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4283, allocations: 5.219 kB / 0.5308 GB, free: 3.473 MB / 346.7 MB Notification: Performance of Templates: time 0.005988/0.4343, allocations: 3.299 MB / 0.534 GB, free: 0.9062 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)