Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007539/0.007539, allocations: 174.7 kB / 15.12 MB, free: 5.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.679/1.679, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001824/0.001823, allocations: 116.5 kB / 255.6 MB, free: 10.22 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.1799/0.1799, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004203, allocations: 13.44 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.2454, allocations: 82.35 MB / 0.5307 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.2458, allocations: 75.95 kB / 0.5307 GB, free: 0.7656 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.2492/0.495, allocations: 5.159 MB / 0.5358 GB, free: 83.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.495, allocations: 0.5625 kB / 0.5358 GB, free: 83.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4951, allocations: 5.094 kB / 0.5358 GB, free: 83.1 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.0005108/0.4956, allocations: 470.2 kB / 0.5362 GB, free: 82.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4956, allocations: 9.125 kB / 0.5362 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.4957, allocations: 14.05 kB / 0.5362 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.496, allocations: 196.9 kB / 0.5364 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.496, allocations: 2.406 kB / 0.5364 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.496, allocations: 8.75 kB / 0.5364 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4962, allocations: 74.19 kB / 0.5365 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4962, allocations: 0 / 0.5365 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4963, allocations: 4.984 kB / 0.5365 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4963, allocations: 6.094 kB / 0.5365 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.4964, allocations: 21.23 kB / 0.5365 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.4968, allocations: 295.6 kB / 0.5368 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.497, allocations: 67.02 kB / 0.5369 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.497, allocations: 3.562 kB / 0.5369 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.4972, allocations: 69.56 kB / 0.537 GB, free: 82.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.4972, allocations: 0 / 0.537 GB, free: 82.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006392/0.4978, allocations: 175.7 kB / 0.5371 GB, free: 81.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4978, allocations: 78.72 kB / 0.5372 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.498, allocations: 144.7 kB / 0.5373 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.498, allocations: 29.22 kB / 0.5374 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.4981, allocations: 93.94 kB / 0.5375 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.4981, allocations: 24.81 kB / 0.5375 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.4981, allocations: 4.156 kB / 0.5375 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.4982, allocations: 324.6 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.4983, allocations: 31.58 kB / 0.5378 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.4984, allocations: 58.77 kB / 0.5379 GB, free: 81.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.4985, allocations: 65.17 kB / 0.5379 GB, free: 81.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4985, allocations: 1.469 kB / 0.538 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002469/0.4987, allocations: 161.8 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.4988, allocations: 34.47 kB / 0.5381 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4988, allocations: 2.141 kB / 0.5381 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4988, allocations: 1.438 kB / 0.5381 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.4989, allocations: 15.77 kB / 0.5382 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4989, allocations: 4.062 kB / 0.5382 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.499, allocations: 9.672 kB / 0.5382 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.499, allocations: 5.109 kB / 0.5382 GB, free: 81.16 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 7.672e-05/0.4991, allocations: 124.2 kB / 0.5383 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.4991, allocations: 11.7 kB / 0.5383 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4994, allocations: 122.2 kB / 0.5384 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4994, allocations: 1 kB / 0.5384 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4994, allocations: 4.797 kB / 0.5384 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4994, allocations: 1.531 kB / 0.5384 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.4998, allocations: 413.7 kB / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4999, allocations: 0 / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.4999, allocations: 17.36 kB / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4999, allocations: 5.875 kB / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4999, allocations: 3.234 kB / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4999, allocations: 1.281 kB / 0.5388 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5, allocations: 4.031 kB / 0.5389 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.5002, allocations: 223.9 kB / 0.5391 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.5003, allocations: 94.41 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.5003, allocations: 3.594 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.5004, allocations: 3.734 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.5004, allocations: 15.31 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.5004, allocations: 3.578 kB / 0.5392 GB, free: 80.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.5005, allocations: 109.8 kB / 0.5393 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5005, allocations: 0 / 0.5393 GB, free: 80.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.5009, allocations: 54.62 kB / 0.5393 GB, free: 80.3 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.001155/0.502, allocations: 0.5119 MB / 0.5398 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.5024, allocations: 152.8 kB / 0.54 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5024, allocations: 0 / 0.54 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.5025, allocations: 35.97 kB / 0.54 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5027, allocations: 25.16 kB / 0.54 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.5032, allocations: 210.1 kB / 0.5402 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.5034, allocations: 0.7043 MB / 0.5409 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.285e-05/0.5035, allocations: 11.42 kB / 0.5409 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.5035, allocations: 18.58 kB / 0.541 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5035, allocations: 0 / 0.541 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.005407/0.5089, allocations: 1.959 MB / 0.5429 GB, free: 78.64 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)