Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55") [: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.003706/0.003706, allocations: 185 kB / 7.457 MB, free: 2.234 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.311/1.311, 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.001687/0.001686, allocations: 123.9 kB / 247.1 MB, free: 6.402 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.179/0.179, allocations: 39.95 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/9.929e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.4159, allocations: 81.57 MB / 0.5168 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.4162, allocations: 74.36 kB / 0.5169 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.0184/0.4346, allocations: 6.6 MB / 0.5233 GB, free: 8.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4346, allocations: 2.031 kB / 0.5233 GB, free: 8.918 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.0006051/0.4352, allocations: 473.8 kB / 0.5238 GB, free: 8.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4353, allocations: 9.719 kB / 0.5238 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.4354, allocations: 12.31 kB / 0.5238 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.4357, allocations: 212.3 kB / 0.524 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4357, allocations: 1.219 kB / 0.524 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.4358, allocations: 3.469 kB / 0.524 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.527e-05/0.4359, allocations: 18.2 kB / 0.524 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.436, allocations: 68.95 kB / 0.5241 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.436, allocations: 0 / 0.5241 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.436, allocations: 0 / 0.5241 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.436, allocations: 1.375 kB / 0.5241 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.4364, allocations: 278 kB / 0.5244 GB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.4365, allocations: 53.25 kB / 0.5244 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.4365, allocations: 21.14 kB / 0.5244 GB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.4366, allocations: 1.156 kB / 0.5244 GB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/0.4367, allocations: 66.97 kB / 0.5245 GB, free: 7.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.4367, allocations: 0 / 0.5245 GB, free: 7.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004574/0.4371, allocations: 137.3 kB / 0.5246 GB, free: 7.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.4372, allocations: 82.41 kB / 0.5247 GB, free: 7.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4373, allocations: 130.7 kB / 0.5248 GB, free: 7.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.4373, allocations: 27.11 kB / 0.5249 GB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.4374, allocations: 94.19 kB / 0.525 GB, free: 7.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4374, allocations: 23.88 kB / 0.525 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4374, allocations: 0 / 0.525 GB, free: 7.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.4375, allocations: 324.7 kB / 0.5253 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.4375, allocations: 28.75 kB / 0.5253 GB, free: 7.074 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.4376, allocations: 50.69 kB / 0.5254 GB, free: 7.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.4377, allocations: 31.86 kB / 0.5254 GB, free: 7.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4377, allocations: 0 / 0.5254 GB, free: 7.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000188/0.4379, allocations: 122.2 kB / 0.5255 GB, free: 6.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4379, allocations: 12.34 kB / 0.5255 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4379, allocations: 1.719 kB / 0.5255 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4379, allocations: 0 / 0.5255 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.438, allocations: 13.72 kB / 0.5255 GB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.438, allocations: 5.25 kB / 0.5255 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.4381, allocations: 10.52 kB / 0.5256 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4381, allocations: 7.344 kB / 0.5256 GB, free: 6.973 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 7.262e-05/0.4382, allocations: 104.9 kB / 0.5257 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.4382, allocations: 7.844 kB / 0.5257 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.4385, allocations: 112.2 kB / 0.5258 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4385, allocations: 1.344 kB / 0.5258 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.4385, allocations: 5.375 kB / 0.5258 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4385, allocations: 3.906 kB / 0.5258 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.4389, allocations: 352.9 kB / 0.5261 GB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4389, allocations: 0 / 0.5261 GB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.4389, allocations: 20.39 kB / 0.5261 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4389, allocations: 5.531 kB / 0.5262 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.439, allocations: 1.344 kB / 0.5262 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.439, allocations: 5.219 kB / 0.5262 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.439, allocations: 1.312 kB / 0.5262 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001986/0.4392, allocations: 204.5 kB / 0.5264 GB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.4393, allocations: 96.64 kB / 0.5264 GB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.4393, allocations: 6.406 kB / 0.5265 GB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.4394, allocations: 6.609 kB / 0.5265 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4394, allocations: 6.062 kB / 0.5265 GB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4394, allocations: 3.688 kB / 0.5265 GB, free: 6.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.059e-05/0.4395, allocations: 110.6 kB / 0.5266 GB, free: 6.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003479/0.4399, allocations: 47.08 kB / 0.5266 GB, free: 6.098 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.0008494/0.4408, allocations: 395 kB / 0.527 GB, free: 5.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.441, allocations: 95.27 kB / 0.5271 GB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.441, allocations: 64 / 0.5271 GB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.441, allocations: 32.75 kB / 0.5271 GB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4413, allocations: 20.33 kB / 0.5271 GB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.4417, allocations: 135 kB / 0.5273 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.442, allocations: 0.7213 MB / 0.528 GB, free: 4.977 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.442, allocations: 5.438 kB / 0.528 GB, free: 4.973 MB / 346.7 MB Notification: Performance of Templates: time 0.005393/0.4474, allocations: 1.903 MB / 0.5298 GB, free: 4.008 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)