Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") [: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.005161/0.005161, allocations: 183.4 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.204/1.204, 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.001633/0.001633, allocations: 113 kB / 247.1 MB, free: 6.367 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.1747/0.1747, allocations: 39.93 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 4 kB / 392.8 MB, free: 75.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 54.86 MB / 447.6 MB, free: 20.94 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.4165, allocations: 81.17 MB / 0.5164 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4168, allocations: 70.28 kB / 0.5165 GB, free: 10.3 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.01321/0.43, allocations: 4.321 MB / 0.5207 GB, free: 9.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.4301, allocations: 6.25 kB / 0.5207 GB, free: 9.473 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.0005606/0.4307, allocations: 465.5 kB / 0.5212 GB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4307, allocations: 9.281 kB / 0.5212 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.4308, allocations: 14.47 kB / 0.5212 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.4312, allocations: 218.6 kB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4312, allocations: 1.406 kB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4312, allocations: 2.969 kB / 0.5214 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.592e-05/0.4313, allocations: 20.31 kB / 0.5214 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.4314, allocations: 48.11 kB / 0.5215 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4315, allocations: 0 / 0.5215 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4315, allocations: 0 / 0.5215 GB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4315, allocations: 5.062 kB / 0.5215 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.4318, allocations: 189.4 kB / 0.5216 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4319, allocations: 46.22 kB / 0.5217 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.432, allocations: 23.36 kB / 0.5217 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.432, allocations: 1.094 kB / 0.5217 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.107e-05/0.4321, allocations: 61.17 kB / 0.5218 GB, free: 8.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.4321, allocations: 0 / 0.5218 GB, free: 8.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002409/0.4324, allocations: 77.83 kB / 0.5218 GB, free: 8.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4324, allocations: 52.72 kB / 0.5219 GB, free: 8.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.4327, allocations: 221.7 kB / 0.5221 GB, free: 8.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.4328, allocations: 32.05 kB / 0.5221 GB, free: 8.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.4328, allocations: 95.97 kB / 0.5222 GB, free: 8.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.4328, allocations: 18.55 kB / 0.5222 GB, free: 8.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.4328, allocations: 1.062 kB / 0.5222 GB, free: 8.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.4329, allocations: 326.8 kB / 0.5226 GB, free: 7.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.433, allocations: 24.62 kB / 0.5226 GB, free: 7.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.4331, allocations: 45.45 kB / 0.5226 GB, free: 7.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.4331, allocations: 33.14 kB / 0.5227 GB, free: 7.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4331, allocations: 0 / 0.5227 GB, free: 7.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002103/0.4334, allocations: 119.6 kB / 0.5228 GB, free: 7.695 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4334, allocations: 5.875 kB / 0.5228 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4334, allocations: 3.984 kB / 0.5228 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4334, allocations: 5.656 kB / 0.5228 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.4335, allocations: 8.062 kB / 0.5228 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4335, allocations: 1.875 kB / 0.5228 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.4336, allocations: 7.75 kB / 0.5228 GB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4336, allocations: 8.188 kB / 0.5228 GB, free: 7.68 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 7.046e-05/0.4337, allocations: 112.6 kB / 0.5229 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.4337, allocations: 13.34 kB / 0.5229 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.4339, allocations: 89.89 kB / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4339, allocations: 1.594 kB / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4339, allocations: 0 / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4339, allocations: 0 / 0.523 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.4341, allocations: 177.9 kB / 0.5232 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.4341, allocations: 4.875 kB / 0.5232 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.4341, allocations: 8.281 kB / 0.5232 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4341, allocations: 1.438 kB / 0.5232 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4342, allocations: 0 / 0.5232 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4342, allocations: 1.531 kB / 0.5232 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4342, allocations: 0 / 0.5232 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000131/0.4343, allocations: 109.4 kB / 0.5233 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.4344, allocations: 106.9 kB / 0.5234 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.4344, allocations: 1.406 kB / 0.5234 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.4345, allocations: 6.5 kB / 0.5234 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4345, allocations: 5.266 kB / 0.5234 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4345, allocations: 2.281 kB / 0.5234 GB, free: 7.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001555/0.4347, allocations: 186.9 kB / 0.5236 GB, free: 7.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.4349, allocations: 31.41 kB / 0.5236 GB, free: 7.031 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.0006331/0.4356, allocations: 285.8 kB / 0.5239 GB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.4358, allocations: 102.9 kB / 0.524 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4358, allocations: 0 / 0.524 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.4358, allocations: 16.56 kB / 0.524 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4361, allocations: 38.11 kB / 0.5241 GB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.4366, allocations: 192.4 kB / 0.5242 GB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4368, allocations: 0.7428 MB / 0.525 GB, free: 5.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4368, allocations: 0 / 0.525 GB, free: 5.945 MB / 346.7 MB Notification: Performance of Templates: time 0.004433/0.4413, allocations: 1.525 MB / 0.5265 GB, free: 5.188 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)