Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") [: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.004119/0.004119, allocations: 188.9 kB / 7.458 MB, free: 2.512 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.318/1.318, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001705/0.001704, allocations: 117.7 kB / 247.1 MB, free: 6.375 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.1636/0.1636, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.496e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09411, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.3732, allocations: 81.14 MB / 0.5164 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.3735, allocations: 68 kB / 0.5165 GB, free: 10.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01304/0.3866, allocations: 4.329 MB / 0.5207 GB, free: 9.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3866, allocations: 2 kB / 0.5207 GB, free: 9.504 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004383/0.3871, allocations: 464 kB / 0.5211 GB, free: 9.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3871, allocations: 10.19 kB / 0.5212 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3872, allocations: 14.03 kB / 0.5212 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3876, allocations: 218.4 kB / 0.5214 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3876, allocations: 4 kB / 0.5214 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3876, allocations: 3.625 kB / 0.5214 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.702e-05/0.3877, allocations: 16.67 kB / 0.5214 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.3878, allocations: 43.56 kB / 0.5214 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3878, allocations: 0 / 0.5214 GB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3879, allocations: 3.938 kB / 0.5214 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3879, allocations: 1 kB / 0.5214 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.3881, allocations: 190.3 kB / 0.5216 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3882, allocations: 51.39 kB / 0.5217 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.3882, allocations: 20.47 kB / 0.5217 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3883, allocations: 3.281 kB / 0.5217 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.948e-05/0.3883, allocations: 56.88 kB / 0.5218 GB, free: 8.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3884, allocations: 1.094 kB / 0.5218 GB, free: 8.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001807/0.3885, allocations: 73.41 kB / 0.5218 GB, free: 8.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.3886, allocations: 60.5 kB / 0.5219 GB, free: 8.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3888, allocations: 224.2 kB / 0.5221 GB, free: 8.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3888, allocations: 27.95 kB / 0.5221 GB, free: 8.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.3889, allocations: 96.81 kB / 0.5222 GB, free: 8.137 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3889, allocations: 14 kB / 0.5222 GB, free: 8.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.3889, allocations: 1.5 kB / 0.5222 GB, free: 8.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.389, allocations: 325.2 kB / 0.5225 GB, free: 7.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.389, allocations: 24.41 kB / 0.5226 GB, free: 7.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.3891, allocations: 45.58 kB / 0.5226 GB, free: 7.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.3891, allocations: 31.55 kB / 0.5226 GB, free: 7.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3892, allocations: 0 / 0.5226 GB, free: 7.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001838/0.3893, allocations: 117 kB / 0.5227 GB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3894, allocations: 9.406 kB / 0.5228 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.3894, allocations: 0 / 0.5228 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3894, allocations: 5.062 kB / 0.5228 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.3895, allocations: 9.531 kB / 0.5228 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3895, allocations: 1.469 kB / 0.5228 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.3895, allocations: 12.23 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3896, allocations: 6.312 kB / 0.5228 GB, free: 7.719 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 (8): * Single equations (assignments): 7 * 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.116e-05/0.3896, allocations: 113.1 kB / 0.5229 GB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3896, allocations: 13.59 kB / 0.5229 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.3898, allocations: 87.17 kB / 0.523 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3898, allocations: 1.5 kB / 0.523 GB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3898, allocations: 4 kB / 0.523 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3898, allocations: 0 / 0.523 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3899, allocations: 181.7 kB / 0.5232 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.39, allocations: 5.25 kB / 0.5232 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.39, allocations: 7.859 kB / 0.5232 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.39, allocations: 1.344 kB / 0.5232 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.39, allocations: 1.344 kB / 0.5232 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.39, allocations: 3.984 kB / 0.5232 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.39, allocations: 3.938 kB / 0.5232 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001124/0.3901, allocations: 97.72 kB / 0.5233 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.3902, allocations: 111.7 kB / 0.5234 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3903, allocations: 1.312 kB / 0.5234 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.3903, allocations: 6.609 kB / 0.5234 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.3903, allocations: 5 kB / 0.5234 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3904, allocations: 2.438 kB / 0.5234 GB, free: 7.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00014/0.3905, allocations: 183 kB / 0.5236 GB, free: 7.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.3907, allocations: 35.7 kB / 0.5236 GB, free: 7.062 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005849/0.3913, allocations: 287.3 kB / 0.5239 GB, free: 6.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3915, allocations: 105.5 kB / 0.524 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3915, allocations: 0 / 0.524 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.3916, allocations: 17.88 kB / 0.524 GB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.3918, allocations: 24.08 kB / 0.524 GB, free: 6.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.3922, allocations: 201.5 kB / 0.5242 GB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3924, allocations: 0.739 MB / 0.5249 GB, free: 5.984 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3924, allocations: 64 / 0.5249 GB, free: 5.984 MB / 346.7 MB Notification: Performance of Templates: time 0.004186/0.3966, allocations: 1.528 MB / 0.5264 GB, free: 5.23 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)