Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001127/0.001126, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.798/1.798, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001791/0.001791, allocations: 114.6 kB / 252.6 MB, free: 4.816 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.2215/0.2215, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.936e-05, allocations: 11.98 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.5206, allocations: 82.06 MB / 0.5246 GB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5209, allocations: 66.41 kB / 0.5247 GB, free: 9.004 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 - DAE generated: time 0.01172/0.5326, allocations: 4.819 MB / 0.5294 GB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5326, allocations: 0 / 0.5294 GB, free: 5.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.5326, allocations: 7.938 kB / 0.5294 GB, free: 5.164 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.0004548/0.5331, allocations: 470.8 kB / 0.5299 GB, free: 4.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5332, allocations: 12.03 kB / 0.5299 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.5332, allocations: 11.81 kB / 0.5299 GB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.5335, allocations: 218.1 kB / 0.5301 GB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.5335, allocations: 4 kB / 0.5301 GB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.5336, allocations: 8 kB / 0.5301 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.5337, allocations: 55.73 kB / 0.5301 GB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5337, allocations: 0 / 0.5301 GB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5337, allocations: 3.953 kB / 0.5302 GB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.5337, allocations: 4 kB / 0.5302 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.5338, allocations: 19.55 kB / 0.5302 GB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.5342, allocations: 325.6 kB / 0.5305 GB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.5343, allocations: 58.38 kB / 0.5305 GB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.5343, allocations: 19.73 kB / 0.5306 GB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.5344, allocations: 4 kB / 0.5306 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.5345, allocations: 70.09 kB / 0.5306 GB, free: 3.816 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5345, allocations: 3.938 kB / 0.5306 GB, free: 3.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.535, allocations: 169 kB / 0.5308 GB, free: 3.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.535, allocations: 63.28 kB / 0.5309 GB, free: 3.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5352, allocations: 219.2 kB / 0.5311 GB, free: 3.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5352, allocations: 29.7 kB / 0.5311 GB, free: 3.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.5352, allocations: 109.8 kB / 0.5312 GB, free: 3.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.5353, allocations: 26.77 kB / 0.5312 GB, free: 3.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.5353, allocations: 0 / 0.5312 GB, free: 3.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.5354, allocations: 326.1 kB / 0.5315 GB, free: 2.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.5354, allocations: 33.5 kB / 0.5316 GB, free: 2.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.5355, allocations: 51.84 kB / 0.5316 GB, free: 2.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.5356, allocations: 78.73 kB / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5356, allocations: 0 / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001992/0.5358, allocations: 177.9 kB / 0.5319 GB, free: 2.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.5358, allocations: 37.69 kB / 0.5319 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5358, allocations: 0 / 0.5319 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5358, allocations: 0 / 0.5319 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.5359, allocations: 16 kB / 0.5319 GB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.536, allocations: 8.016 kB / 0.5319 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.536, allocations: 6.75 kB / 0.5319 GB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.536, allocations: 4 kB / 0.5319 GB, free: 2.57 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.475e-05/0.5361, allocations: 115.9 kB / 0.532 GB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.5361, allocations: 11.86 kB / 0.532 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.5363, allocations: 126.1 kB / 0.5322 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5363, allocations: 0 / 0.5322 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5364, allocations: 0 / 0.5322 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5364, allocations: 3.984 kB / 0.5322 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.5367, allocations: 432.8 kB / 0.5326 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5367, allocations: 0 / 0.5326 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.5368, allocations: 12 kB / 0.5326 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5368, allocations: 0 / 0.5326 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.5368, allocations: 3.984 kB / 0.5326 GB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5368, allocations: 4 kB / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5368, allocations: 0 / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.537, allocations: 235.6 kB / 0.5328 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.5371, allocations: 104.1 kB / 0.5329 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.5371, allocations: 3.875 kB / 0.5329 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.5372, allocations: 4 kB / 0.5329 GB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5372, allocations: 7.984 kB / 0.5329 GB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.5372, allocations: 4 kB / 0.5329 GB, free: 1.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.5373, allocations: 176.2 kB / 0.5331 GB, free: 1.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5373, allocations: 0 / 0.5331 GB, free: 1.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.5376, allocations: 43.44 kB / 0.5332 GB, free: 1.328 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.000892/0.5385, allocations: 389.5 kB / 0.5335 GB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.5387, allocations: 158.5 kB / 0.5337 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.5388, allocations: 3.812 kB / 0.5337 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.5388, allocations: 39.34 kB / 0.5337 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.5391, allocations: 34.5 kB / 0.5338 GB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.5395, allocations: 207.4 kB / 0.534 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.5397, allocations: 0.7195 MB / 0.5347 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.5398, allocations: 20.48 kB / 0.5347 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.5398, allocations: 15.44 kB / 0.5347 GB, free: 15.84 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5398, allocations: 0 / 0.5347 GB, free: 15.84 MB / 362.7 MB Notification: Performance of Templates: time 0.004636/0.5445, allocations: 1.839 MB / 0.5365 GB, free: 14.03 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)