Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007519/0.007519, allocations: 174.9 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.47/1.47, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001756/0.001756, allocations: 128.5 kB / 255.6 MB, free: 10.15 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.2121/0.2121, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.000412, allocations: 13.94 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1548, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.2961, allocations: 82.16 MB / 0.5305 GB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.2965, allocations: 79.89 kB / 0.5305 GB, free: 0.9531 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.3176/0.6142, allocations: 4.585 MB / 0.535 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6142, allocations: 0 / 0.535 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.6142, allocations: 5.094 kB / 0.535 GB, free: 83.04 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.0006095/0.6148, allocations: 474.9 kB / 0.5355 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6149, allocations: 9.406 kB / 0.5355 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.615, allocations: 9.953 kB / 0.5355 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.6153, allocations: 204.8 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.6153, allocations: 5.406 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.6154, allocations: 5.312 kB / 0.5357 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6155, allocations: 60.56 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6155, allocations: 4 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6156, allocations: 5.078 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6156, allocations: 1.031 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.6157, allocations: 24.42 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.6161, allocations: 304.2 kB / 0.5361 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.6163, allocations: 62.97 kB / 0.5361 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.6164, allocations: 5.219 kB / 0.5361 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6166, allocations: 72.09 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.6166, allocations: 0 / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007057/0.6173, allocations: 190.5 kB / 0.5364 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6173, allocations: 55.75 kB / 0.5364 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.6175, allocations: 166.8 kB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.6175, allocations: 32.45 kB / 0.5366 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.6176, allocations: 101.7 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.6176, allocations: 24.91 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.6177, allocations: 5.031 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.6177, allocations: 323.6 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.6178, allocations: 36.78 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.618, allocations: 55.16 kB / 0.5372 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.6181, allocations: 79 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.6181, allocations: 0 / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003203/0.6184, allocations: 176.8 kB / 0.5374 GB, free: 81.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.6185, allocations: 39.53 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6185, allocations: 0.5625 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.6185, allocations: 1 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.6186, allocations: 20.22 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6187, allocations: 1.125 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.6187, allocations: 9.047 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.6188, allocations: 10.59 kB / 0.5375 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 (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 0.0001004/0.6189, allocations: 126.6 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.6189, allocations: 9.484 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.6192, allocations: 130 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6192, allocations: 1.156 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6192, allocations: 0 / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6192, allocations: 1.875 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.6197, allocations: 418.4 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6197, allocations: 0 / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.6198, allocations: 9.812 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6198, allocations: 1.828 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6198, allocations: 2.984 kB / 0.5381 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.6198, allocations: 3.938 kB / 0.5381 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6198, allocations: 1.906 kB / 0.5381 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.6201, allocations: 233 kB / 0.5384 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.6202, allocations: 104.4 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.6202, allocations: 2.656 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.6203, allocations: 3.562 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.6203, allocations: 5.625 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.6203, allocations: 8.203 kB / 0.5385 GB, free: 80.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.6205, allocations: 139 kB / 0.5386 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6205, allocations: 0 / 0.5386 GB, free: 80.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.6208, allocations: 45.11 kB / 0.5387 GB, free: 80.27 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.001073/0.6218, allocations: 438.2 kB / 0.5391 GB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.6221, allocations: 172.2 kB / 0.5392 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6222, allocations: 0 / 0.5392 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.6222, allocations: 39.58 kB / 0.5393 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.6225, allocations: 24.94 kB / 0.5393 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.623, allocations: 243.7 kB / 0.5395 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.6232, allocations: 0.7048 MB / 0.5402 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.6233, allocations: 16.05 kB / 0.5402 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.6233, allocations: 18.34 kB / 0.5403 GB, free: 79.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6233, allocations: 1.375 kB / 0.5403 GB, free: 79.03 MB / 378.7 MB Notification: Performance of Templates: time 0.005332/0.6287, allocations: 1.724 MB / 0.5419 GB, free: 78.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)