Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26") [: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.003878/0.003878, allocations: 182.3 kB / 7.458 MB, free: 2.5 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.361/1.361, 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.001703/0.001703, allocations: 115.4 kB / 247.1 MB, free: 6.363 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.1637/0.1637, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.648e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09829, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/0.378, allocations: 81.31 MB / 0.5166 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3783, allocations: 70.3 kB / 0.5166 GB, free: 10.38 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.01316/0.3915, allocations: 4.22 MB / 0.5208 GB, free: 9.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3915, allocations: 1.281 kB / 0.5208 GB, free: 9.605 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.00062/0.3921, allocations: 465.5 kB / 0.5212 GB, free: 9.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.3922, allocations: 9.562 kB / 0.5212 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.3923, allocations: 8.844 kB / 0.5212 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3927, allocations: 214.5 kB / 0.5214 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.3927, allocations: 2 kB / 0.5214 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.3927, allocations: 7.281 kB / 0.5214 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/0.3929, allocations: 22.73 kB / 0.5215 GB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.393, allocations: 49.12 kB / 0.5215 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.393, allocations: 4.562 kB / 0.5215 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.393, allocations: 0 / 0.5215 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3931, allocations: 1.031 kB / 0.5215 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3936, allocations: 298.2 kB / 0.5218 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3937, allocations: 54.03 kB / 0.5219 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3938, allocations: 17.3 kB / 0.5219 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3938, allocations: 7.938 kB / 0.5219 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.3939, allocations: 62.19 kB / 0.5219 GB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.3939, allocations: 1.031 kB / 0.5219 GB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005782/0.3945, allocations: 142.8 kB / 0.5221 GB, free: 8.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.3945, allocations: 51.41 kB / 0.5221 GB, free: 8.363 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.3948, allocations: 175.5 kB / 0.5223 GB, free: 8.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3948, allocations: 27.8 kB / 0.5223 GB, free: 8.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3949, allocations: 96.25 kB / 0.5224 GB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.395, allocations: 23.38 kB / 0.5224 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.395, allocations: 2 kB / 0.5224 GB, free: 8.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3951, allocations: 325.4 kB / 0.5227 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.3952, allocations: 36.3 kB / 0.5228 GB, free: 7.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3953, allocations: 50 kB / 0.5228 GB, free: 7.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.962e-05/0.3954, allocations: 35.98 kB / 0.5229 GB, free: 7.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3954, allocations: 4.844 kB / 0.5229 GB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002425/0.3956, allocations: 131.1 kB / 0.523 GB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3957, allocations: 8.359 kB / 0.523 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3957, allocations: 1.469 kB / 0.523 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3957, allocations: 0 / 0.523 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3958, allocations: 16.84 kB / 0.523 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3958, allocations: 1.406 kB / 0.523 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.3959, allocations: 7.875 kB / 0.523 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.3959, allocations: 8.547 kB / 0.523 GB, free: 7.699 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 8.47e-05/0.396, allocations: 111.5 kB / 0.5231 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3961, allocations: 12.62 kB / 0.5231 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3963, allocations: 102.2 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3963, allocations: 1.312 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3963, allocations: 5.375 kB / 0.5233 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3963, allocations: 0 / 0.5233 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.3967, allocations: 372.8 kB / 0.5236 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3967, allocations: 5.156 kB / 0.5236 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3968, allocations: 12.38 kB / 0.5236 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3968, allocations: 1.344 kB / 0.5236 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3968, allocations: 5.797 kB / 0.5236 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3968, allocations: 1.406 kB / 0.5236 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3968, allocations: 192 / 0.5236 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.397, allocations: 215.1 kB / 0.5238 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.3971, allocations: 101.1 kB / 0.5239 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.3971, allocations: 1.906 kB / 0.5239 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.3972, allocations: 1.875 kB / 0.5239 GB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.3973, allocations: 7.859 kB / 0.5239 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3973, allocations: 5.594 kB / 0.524 GB, free: 6.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001061/0.3974, allocations: 136 kB / 0.5241 GB, free: 6.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002881/0.3977, allocations: 40.09 kB / 0.5241 GB, free: 6.828 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.0008677/0.3986, allocations: 327.9 kB / 0.5244 GB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3988, allocations: 117.5 kB / 0.5245 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3989, allocations: 0 / 0.5245 GB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.3989, allocations: 33.38 kB / 0.5246 GB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3992, allocations: 20.02 kB / 0.5246 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.3997, allocations: 167 kB / 0.5248 GB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4, allocations: 0.7284 MB / 0.5255 GB, free: 5.734 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4, allocations: 0.9062 kB / 0.5255 GB, free: 5.734 MB / 346.7 MB Notification: Performance of Templates: time 0.00486/0.4049, allocations: 1.682 MB / 0.5271 GB, free: 4.895 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)