Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") [: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.003622/0.003622, allocations: 183.8 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.316/1.316, allocations: 194.2 MB / 202.1 MB, free: 8.648 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.001649/0.001649, allocations: 118.3 kB / 247.1 MB, free: 6.305 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.1892/0.1892, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.747e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4788, allocations: 82.07 MB / 0.5173 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4791, allocations: 71.89 kB / 0.5174 GB, free: 10.34 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. Notification: Performance of FrontEnd: time 0.0106/0.4897, allocations: 3.242 MB / 0.5205 GB, free: 9.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.4897, allocations: 7 kB / 0.5206 GB, free: 9.695 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006286/0.4904, allocations: 0.4905 MB / 0.521 GB, free: 9.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4904, allocations: 8.781 kB / 0.521 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.4905, allocations: 15.03 kB / 0.5211 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.4909, allocations: 223.6 kB / 0.5213 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4909, allocations: 3.875 kB / 0.5213 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.4909, allocations: 5.938 kB / 0.5213 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/0.4911, allocations: 40.25 kB / 0.5213 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4912, allocations: 70.75 kB / 0.5214 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4912, allocations: 0.75 kB / 0.5214 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4913, allocations: 0.5625 kB / 0.5214 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4913, allocations: 2.25 kB / 0.5214 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.4919, allocations: 341 kB / 0.5217 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.4923, allocations: 77.16 kB / 0.5218 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.4924, allocations: 37.19 kB / 0.5218 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4924, allocations: 1.281 kB / 0.5218 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.4925, allocations: 78.8 kB / 0.5219 GB, free: 8.512 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.4925, allocations: 0 / 0.5219 GB, free: 8.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002535/0.4928, allocations: 98.05 kB / 0.522 GB, free: 8.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.4928, allocations: 52.62 kB / 0.522 GB, free: 8.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.493, allocations: 158.9 kB / 0.5222 GB, free: 8.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.493, allocations: 32.11 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.4931, allocations: 96.09 kB / 0.5223 GB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4931, allocations: 26.8 kB / 0.5223 GB, free: 8.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4931, allocations: 1.031 kB / 0.5223 GB, free: 8.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4933, allocations: 328.5 kB / 0.5227 GB, free: 7.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.4933, allocations: 32.41 kB / 0.5227 GB, free: 7.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.4934, allocations: 59.78 kB / 0.5227 GB, free: 7.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.4935, allocations: 45.52 kB / 0.5228 GB, free: 7.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4935, allocations: 0 / 0.5228 GB, free: 7.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002877/0.4938, allocations: 140.7 kB / 0.5229 GB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4939, allocations: 8.938 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4939, allocations: 1.469 kB / 0.5229 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4939, allocations: 5.141 kB / 0.5229 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.494, allocations: 17.72 kB / 0.523 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4941, allocations: 1.375 kB / 0.523 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4942, allocations: 23.92 kB / 0.523 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.4942, allocations: 4.906 kB / 0.523 GB, free: 7.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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 0.0001082/0.4943, allocations: 116.4 kB / 0.5231 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.4944, allocations: 13.22 kB / 0.5231 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.4946, allocations: 103.1 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4946, allocations: 1.469 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4946, allocations: 4.281 kB / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4946, allocations: 0 / 0.5232 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.4948, allocations: 186.7 kB / 0.5234 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4948, allocations: 5.406 kB / 0.5234 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.4949, allocations: 11.75 kB / 0.5234 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4949, allocations: 0 / 0.5234 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.495, allocations: 6.234 kB / 0.5234 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.495, allocations: 0 / 0.5234 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.495, allocations: 1.469 kB / 0.5234 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000289/0.4953, allocations: 163.2 kB / 0.5236 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.4954, allocations: 94.91 kB / 0.5237 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.4954, allocations: 4.562 kB / 0.5237 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.4955, allocations: 10.39 kB / 0.5237 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.4955, allocations: 6.328 kB / 0.5237 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4956, allocations: 2.844 kB / 0.5237 GB, free: 7.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.976e-05/0.4957, allocations: 123.8 kB / 0.5238 GB, free: 7.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.4959, allocations: 45.33 kB / 0.5238 GB, free: 7.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007787/0.4967, allocations: 297.3 kB / 0.5241 GB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.497, allocations: 122.2 kB / 0.5242 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.497, allocations: 0 / 0.5242 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.4971, allocations: 29.31 kB / 0.5243 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4974, allocations: 21.73 kB / 0.5243 GB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.4979, allocations: 180.9 kB / 0.5245 GB, free: 6.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.4981, allocations: 0.7285 MB / 0.5252 GB, free: 5.969 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4981, allocations: 3.938 kB / 0.5252 GB, free: 5.965 MB / 346.7 MB Notification: Performance of Templates: time 0.00523/0.5033, allocations: 1.748 MB / 0.5269 GB, free: 5.102 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)