Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") [: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.002812/0.002812, allocations: 182.6 kB / 7.458 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.354/1.354, allocations: 194.2 MB / 202.1 MB, free: 8.707 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.0017/0.001701, allocations: 123.1 kB / 247.1 MB, free: 6.332 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.1705/0.1705, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.753e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09206, allocations: 54.88 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3746, allocations: 81.28 MB / 0.5165 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3749, allocations: 73.09 kB / 0.5166 GB, free: 10.28 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. Notification: Performance of FrontEnd: time 0.01221/0.3871, allocations: 4.123 MB / 0.5206 GB, free: 9.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3871, allocations: 5.281 kB / 0.5206 GB, free: 9.543 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004358/0.3876, allocations: 462 kB / 0.5211 GB, free: 9.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3876, allocations: 13.38 kB / 0.5211 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.3877, allocations: 8.5 kB / 0.5211 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.388, allocations: 213.6 kB / 0.5213 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.388, allocations: 1.344 kB / 0.5213 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.388, allocations: 8.062 kB / 0.5213 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.173e-05/0.3881, allocations: 18.89 kB / 0.5213 GB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.442e-05/0.3882, allocations: 48.38 kB / 0.5214 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3882, allocations: 4 kB / 0.5214 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3883, allocations: 4.984 kB / 0.5214 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3883, allocations: 0.8125 kB / 0.5214 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.3887, allocations: 292.2 kB / 0.5217 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3888, allocations: 49.84 kB / 0.5217 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.3888, allocations: 22.52 kB / 0.5217 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3889, allocations: 4 kB / 0.5217 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.415e-05/0.389, allocations: 62.38 kB / 0.5218 GB, free: 8.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.389, allocations: 2 kB / 0.5218 GB, free: 8.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004829/0.3895, allocations: 149.8 kB / 0.5219 GB, free: 8.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3895, allocations: 52.47 kB / 0.522 GB, free: 8.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3897, allocations: 170.9 kB / 0.5222 GB, free: 8.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3897, allocations: 26.58 kB / 0.5222 GB, free: 8.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.3897, allocations: 99.84 kB / 0.5223 GB, free: 8.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3898, allocations: 27.77 kB / 0.5223 GB, free: 8.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.3898, allocations: 0.9062 kB / 0.5223 GB, free: 8.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.3899, allocations: 326.4 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.3899, allocations: 32.69 kB / 0.5226 GB, free: 7.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.39, allocations: 46.91 kB / 0.5227 GB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.3901, allocations: 39.75 kB / 0.5227 GB, free: 7.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3901, allocations: 4 kB / 0.5227 GB, free: 7.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002246/0.3903, allocations: 132.4 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3903, allocations: 5.281 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3904, allocations: 1.188 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3904, allocations: 1.219 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.3905, allocations: 12.81 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3905, allocations: 0.9688 kB / 0.5229 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.3906, allocations: 11.23 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3906, allocations: 5.344 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (11): * Single equations (assignments): 10 * 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.158e-05/0.3907, allocations: 115.6 kB / 0.523 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3907, allocations: 15.91 kB / 0.523 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3909, allocations: 113.6 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3909, allocations: 1.125 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3909, allocations: 0 / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3909, allocations: 1 kB / 0.5231 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3912, allocations: 373.3 kB / 0.5235 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3913, allocations: 1.031 kB / 0.5235 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.3913, allocations: 12.31 kB / 0.5235 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3913, allocations: 1.781 kB / 0.5235 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3913, allocations: 4.953 kB / 0.5235 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3913, allocations: 1.719 kB / 0.5235 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3913, allocations: 0 / 0.5235 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001739/0.3915, allocations: 211.3 kB / 0.5237 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3916, allocations: 100.6 kB / 0.5238 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3916, allocations: 1.062 kB / 0.5238 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.3917, allocations: 2.312 kB / 0.5238 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3918, allocations: 7.234 kB / 0.5238 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3918, allocations: 3.25 kB / 0.5238 GB, free: 6.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.58e-05/0.3919, allocations: 139.3 kB / 0.524 GB, free: 6.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.3922, allocations: 37.94 kB / 0.524 GB, free: 6.77 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006692/0.3928, allocations: 325.1 kB / 0.5243 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3931, allocations: 116.1 kB / 0.5244 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3931, allocations: 0 / 0.5244 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.653e-05/0.3931, allocations: 30.3 kB / 0.5244 GB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3934, allocations: 25 kB / 0.5245 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.3938, allocations: 171.9 kB / 0.5246 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.394, allocations: 0.7281 MB / 0.5253 GB, free: 5.676 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.394, allocations: 5.219 kB / 0.5253 GB, free: 5.672 MB / 346.7 MB Notification: Performance of Templates: time 0.004351/0.3983, allocations: 1.675 MB / 0.527 GB, free: 4.836 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)