Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") [: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.004827/0.004827, allocations: 188.4 kB / 7.463 MB, free: 2.5 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.207/1.207, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.00159/0.00159, allocations: 119.4 kB / 247.1 MB, free: 6.289 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.1651/0.1651, allocations: 39.95 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.4004, allocations: 81.42 MB / 0.5167 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.4006, allocations: 69.67 kB / 0.5167 GB, free: 10.3 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.01703/0.4177, allocations: 6.338 MB / 0.5229 GB, free: 8.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.4177, allocations: 8.031 kB / 0.5229 GB, free: 8.762 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.0006178/0.4183, allocations: 0.5854 MB / 0.5235 GB, free: 8.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4184, allocations: 13.25 kB / 0.5235 GB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.4185, allocations: 27.34 kB / 0.5236 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.4189, allocations: 266.7 kB / 0.5238 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.419, allocations: 6.125 kB / 0.5238 GB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.419, allocations: 12.28 kB / 0.5238 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/0.4191, allocations: 37.2 kB / 0.5239 GB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4193, allocations: 90.12 kB / 0.5239 GB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4193, allocations: 5.078 kB / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4193, allocations: 0 / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4193, allocations: 2.344 kB / 0.524 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.4198, allocations: 482.2 kB / 0.5244 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.42, allocations: 92.33 kB / 0.5245 GB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.4201, allocations: 53.83 kB / 0.5246 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4201, allocations: 1.281 kB / 0.5246 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.4202, allocations: 103.8 kB / 0.5247 GB, free: 7.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4202, allocations: 0 / 0.5247 GB, free: 7.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006845/0.4209, allocations: 285.5 kB / 0.5249 GB, free: 7.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.421, allocations: 79.36 kB / 0.525 GB, free: 7.086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.4213, allocations: 302.2 kB / 0.5253 GB, free: 6.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4214, allocations: 29.67 kB / 0.5253 GB, free: 6.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.4214, allocations: 112.5 kB / 0.5254 GB, free: 6.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4215, allocations: 46.02 kB / 0.5255 GB, free: 6.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.4215, allocations: 2.562 kB / 0.5255 GB, free: 6.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4216, allocations: 337.2 kB / 0.5258 GB, free: 6.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4217, allocations: 63.91 kB / 0.5259 GB, free: 6.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4219, allocations: 109.8 kB / 0.526 GB, free: 6.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.422, allocations: 80.22 kB / 0.526 GB, free: 6.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.422, allocations: 0 / 0.526 GB, free: 6.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004123/0.4225, allocations: 240.5 kB / 0.5263 GB, free: 6.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4225, allocations: 5.094 kB / 0.5263 GB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4225, allocations: 1.375 kB / 0.5263 GB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4225, allocations: 5.094 kB / 0.5263 GB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4227, allocations: 39.14 kB / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4227, allocations: 2.438 kB / 0.5263 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4228, allocations: 14.08 kB / 0.5263 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4229, allocations: 11.84 kB / 0.5263 GB, free: 6.32 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 7.379e-05/0.4229, allocations: 116.1 kB / 0.5265 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.423, allocations: 26.12 kB / 0.5265 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.4233, allocations: 189.5 kB / 0.5267 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4233, allocations: 5.328 kB / 0.5267 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4233, allocations: 1.344 kB / 0.5267 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4234, allocations: 3.984 kB / 0.5267 GB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.424, allocations: 0.5926 MB / 0.5272 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.424, allocations: 1.25 kB / 0.5272 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.4241, allocations: 17.72 kB / 0.5273 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4241, allocations: 14.36 kB / 0.5273 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4241, allocations: 10.69 kB / 0.5273 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4241, allocations: 1.031 kB / 0.5273 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4241, allocations: 5.094 kB / 0.5273 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002993/0.4244, allocations: 374.4 kB / 0.5277 GB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4245, allocations: 129.6 kB / 0.5278 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.4246, allocations: 3.656 kB / 0.5278 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4247, allocations: 4.219 kB / 0.5278 GB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.4248, allocations: 13.83 kB / 0.5278 GB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4248, allocations: 13.77 kB / 0.5278 GB, free: 5.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002178/0.425, allocations: 241 kB / 0.528 GB, free: 5.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000407/0.4254, allocations: 79.39 kB / 0.5281 GB, free: 5.109 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.001149/0.4266, allocations: 485.3 kB / 0.5286 GB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.427, allocations: 239.7 kB / 0.5288 GB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.427, allocations: 1.062 kB / 0.5288 GB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4271, allocations: 56.5 kB / 0.5289 GB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4275, allocations: 41.78 kB / 0.5289 GB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.4281, allocations: 337.2 kB / 0.5292 GB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.4284, allocations: 0.7865 MB / 0.53 GB, free: 3.781 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4284, allocations: 0 / 0.53 GB, free: 3.781 MB / 346.7 MB Notification: Performance of Templates: time 0.006242/0.4347, allocations: 3.107 MB / 0.533 GB, free: 1.832 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)