Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") [: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.003431/0.003431, allocations: 182.9 kB / 7.456 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.284/1.284, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001823/0.001823, allocations: 123.8 kB / 247.1 MB, free: 6.41 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.1804/0.1804, allocations: 39.94 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.087e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/0.4093, allocations: 81.33 MB / 0.5166 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4096, allocations: 74.34 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: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.0123/0.4219, allocations: 4.242 MB / 0.5208 GB, free: 9.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4219, allocations: 1.031 kB / 0.5208 GB, free: 9.551 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.0004344/0.4223, allocations: 462.5 kB / 0.5212 GB, free: 9.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4224, allocations: 8.188 kB / 0.5212 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.4225, allocations: 12.91 kB / 0.5213 GB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.4228, allocations: 214.5 kB / 0.5215 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4228, allocations: 1.125 kB / 0.5215 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.4228, allocations: 12.59 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.743e-05/0.4229, allocations: 14.53 kB / 0.5215 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.423, allocations: 56.77 kB / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4231, allocations: 1.031 kB / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4231, allocations: 0 / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4231, allocations: 1.094 kB / 0.5215 GB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.4234, allocations: 290 kB / 0.5218 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4236, allocations: 53.09 kB / 0.5219 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.4236, allocations: 20.89 kB / 0.5219 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4236, allocations: 1.25 kB / 0.5219 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.452e-05/0.4237, allocations: 68.23 kB / 0.522 GB, free: 8.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.4237, allocations: 0 / 0.522 GB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000426/0.4242, allocations: 144.7 kB / 0.5221 GB, free: 8.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.4242, allocations: 53.38 kB / 0.5221 GB, free: 8.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4244, allocations: 177.6 kB / 0.5223 GB, free: 8.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.4244, allocations: 27.11 kB / 0.5223 GB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.4244, allocations: 88.8 kB / 0.5224 GB, free: 8.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.4245, allocations: 30.58 kB / 0.5225 GB, free: 8.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4245, allocations: 0 / 0.5225 GB, free: 8.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.4245, allocations: 326.8 kB / 0.5228 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.4246, allocations: 30.38 kB / 0.5228 GB, free: 7.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.4247, allocations: 54.7 kB / 0.5228 GB, free: 7.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.4248, allocations: 38.7 kB / 0.5229 GB, free: 7.711 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4248, allocations: 1.438 kB / 0.5229 GB, free: 7.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002137/0.425, allocations: 134.9 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.425, allocations: 5.281 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.425, allocations: 0 / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.425, allocations: 1.594 kB / 0.523 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.4252, allocations: 20.61 kB / 0.523 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4252, allocations: 10.19 kB / 0.5231 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.4252, allocations: 6.25 kB / 0.5231 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4253, allocations: 9.422 kB / 0.5231 GB, free: 7.641 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.138e-05/0.4253, allocations: 104.9 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4254, allocations: 14.47 kB / 0.5232 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.4256, allocations: 110.3 kB / 0.5233 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4256, allocations: 1.188 kB / 0.5233 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4256, allocations: 0 / 0.5233 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4256, allocations: 1.156 kB / 0.5233 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.426, allocations: 373.5 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.426, allocations: 1.062 kB / 0.5236 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.426, allocations: 12.89 kB / 0.5237 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.426, allocations: 1.375 kB / 0.5237 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4261, allocations: 1.281 kB / 0.5237 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4261, allocations: 1.406 kB / 0.5237 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4261, allocations: 0 / 0.5237 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002081/0.4263, allocations: 211.7 kB / 0.5239 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.4264, allocations: 100.9 kB / 0.524 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.4264, allocations: 1.375 kB / 0.524 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.4265, allocations: 6.922 kB / 0.524 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.4266, allocations: 6.688 kB / 0.524 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4266, allocations: 3.312 kB / 0.524 GB, free: 6.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001268/0.4267, allocations: 137.1 kB / 0.5241 GB, free: 6.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.4271, allocations: 44.52 kB / 0.5242 GB, free: 6.773 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.0007428/0.4278, allocations: 327.7 kB / 0.5245 GB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.428, allocations: 118.2 kB / 0.5246 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.428, allocations: 0 / 0.5246 GB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.4281, allocations: 30.81 kB / 0.5246 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.000268/0.4284, allocations: 23.42 kB / 0.5246 GB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.4288, allocations: 164.9 kB / 0.5248 GB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.429, allocations: 0.7321 MB / 0.5255 GB, free: 5.676 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.429, allocations: 0 / 0.5255 GB, free: 5.676 MB / 346.7 MB Notification: Performance of Templates: time 0.004375/0.4334, allocations: 1.686 MB / 0.5271 GB, free: 4.836 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)