Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") [: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.003621/0.003621, allocations: 186.5 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.392/1.392, allocations: 194.2 MB / 202.1 MB, free: 8.633 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.001693/0.001693, allocations: 118 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.1642/0.1642, allocations: 39.94 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.136e-06/8.176e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09707, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.3971, allocations: 81.31 MB / 0.5166 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3974, allocations: 69.34 kB / 0.5166 GB, free: 10.28 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.01313/0.4105, allocations: 4.378 MB / 0.5209 GB, free: 9.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4105, allocations: 5.281 kB / 0.5209 GB, free: 9.445 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.0003828/0.4109, allocations: 463.3 kB / 0.5214 GB, free: 8.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.411, allocations: 9 kB / 0.5214 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.411, allocations: 13.81 kB / 0.5214 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.4113, allocations: 215 kB / 0.5216 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4113, allocations: 5.219 kB / 0.5216 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.4114, allocations: 9.094 kB / 0.5216 GB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.644e-05/0.4114, allocations: 27.39 kB / 0.5216 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.799e-05/0.4115, allocations: 50.75 kB / 0.5217 GB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4116, allocations: 3.906 kB / 0.5217 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4116, allocations: 7.969 kB / 0.5217 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4116, allocations: 1.312 kB / 0.5217 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.4119, allocations: 293.7 kB / 0.522 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.412, allocations: 58 kB / 0.522 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.4121, allocations: 17.64 kB / 0.522 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4121, allocations: 0 / 0.522 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.056e-05/0.4122, allocations: 61.89 kB / 0.5221 GB, free: 8.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4122, allocations: 0 / 0.5221 GB, free: 8.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004013/0.4126, allocations: 148 kB / 0.5222 GB, free: 8.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.4126, allocations: 52.5 kB / 0.5223 GB, free: 8.188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.4128, allocations: 196.3 kB / 0.5225 GB, free: 8.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4128, allocations: 27.02 kB / 0.5225 GB, free: 8.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.4128, allocations: 93.03 kB / 0.5226 GB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.4129, allocations: 27.23 kB / 0.5226 GB, free: 7.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.4129, allocations: 1.281 kB / 0.5226 GB, free: 7.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.4129, allocations: 326.6 kB / 0.5229 GB, free: 7.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.413, allocations: 34.53 kB / 0.523 GB, free: 7.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.4131, allocations: 43.81 kB / 0.523 GB, free: 7.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.4131, allocations: 49.56 kB / 0.5231 GB, free: 7.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4131, allocations: 0 / 0.5231 GB, free: 7.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001993/0.4133, allocations: 133.4 kB / 0.5232 GB, free: 7.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.4134, allocations: 4.812 kB / 0.5232 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4134, allocations: 1.344 kB / 0.5232 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4134, allocations: 1.312 kB / 0.5232 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.4135, allocations: 16.47 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4135, allocations: 1 kB / 0.5232 GB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.4136, allocations: 11.89 kB / 0.5232 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.4136, allocations: 3.938 kB / 0.5232 GB, free: 7.531 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 5.276e-05/0.4136, allocations: 109.4 kB / 0.5233 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.4137, allocations: 13.03 kB / 0.5233 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.4139, allocations: 109.7 kB / 0.5234 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4139, allocations: 2.344 kB / 0.5234 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4139, allocations: 7.875 kB / 0.5234 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4139, allocations: 0 / 0.5234 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.4142, allocations: 381.4 kB / 0.5238 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4142, allocations: 0 / 0.5238 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.4143, allocations: 13.81 kB / 0.5238 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4143, allocations: 1 kB / 0.5238 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4143, allocations: 1.344 kB / 0.5238 GB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4143, allocations: 5.156 kB / 0.5238 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4143, allocations: 4.969 kB / 0.5238 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000146/0.4144, allocations: 211.9 kB / 0.524 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.4145, allocations: 97.03 kB / 0.5241 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4145, allocations: 10.33 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.4146, allocations: 1.469 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4147, allocations: 4.375 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4147, allocations: 9.891 kB / 0.5242 GB, free: 6.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001042/0.4148, allocations: 159.4 kB / 0.5243 GB, free: 6.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.4151, allocations: 45.44 kB / 0.5244 GB, free: 6.637 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.0006095/0.4157, allocations: 322.8 kB / 0.5247 GB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.4159, allocations: 114.5 kB / 0.5248 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.4159, allocations: 0 / 0.5248 GB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.4159, allocations: 33.95 kB / 0.5248 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.4162, allocations: 22.48 kB / 0.5248 GB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.4165, allocations: 184.5 kB / 0.525 GB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4167, allocations: 0.7321 MB / 0.5257 GB, free: 5.543 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4167, allocations: 0 / 0.5257 GB, free: 5.543 MB / 346.7 MB Notification: Performance of Templates: time 0.004101/0.4208, allocations: 1.725 MB / 0.5274 GB, free: 4.684 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)