Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0135/0.0135, allocations: 176 kB / 15.12 MB, free: 5.98 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.827/1.827, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.00173/0.00173, allocations: 124.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2112/0.2112, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 21.81 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 54.88 MB / 461 MB, free: 3.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.2252, allocations: 82.14 MB / 0.5304 GB, free: 1.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.2255, allocations: 79.95 kB / 0.5305 GB, free: 1.055 MB / 378.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.2399/0.4654, allocations: 4.643 MB / 0.5351 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4655, allocations: 4 kB / 0.5351 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4655, allocations: 1.188 kB / 0.5351 GB, free: 82.95 MB / 378.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.0004773/0.466, allocations: 485.5 kB / 0.5355 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.466, allocations: 9.219 kB / 0.5355 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.4661, allocations: 12.66 kB / 0.5355 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4664, allocations: 204.2 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4664, allocations: 4.438 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.4664, allocations: 5.188 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4666, allocations: 60.67 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4666, allocations: 0.8125 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4666, allocations: 9.016 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4666, allocations: 0.6562 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.4667, allocations: 24.34 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4671, allocations: 314.9 kB / 0.5361 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4673, allocations: 66.05 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.4673, allocations: 2.781 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.4675, allocations: 69.84 kB / 0.5363 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4675, allocations: 0 / 0.5363 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005731/0.4681, allocations: 182.5 kB / 0.5364 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.4681, allocations: 54.09 kB / 0.5365 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4683, allocations: 181.7 kB / 0.5367 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4683, allocations: 32.05 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.4684, allocations: 96.94 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.4684, allocations: 27.95 kB / 0.5368 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.4684, allocations: 5.688 kB / 0.5368 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.4685, allocations: 320.8 kB / 0.5371 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.4686, allocations: 37.22 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.4687, allocations: 59.36 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4688, allocations: 72.34 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4688, allocations: 0 / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/0.4691, allocations: 182.3 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.4691, allocations: 43.94 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4691, allocations: 224 / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4692, allocations: 5.25 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.4693, allocations: 22.91 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4693, allocations: 1.641 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.4693, allocations: 10.3 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.4694, allocations: 9.781 kB / 0.5376 GB, free: 81.04 MB / 378.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 () * Number of clocked 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 8.855e-05/0.4695, allocations: 126.9 kB / 0.5377 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.4695, allocations: 9.641 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.4697, allocations: 132.4 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4698, allocations: 1.812 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4698, allocations: 0.8438 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4698, allocations: 4 kB / 0.5378 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.4702, allocations: 419.3 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4702, allocations: 0 / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.4703, allocations: 10.12 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4703, allocations: 1.281 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4703, allocations: 3 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4703, allocations: 0.7031 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4703, allocations: 5.562 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.4706, allocations: 225 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.4706, allocations: 100.3 kB / 0.5385 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.4707, allocations: 7.281 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.4708, allocations: 3.625 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4708, allocations: 9.109 kB / 0.5386 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4709, allocations: 11.81 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.471, allocations: 145.1 kB / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.471, allocations: 0 / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000296/0.4713, allocations: 41.14 kB / 0.5388 GB, free: 80.18 MB / 378.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) * Number of clocked states: 0 () * 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.00089/0.4722, allocations: 432.1 kB / 0.5392 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4725, allocations: 178.6 kB / 0.5393 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4725, allocations: 4.062 kB / 0.5393 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.4726, allocations: 34.66 kB / 0.5394 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.4728, allocations: 24.64 kB / 0.5394 GB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.4733, allocations: 256.5 kB / 0.5396 GB, free: 79.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4734, allocations: 0.711 MB / 0.5403 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.4735, allocations: 11.44 kB / 0.5404 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.4735, allocations: 17.84 kB / 0.5404 GB, free: 78.95 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4735, allocations: 0 / 0.5404 GB, free: 78.95 MB / 378.7 MB Notification: Performance of Templates: time 0.004857/0.4784, allocations: 1.747 MB / 0.5421 GB, free: 78.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)