Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") [: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.003006/0.003006, allocations: 195.4 kB / 7.464 MB, free: 2.238 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.126/1.126, allocations: 194.2 MB / 202.1 MB, free: 8.711 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.001559/0.001559, allocations: 120.7 kB / 247.1 MB, free: 6.34 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.2486/0.2486, allocations: 39.94 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.225e-06, allocations: 0 / 392.8 MB, free: 75.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09508, allocations: 54.87 MB / 447.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4239, allocations: 81.28 MB / 0.5165 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4243, allocations: 70.03 kB / 0.5166 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.0144/0.4387, allocations: 4.085 MB / 0.5206 GB, free: 9.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4388, allocations: 4.906 kB / 0.5206 GB, free: 9.582 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.0005345/0.4393, allocations: 447.9 kB / 0.521 GB, free: 9.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4394, allocations: 17.16 kB / 0.521 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.4395, allocations: 13.06 kB / 0.5211 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4398, allocations: 209.8 kB / 0.5213 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4398, allocations: 9.266 kB / 0.5213 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.4399, allocations: 7.875 kB / 0.5213 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.989e-05/0.44, allocations: 22.73 kB / 0.5213 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.4401, allocations: 48.28 kB / 0.5213 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4401, allocations: 1.312 kB / 0.5213 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4401, allocations: 0 / 0.5213 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4401, allocations: 1.344 kB / 0.5213 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.4406, allocations: 297.2 kB / 0.5216 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.4407, allocations: 49.02 kB / 0.5217 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.4407, allocations: 21.59 kB / 0.5217 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4408, allocations: 1.312 kB / 0.5217 GB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.715e-05/0.4409, allocations: 64.59 kB / 0.5218 GB, free: 8.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.4409, allocations: 0 / 0.5218 GB, free: 8.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004814/0.4414, allocations: 137 kB / 0.5219 GB, free: 8.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.4414, allocations: 52.72 kB / 0.5219 GB, free: 8.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4416, allocations: 164.1 kB / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4416, allocations: 27.7 kB / 0.5221 GB, free: 8.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.4417, allocations: 95.94 kB / 0.5222 GB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.4417, allocations: 22.86 kB / 0.5222 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.4417, allocations: 5.281 kB / 0.5222 GB, free: 8.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.4418, allocations: 324.5 kB / 0.5225 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.4419, allocations: 31.53 kB / 0.5226 GB, free: 7.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.4419, allocations: 52.11 kB / 0.5226 GB, free: 7.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.442, allocations: 36.05 kB / 0.5227 GB, free: 7.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.442, allocations: 0 / 0.5227 GB, free: 7.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002274/0.4423, allocations: 140.9 kB / 0.5228 GB, free: 7.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4423, allocations: 9.469 kB / 0.5228 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4423, allocations: 0 / 0.5228 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4423, allocations: 1.125 kB / 0.5228 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4424, allocations: 21.83 kB / 0.5228 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4425, allocations: 1.344 kB / 0.5228 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.4425, allocations: 2.406 kB / 0.5228 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4425, allocations: 5.406 kB / 0.5228 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 7.265e-05/0.4426, allocations: 107.6 kB / 0.5229 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.4427, allocations: 12.88 kB / 0.523 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4429, allocations: 117.2 kB / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4429, allocations: 0 / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4429, allocations: 1.219 kB / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4429, allocations: 0 / 0.5231 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4434, allocations: 366.5 kB / 0.5234 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4434, allocations: 192 / 0.5234 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.4434, allocations: 15.94 kB / 0.5234 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.4434, allocations: 5.094 kB / 0.5234 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4435, allocations: 10.11 kB / 0.5234 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4435, allocations: 1.094 kB / 0.5234 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4435, allocations: 0 / 0.5234 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/0.4437, allocations: 208.1 kB / 0.5236 GB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.4437, allocations: 96.22 kB / 0.5237 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.4438, allocations: 5.312 kB / 0.5237 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.4439, allocations: 2.5 kB / 0.5237 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.4439, allocations: 10.39 kB / 0.5238 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4439, allocations: 6.625 kB / 0.5238 GB, free: 6.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000103/0.444, allocations: 138.6 kB / 0.5239 GB, free: 6.816 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.4443, allocations: 32.47 kB / 0.5239 GB, free: 6.809 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.0007382/0.4451, allocations: 330.5 kB / 0.5242 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.4453, allocations: 118.3 kB / 0.5243 GB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4454, allocations: 0 / 0.5243 GB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.549e-05/0.4454, allocations: 34.66 kB / 0.5244 GB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.4457, allocations: 17.05 kB / 0.5244 GB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.4462, allocations: 152.4 kB / 0.5245 GB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.4464, allocations: 0.7316 MB / 0.5253 GB, free: 5.719 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4465, allocations: 4.969 kB / 0.5253 GB, free: 5.715 MB / 346.7 MB Notification: Performance of Templates: time 0.0054/0.4519, allocations: 1.638 MB / 0.5269 GB, free: 4.902 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)