Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006817/0.006818, allocations: 174.8 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.537/1.537, allocations: 194.5 MB / 210.3 MB, free: 7.547 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.001768/0.001767, allocations: 120.6 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.1871/0.1871, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004168, allocations: 17.59 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 54.86 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.3177, allocations: 82.11 MB / 0.5304 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.318, allocations: 71.97 kB / 0.5305 GB, free: 1.008 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.2993/0.6173, allocations: 4.392 MB / 0.5348 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6174, allocations: 0 / 0.5348 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.6174, allocations: 0 / 0.5348 GB, free: 82.96 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.0005183/0.6179, allocations: 470 kB / 0.5352 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.618, allocations: 9.875 kB / 0.5352 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.618, allocations: 9.422 kB / 0.5352 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6183, allocations: 210 kB / 0.5354 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6183, allocations: 2.688 kB / 0.5354 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.6184, allocations: 4.031 kB / 0.5354 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6185, allocations: 60.97 kB / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6185, allocations: 1.156 kB / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.6186, allocations: 0 / 0.5355 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6186, allocations: 5.641 kB / 0.5355 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.6187, allocations: 23.3 kB / 0.5355 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.6191, allocations: 310.1 kB / 0.5358 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.6194, allocations: 59.53 kB / 0.5359 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.6194, allocations: 4.438 kB / 0.5359 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.6196, allocations: 71.47 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.6196, allocations: 0 / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000744/0.6203, allocations: 186.6 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.6204, allocations: 53.16 kB / 0.5362 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.6206, allocations: 149.6 kB / 0.5363 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.6206, allocations: 32.94 kB / 0.5364 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.6207, allocations: 97.94 kB / 0.5365 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.6207, allocations: 25.19 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.6207, allocations: 5.938 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.6208, allocations: 322.1 kB / 0.5368 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.621, allocations: 38.66 kB / 0.5368 GB, free: 81.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.6211, allocations: 59.05 kB / 0.5369 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6213, allocations: 70.52 kB / 0.537 GB, free: 81.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6213, allocations: 0 / 0.537 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003948/0.6217, allocations: 179.5 kB / 0.5371 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.6218, allocations: 40.3 kB / 0.5372 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6218, allocations: 5.188 kB / 0.5372 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6218, allocations: 0.9688 kB / 0.5372 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.6219, allocations: 16.58 kB / 0.5372 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.622, allocations: 1.062 kB / 0.5372 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.622, allocations: 9.406 kB / 0.5372 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.6221, allocations: 8.312 kB / 0.5372 GB, free: 81.05 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.0001307/0.6222, allocations: 126.2 kB / 0.5373 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.6222, allocations: 11.81 kB / 0.5373 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.6226, allocations: 123.1 kB / 0.5374 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6226, allocations: 1.344 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6227, allocations: 0.8438 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6227, allocations: 0.6094 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.6234, allocations: 401.5 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6234, allocations: 0.9688 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.6234, allocations: 14.22 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6234, allocations: 1.062 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6235, allocations: 6.812 kB / 0.5379 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6235, allocations: 2.062 kB / 0.5379 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6235, allocations: 0 / 0.5379 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.6238, allocations: 222.8 kB / 0.5381 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.6239, allocations: 102.8 kB / 0.5382 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.6239, allocations: 9.906 kB / 0.5382 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.624, allocations: 11.62 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.624, allocations: 6.656 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.6241, allocations: 3.172 kB / 0.5382 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.6242, allocations: 118.6 kB / 0.5383 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6242, allocations: 0 / 0.5383 GB, free: 80.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.6245, allocations: 47.17 kB / 0.5384 GB, free: 80.2 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.0011/0.6256, allocations: 435.3 kB / 0.5388 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.626, allocations: 168 kB / 0.5389 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.626, allocations: 1.438 kB / 0.5389 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.6261, allocations: 30.52 kB / 0.539 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.6265, allocations: 25.28 kB / 0.539 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.6271, allocations: 221.5 kB / 0.5392 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.6275, allocations: 0.7021 MB / 0.5399 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.6276, allocations: 23.33 kB / 0.5399 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.6277, allocations: 17.89 kB / 0.5399 GB, free: 78.97 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6277, allocations: 0.9688 kB / 0.5399 GB, free: 78.97 MB / 378.7 MB Notification: Performance of Templates: time 0.005482/0.6332, allocations: 1.676 MB / 0.5416 GB, free: 78.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)