Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009004/0.009004, allocations: 174.1 kB / 15.12 MB, free: 5.973 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.589/1.589, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001674/0.001674, allocations: 132.5 kB / 255.6 MB, free: 10.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.1791/0.1791, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004594, allocations: 21.02 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 54.88 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.2467, allocations: 81.97 MB / 0.5303 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.2471, allocations: 75.95 kB / 0.5304 GB, free: 1.137 MB / 378.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 - DAE generated: time 0.2899/0.537, allocations: 4.724 MB / 0.535 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.537, allocations: 0 / 0.535 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.537, allocations: 2.906 kB / 0.535 GB, free: 82.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006496/0.5377, allocations: 490.8 kB / 0.5354 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5378, allocations: 10.34 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.5378, allocations: 19.45 kB / 0.5355 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.5382, allocations: 214.9 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5383, allocations: 2.734 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.5383, allocations: 5.156 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5384, allocations: 50.52 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5385, allocations: 5.094 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5385, allocations: 0.5156 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5385, allocations: 5.109 kB / 0.5357 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/0.5386, allocations: 21.44 kB / 0.5358 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.5389, allocations: 206.8 kB / 0.536 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5391, allocations: 59.66 kB / 0.536 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5391, allocations: 0 / 0.536 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.5393, allocations: 65.94 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.635e-06/0.5394, allocations: 4.969 kB / 0.5361 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003854/0.5397, allocations: 108.7 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.5398, allocations: 56.23 kB / 0.5362 GB, free: 81.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.5402, allocations: 235.5 kB / 0.5365 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.5403, allocations: 27.77 kB / 0.5365 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.5404, allocations: 114.2 kB / 0.5366 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.5404, allocations: 12.11 kB / 0.5366 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.5405, allocations: 2.062 kB / 0.5366 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5406, allocations: 328.7 kB / 0.5369 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.5407, allocations: 33.53 kB / 0.537 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.5408, allocations: 48.5 kB / 0.537 GB, free: 81.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.541, allocations: 65.06 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.541, allocations: 1.5 kB / 0.5371 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003126/0.5413, allocations: 163.2 kB / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.5414, allocations: 42.19 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5414, allocations: 9.078 kB / 0.5373 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5414, allocations: 0.9688 kB / 0.5373 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.5415, allocations: 11.89 kB / 0.5373 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5415, allocations: 1.094 kB / 0.5373 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.5416, allocations: 17.75 kB / 0.5373 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5416, allocations: 4.75 kB / 0.5373 GB, free: 81.14 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 (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 0.0001341/0.5418, allocations: 134.1 kB / 0.5374 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.5418, allocations: 11.33 kB / 0.5374 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.5421, allocations: 107.5 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5421, allocations: 1.797 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5421, allocations: 0 / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5421, allocations: 1.969 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.5423, allocations: 205.9 kB / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5423, allocations: 0 / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.5424, allocations: 6.156 kB / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5424, allocations: 0.7031 kB / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.5424, allocations: 1.984 kB / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5424, allocations: 1.094 kB / 0.5378 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5424, allocations: 4 kB / 0.5378 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.5427, allocations: 127.5 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5428, allocations: 103.8 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.5428, allocations: 2.141 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.572e-05/0.5429, allocations: 3.891 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.5429, allocations: 4.188 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5429, allocations: 2.844 kB / 0.538 GB, free: 80.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.5432, allocations: 194.6 kB / 0.5382 GB, free: 80.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5432, allocations: 0 / 0.5382 GB, free: 80.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.5435, allocations: 41.41 kB / 0.5382 GB, free: 80.5 MB / 378.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) * Number of clocked states: 0 () * 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.0009528/0.5444, allocations: 380 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.5447, allocations: 151.7 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5447, allocations: 0 / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.5448, allocations: 25.75 kB / 0.5388 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5451, allocations: 21.34 kB / 0.5388 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.5458, allocations: 286.4 kB / 0.539 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.546, allocations: 0.7202 MB / 0.5398 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.688e-05/0.5461, allocations: 20.3 kB / 0.5398 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.5462, allocations: 17.38 kB / 0.5398 GB, free: 79.31 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5462, allocations: 1.062 kB / 0.5398 GB, free: 79.31 MB / 378.7 MB Notification: Performance of Templates: time 0.006346/0.5525, allocations: 1.655 MB / 0.5414 GB, free: 79.11 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)