Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") [: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.003055/0.003055, allocations: 180.3 kB / 7.456 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.256/1.256, 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.001754/0.001754, allocations: 119.3 kB / 247.1 MB, free: 6.391 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.1939/0.1939, allocations: 39.94 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.247e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 54.86 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4352, allocations: 81.11 MB / 0.5164 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4356, allocations: 71.91 kB / 0.5164 GB, free: 10.34 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.01283/0.4484, allocations: 4.063 MB / 0.5204 GB, free: 9.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4484, allocations: 5.281 kB / 0.5204 GB, free: 9.66 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.000525/0.449, allocations: 457.2 kB / 0.5208 GB, free: 9.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.449, allocations: 12.28 kB / 0.5209 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.4491, allocations: 9.656 kB / 0.5209 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4494, allocations: 210.2 kB / 0.5211 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4494, allocations: 1.531 kB / 0.5211 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.4495, allocations: 2.781 kB / 0.5211 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.872e-05/0.4496, allocations: 12.44 kB / 0.5211 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/0.4496, allocations: 50.45 kB / 0.5211 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4497, allocations: 4 kB / 0.5211 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4497, allocations: 0 / 0.5211 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4497, allocations: 1.062 kB / 0.5211 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.4499, allocations: 182.4 kB / 0.5213 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.45, allocations: 52.75 kB / 0.5214 GB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.4501, allocations: 15.83 kB / 0.5214 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4501, allocations: 1.094 kB / 0.5214 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.602e-05/0.4502, allocations: 61.06 kB / 0.5214 GB, free: 8.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.4502, allocations: 0 / 0.5214 GB, free: 8.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002054/0.4504, allocations: 76.39 kB / 0.5215 GB, free: 8.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.4504, allocations: 56.47 kB / 0.5216 GB, free: 8.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4506, allocations: 182.2 kB / 0.5217 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4506, allocations: 27.55 kB / 0.5218 GB, free: 8.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.4507, allocations: 87.58 kB / 0.5218 GB, free: 8.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.4507, allocations: 21.17 kB / 0.5219 GB, free: 8.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.4507, allocations: 2.031 kB / 0.5219 GB, free: 8.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.4508, allocations: 322.7 kB / 0.5222 GB, free: 7.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.4509, allocations: 24.31 kB / 0.5222 GB, free: 7.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.4509, allocations: 39.59 kB / 0.5222 GB, free: 7.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.451, allocations: 37.03 kB / 0.5223 GB, free: 7.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.451, allocations: 0 / 0.5223 GB, free: 7.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001899/0.4512, allocations: 118.1 kB / 0.5224 GB, free: 7.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4512, allocations: 8.875 kB / 0.5224 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4512, allocations: 3.984 kB / 0.5224 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4513, allocations: 1.344 kB / 0.5224 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.4514, allocations: 10.03 kB / 0.5224 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4514, allocations: 0 / 0.5224 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.4514, allocations: 13.28 kB / 0.5224 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4515, allocations: 2.75 kB / 0.5224 GB, free: 7.891 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 6.981e-05/0.4515, allocations: 121.4 kB / 0.5225 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4516, allocations: 17.38 kB / 0.5226 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.4517, allocations: 81.27 kB / 0.5226 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.4517, allocations: 0 / 0.5226 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.4517, allocations: 0.6562 kB / 0.5226 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4518, allocations: 1.312 kB / 0.5226 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4519, allocations: 173.3 kB / 0.5228 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4519, allocations: 0 / 0.5228 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.4519, allocations: 5.281 kB / 0.5228 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4519, allocations: 0 / 0.5228 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4519, allocations: 1 kB / 0.5228 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4519, allocations: 5.125 kB / 0.5228 GB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.452, allocations: 3.938 kB / 0.5228 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001308/0.4521, allocations: 100.3 kB / 0.5229 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.4522, allocations: 96.78 kB / 0.523 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4522, allocations: 2.438 kB / 0.523 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.4522, allocations: 5.469 kB / 0.523 GB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.4523, allocations: 6.234 kB / 0.523 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.4523, allocations: 5.25 kB / 0.523 GB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001259/0.4524, allocations: 146.8 kB / 0.5232 GB, free: 7.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.4527, allocations: 31.12 kB / 0.5232 GB, free: 7.25 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.0007668/0.4535, allocations: 289 kB / 0.5235 GB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.4537, allocations: 101.4 kB / 0.5236 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4537, allocations: 5.188 kB / 0.5236 GB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.4538, allocations: 20.03 kB / 0.5236 GB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.454, allocations: 23.91 kB / 0.5236 GB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.4545, allocations: 160 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.4548, allocations: 0.7267 MB / 0.5245 GB, free: 6.18 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4548, allocations: 0 / 0.5245 GB, free: 6.18 MB / 346.7 MB Notification: Performance of Templates: time 0.005113/0.4599, allocations: 1.455 MB / 0.5259 GB, free: 5.457 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)