Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006214/0.006214, allocations: 176 kB / 15.12 MB, free: 5.98 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.716/1.716, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001816/0.001816, allocations: 120.6 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.21/0.21, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004965, allocations: 16.75 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 54.88 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.257, allocations: 82.11 MB / 0.5304 GB, free: 1.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.2573, allocations: 79.91 kB / 0.5305 GB, free: 1.004 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.2706/0.5279, allocations: 4.487 MB / 0.5349 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.528, allocations: 0 / 0.5349 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.528, allocations: 0 / 0.5349 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.0005803/0.5286, allocations: 479.6 kB / 0.5353 GB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5286, allocations: 9 kB / 0.5353 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.5287, allocations: 10.31 kB / 0.5353 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.529, allocations: 199 kB / 0.5355 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.529, allocations: 4.609 kB / 0.5355 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.5291, allocations: 13.38 kB / 0.5356 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.5292, allocations: 59.7 kB / 0.5356 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5292, allocations: 0 / 0.5356 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5293, allocations: 5.797 kB / 0.5356 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5293, allocations: 0 / 0.5356 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5294, allocations: 24.25 kB / 0.5356 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.5298, allocations: 307 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.53, allocations: 61.97 kB / 0.536 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.5301, allocations: 1.25 kB / 0.536 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.5302, allocations: 74.59 kB / 0.5361 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5303, allocations: 0 / 0.5361 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006663/0.5309, allocations: 188.3 kB / 0.5362 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.531, allocations: 57.03 kB / 0.5363 GB, free: 81.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.5312, allocations: 165.4 kB / 0.5365 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5312, allocations: 29.66 kB / 0.5365 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.5313, allocations: 101.6 kB / 0.5366 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.5313, allocations: 26.64 kB / 0.5366 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.5313, allocations: 5.062 kB / 0.5366 GB, free: 81.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.5314, allocations: 323.8 kB / 0.5369 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5315, allocations: 36.62 kB / 0.537 GB, free: 81.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.5317, allocations: 62.75 kB / 0.537 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5318, allocations: 72.22 kB / 0.5371 GB, free: 81.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5318, allocations: 0 / 0.5371 GB, free: 81.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002976/0.5321, allocations: 180.5 kB / 0.5373 GB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.5321, allocations: 38.95 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5321, allocations: 1 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5322, allocations: 1.25 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5323, allocations: 16.72 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.5323, allocations: 9.406 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.5324, allocations: 7.594 kB / 0.5373 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5324, allocations: 4.734 kB / 0.5373 GB, free: 81.07 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 9.231e-05/0.5325, allocations: 125.3 kB / 0.5375 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.5325, allocations: 9.469 kB / 0.5375 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.5328, allocations: 128.6 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5328, allocations: 1.156 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5328, allocations: 0.9688 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5328, allocations: 8.609 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.5333, allocations: 411.5 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5334, allocations: 1.344 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.5334, allocations: 9.156 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.5334, allocations: 1.188 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5334, allocations: 3.312 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5334, allocations: 1.922 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5335, allocations: 4.031 kB / 0.538 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.5337, allocations: 226.1 kB / 0.5382 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.5338, allocations: 99.88 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.5338, allocations: 2.609 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.5339, allocations: 6.938 kB / 0.5383 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.5339, allocations: 14.64 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.534, allocations: 4.562 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.5341, allocations: 144.7 kB / 0.5385 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5341, allocations: 1.25 kB / 0.5385 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5344, allocations: 43.23 kB / 0.5385 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.0009947/0.5354, allocations: 442.8 kB / 0.5389 GB, free: 79.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.5357, allocations: 171 kB / 0.5391 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5357, allocations: 0 / 0.5391 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.5358, allocations: 33.59 kB / 0.5391 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.536, allocations: 22.7 kB / 0.5392 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.5365, allocations: 251.2 kB / 0.5394 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5367, allocations: 0.7082 MB / 0.5401 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.412e-05/0.5368, allocations: 12.22 kB / 0.5401 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.5368, allocations: 15.92 kB / 0.5401 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5369, allocations: 4 kB / 0.5401 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.00637/0.5432, allocations: 1.724 MB / 0.5418 GB, free: 78.77 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)