Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") [: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.002624/0.002624, allocations: 183.3 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.379/1.379, allocations: 194.2 MB / 202.1 MB, free: 8.746 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.001794/0.001794, allocations: 116.3 kB / 247.1 MB, free: 6.227 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.1732/0.1732, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.747e-06/8.776e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09397, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3739, allocations: 81.32 MB / 0.5166 GB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.3742, allocations: 71.06 kB / 0.5166 GB, free: 10.23 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.0121/0.3863, allocations: 4.218 MB / 0.5208 GB, free: 9.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3864, allocations: 1.125 kB / 0.5208 GB, free: 9.465 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.0004182/0.3868, allocations: 467.7 kB / 0.5212 GB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3868, allocations: 9 kB / 0.5212 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.3869, allocations: 8.406 kB / 0.5212 GB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3872, allocations: 214.4 kB / 0.5214 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3872, allocations: 0 / 0.5214 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3872, allocations: 8.484 kB / 0.5214 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.674e-05/0.3873, allocations: 19.55 kB / 0.5215 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.3874, allocations: 55.92 kB / 0.5215 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3874, allocations: 5.219 kB / 0.5215 GB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3874, allocations: 4 kB / 0.5215 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3874, allocations: 1.281 kB / 0.5215 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.3878, allocations: 287.5 kB / 0.5218 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.3879, allocations: 49.84 kB / 0.5218 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.3879, allocations: 20.02 kB / 0.5219 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3879, allocations: 5.312 kB / 0.5219 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/0.388, allocations: 71.55 kB / 0.5219 GB, free: 8.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.388, allocations: 0 / 0.5219 GB, free: 8.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003626/0.3884, allocations: 138.3 kB / 0.5221 GB, free: 8.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.3884, allocations: 52.5 kB / 0.5221 GB, free: 8.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3886, allocations: 175.8 kB / 0.5223 GB, free: 8.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3886, allocations: 28.45 kB / 0.5223 GB, free: 8.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.3886, allocations: 91.83 kB / 0.5224 GB, free: 7.992 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3886, allocations: 27.3 kB / 0.5224 GB, free: 7.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.3887, allocations: 1.312 kB / 0.5224 GB, free: 7.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.3887, allocations: 330.1 kB / 0.5227 GB, free: 7.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.3888, allocations: 34.66 kB / 0.5228 GB, free: 7.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.3888, allocations: 52.02 kB / 0.5228 GB, free: 7.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.3889, allocations: 34.45 kB / 0.5229 GB, free: 7.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3889, allocations: 5.344 kB / 0.5229 GB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001984/0.3891, allocations: 131.9 kB / 0.523 GB, free: 7.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3891, allocations: 4.031 kB / 0.523 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3892, allocations: 1.344 kB / 0.523 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3892, allocations: 5.312 kB / 0.523 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3893, allocations: 17.3 kB / 0.523 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3893, allocations: 0 / 0.523 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.3894, allocations: 8.062 kB / 0.523 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3894, allocations: 7.938 kB / 0.523 GB, free: 7.559 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 5.456e-05/0.3894, allocations: 108.6 kB / 0.5231 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3895, allocations: 13.47 kB / 0.5231 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.3897, allocations: 111.6 kB / 0.5233 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3897, allocations: 1.25 kB / 0.5233 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3897, allocations: 1.562 kB / 0.5233 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3897, allocations: 0 / 0.5233 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.39, allocations: 370.8 kB / 0.5236 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.39, allocations: 4.031 kB / 0.5236 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.3901, allocations: 17.67 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3901, allocations: 1.25 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3901, allocations: 1.375 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3901, allocations: 0.875 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3901, allocations: 0 / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001545/0.3903, allocations: 212.9 kB / 0.5238 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3903, allocations: 100.1 kB / 0.5239 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3904, allocations: 1.281 kB / 0.5239 GB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.3905, allocations: 6.484 kB / 0.5239 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.3905, allocations: 4.125 kB / 0.5239 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3905, allocations: 2.469 kB / 0.5239 GB, free: 6.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.193e-05/0.3906, allocations: 139.7 kB / 0.5241 GB, free: 6.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.3909, allocations: 40.39 kB / 0.5241 GB, free: 6.688 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.0005912/0.3915, allocations: 329.6 kB / 0.5244 GB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3917, allocations: 116.3 kB / 0.5245 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3917, allocations: 0 / 0.5245 GB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.3917, allocations: 30.69 kB / 0.5246 GB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.392, allocations: 19.7 kB / 0.5246 GB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.3923, allocations: 178.2 kB / 0.5248 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3925, allocations: 0.7278 MB / 0.5255 GB, free: 5.594 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3925, allocations: 1.5 kB / 0.5255 GB, free: 5.594 MB / 346.7 MB Notification: Performance of Templates: time 0.003747/0.3962, allocations: 1.677 MB / 0.5271 GB, free: 4.754 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)