Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008333/0.008333, allocations: 178.5 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.861/1.861, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.00183/0.00183, allocations: 124.5 kB / 255.6 MB, free: 10.23 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.2117/0.2118, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 15.3 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 54.86 MB / 461 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.2569, allocations: 82.25 MB / 0.5306 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.2572, allocations: 75.95 kB / 0.5306 GB, free: 0.8359 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.3618/0.619, allocations: 4.436 MB / 0.535 GB, free: 83.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.619, allocations: 0 / 0.535 GB, free: 83.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.619, allocations: 2.188 kB / 0.535 GB, free: 83.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008574/0.6199, allocations: 466.4 kB / 0.5354 GB, free: 82.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.62, allocations: 9.406 kB / 0.5354 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.6201, allocations: 13.59 kB / 0.5354 GB, free: 82.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.6205, allocations: 204.1 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.6205, allocations: 4.938 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.6206, allocations: 5 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.6208, allocations: 75.02 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.6209, allocations: 0 / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.6209, allocations: 2.141 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.6209, allocations: 5.141 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.621, allocations: 28.91 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.6216, allocations: 304.9 kB / 0.536 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.6218, allocations: 65.02 kB / 0.5361 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.6219, allocations: 5.062 kB / 0.5361 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.6221, allocations: 77.03 kB / 0.5362 GB, free: 82.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.6221, allocations: 4 kB / 0.5362 GB, free: 82.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008478/0.623, allocations: 187.4 kB / 0.5364 GB, free: 81.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.6231, allocations: 78.78 kB / 0.5364 GB, free: 81.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.6233, allocations: 143.5 kB / 0.5366 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.6233, allocations: 32.66 kB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.6234, allocations: 88.23 kB / 0.5367 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.6234, allocations: 29.31 kB / 0.5367 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.6234, allocations: 4.688 kB / 0.5367 GB, free: 81.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.6235, allocations: 325 kB / 0.537 GB, free: 81.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6237, allocations: 30.67 kB / 0.5371 GB, free: 81.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.6238, allocations: 55.91 kB / 0.5371 GB, free: 81.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.624, allocations: 66.97 kB / 0.5372 GB, free: 81.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.624, allocations: 0.875 kB / 0.5372 GB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004877/0.6245, allocations: 174.2 kB / 0.5373 GB, free: 81.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.6246, allocations: 38.67 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.6246, allocations: 192 / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.6246, allocations: 1.406 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6248, allocations: 21.88 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6248, allocations: 1.734 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.446e-05/0.6249, allocations: 7.875 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.625, allocations: 6.375 kB / 0.5374 GB, free: 81.17 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 (12): * Single equations (assignments): 11 * 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.0001398/0.6251, allocations: 123.4 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.6252, allocations: 12.33 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.6256, allocations: 136.3 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.6256, allocations: 0.9375 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6256, allocations: 0 / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6256, allocations: 1.75 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.6264, allocations: 409.7 kB / 0.5381 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6264, allocations: 1.094 kB / 0.5381 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.6265, allocations: 23.8 kB / 0.5381 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6265, allocations: 5.906 kB / 0.5381 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6265, allocations: 6.109 kB / 0.5381 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6266, allocations: 1.672 kB / 0.5381 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.6266, allocations: 3.984 kB / 0.5381 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.627, allocations: 231.7 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.6271, allocations: 99.7 kB / 0.5384 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.6272, allocations: 5.688 kB / 0.5384 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6273, allocations: 3.953 kB / 0.5384 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.6274, allocations: 6.328 kB / 0.5384 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6274, allocations: 5.312 kB / 0.5384 GB, free: 80.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.6275, allocations: 111.6 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6276, allocations: 0 / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005991/0.6282, allocations: 60.5 kB / 0.5386 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 (10): * Single equations (assignments): 8 * 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.001853/0.63, allocations: 0.5207 MB / 0.5391 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.6305, allocations: 158.8 kB / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6305, allocations: 0 / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.6307, allocations: 36.34 kB / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.6311, allocations: 21.06 kB / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.6318, allocations: 227.2 kB / 0.5395 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6322, allocations: 0.7005 MB / 0.5402 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.6323, allocations: 20.17 kB / 0.5402 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.6324, allocations: 18.47 kB / 0.5403 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6324, allocations: 0 / 0.5403 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.007318/0.6397, allocations: 2.049 MB / 0.5423 GB, free: 78.76 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)