Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") [: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.002448/0.002448, allocations: 179.8 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.348/1.348, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.002359/0.002359, allocations: 120.6 kB / 247.1 MB, free: 6.379 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.1688/0.1688, allocations: 39.94 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.768e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08733, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2798/0.3672, allocations: 81.4 MB / 0.5167 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.3675, allocations: 73.75 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.01929/0.3868, allocations: 6.504 MB / 0.5231 GB, free: 8.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3869, allocations: 5.406 kB / 0.5231 GB, free: 8.918 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.0007241/0.3876, allocations: 0.5803 MB / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.3877, allocations: 8.688 kB / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.3878, allocations: 16.38 kB / 0.5237 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3881, allocations: 241.8 kB / 0.5239 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3882, allocations: 6.641 kB / 0.5239 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3882, allocations: 4.219 kB / 0.5239 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.3883, allocations: 32.77 kB / 0.5239 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3884, allocations: 97.41 kB / 0.524 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3885, allocations: 3.906 kB / 0.524 GB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3885, allocations: 5.156 kB / 0.524 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.3885, allocations: 1.062 kB / 0.5241 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.3887, allocations: 221 kB / 0.5243 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3889, allocations: 87.61 kB / 0.5243 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.3889, allocations: 38.39 kB / 0.5244 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.389, allocations: 5.062 kB / 0.5244 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.3891, allocations: 106.3 kB / 0.5245 GB, free: 7.637 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3891, allocations: 0 / 0.5245 GB, free: 7.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002578/0.3894, allocations: 113.2 kB / 0.5246 GB, free: 7.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3894, allocations: 130.5 kB / 0.5247 GB, free: 7.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3896, allocations: 182.5 kB / 0.5249 GB, free: 7.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3896, allocations: 28.39 kB / 0.5249 GB, free: 7.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.3897, allocations: 96.75 kB / 0.525 GB, free: 7.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3897, allocations: 29.08 kB / 0.525 GB, free: 7.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.3897, allocations: 1.594 kB / 0.525 GB, free: 7.176 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.3898, allocations: 329.6 kB / 0.5254 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3899, allocations: 40.53 kB / 0.5254 GB, free: 6.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.39, allocations: 85.78 kB / 0.5255 GB, free: 6.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.3901, allocations: 57.16 kB / 0.5255 GB, free: 6.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3901, allocations: 0 / 0.5255 GB, free: 6.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002719/0.3904, allocations: 175.4 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3904, allocations: 5.875 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3904, allocations: 0 / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3904, allocations: 2.625 kB / 0.5257 GB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3905, allocations: 28.08 kB / 0.5257 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3905, allocations: 2.594 kB / 0.5257 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.3906, allocations: 27.7 kB / 0.5258 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3907, allocations: 5.406 kB / 0.5258 GB, free: 6.703 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 7.726e-05/0.3908, allocations: 118.6 kB / 0.5259 GB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.3908, allocations: 15.41 kB / 0.5259 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3911, allocations: 134.5 kB / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3911, allocations: 1.5 kB / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3911, allocations: 1.5 kB / 0.526 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3911, allocations: 7.906 kB / 0.526 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3913, allocations: 199.5 kB / 0.5262 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3913, allocations: 0 / 0.5262 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.3913, allocations: 12.98 kB / 0.5262 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3913, allocations: 1.5 kB / 0.5262 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3914, allocations: 2.688 kB / 0.5262 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3914, allocations: 4.938 kB / 0.5262 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3914, allocations: 0 / 0.5262 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002138/0.3916, allocations: 165.6 kB / 0.5264 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.3917, allocations: 105.7 kB / 0.5265 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3918, allocations: 10.33 kB / 0.5265 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.3918, allocations: 3.812 kB / 0.5265 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.3919, allocations: 19.5 kB / 0.5265 GB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3919, allocations: 5.156 kB / 0.5265 GB, free: 6.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001064/0.392, allocations: 150.2 kB / 0.5267 GB, free: 5.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.3924, allocations: 65.67 kB / 0.5267 GB, free: 5.969 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.001032/0.3934, allocations: 0.506 MB / 0.5272 GB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3936, allocations: 158.6 kB / 0.5274 GB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3937, allocations: 1.25 kB / 0.5274 GB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3937, allocations: 45.3 kB / 0.5274 GB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.394, allocations: 40.94 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.0004488/0.3945, allocations: 186.7 kB / 0.5277 GB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.3947, allocations: 0.7437 MB / 0.5284 GB, free: 4.688 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3948, allocations: 4 kB / 0.5284 GB, free: 4.684 MB / 346.7 MB Notification: Performance of Templates: time 0.00571/0.4005, allocations: 2.811 MB / 0.5311 GB, free: 3.246 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)