Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01005/0.01005, allocations: 174.4 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.764/1.764, allocations: 194.5 MB / 210.3 MB, free: 8.52 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.001667/0.001667, allocations: 112.7 kB / 255.6 MB, free: 11.12 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.2024/0.2024, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 13.02 kB / 406.2 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 54.88 MB / 461 MB, free: 3.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.2605, allocations: 82.15 MB / 0.5305 GB, free: 1.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.2609, allocations: 79.91 kB / 0.5305 GB, free: 1.055 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.2695/0.5303, allocations: 4.748 MB / 0.5352 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5304, allocations: 0 / 0.5352 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.5304, allocations: 2.562 kB / 0.5352 GB, free: 82.95 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.0005507/0.5309, allocations: 486.3 kB / 0.5356 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.531, allocations: 10.23 kB / 0.5356 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.5311, allocations: 17.56 kB / 0.5357 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5314, allocations: 213.2 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.5314, allocations: 4.75 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.5314, allocations: 4.562 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5316, allocations: 60.31 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5316, allocations: 0.6094 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.5316, allocations: 8.578 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5317, allocations: 0 / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.5317, allocations: 23.2 kB / 0.536 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.5322, allocations: 321.4 kB / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.5324, allocations: 59.94 kB / 0.5363 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5324, allocations: 1.656 kB / 0.5363 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.5326, allocations: 80.47 kB / 0.5364 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.5326, allocations: 0 / 0.5364 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006053/0.5332, allocations: 194.2 kB / 0.5366 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5332, allocations: 53.08 kB / 0.5366 GB, free: 81.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.5335, allocations: 201.5 kB / 0.5368 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5335, allocations: 31.67 kB / 0.5369 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.5336, allocations: 108.3 kB / 0.537 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5336, allocations: 21.78 kB / 0.537 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5336, allocations: 5.281 kB / 0.537 GB, free: 81.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.5337, allocations: 326.4 kB / 0.5373 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.5338, allocations: 39.27 kB / 0.5373 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5339, allocations: 53.73 kB / 0.5374 GB, free: 81.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.534, allocations: 70.11 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5341, allocations: 0 / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000282/0.5343, allocations: 186.6 kB / 0.5376 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.5344, allocations: 43.28 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5344, allocations: 0.8906 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5344, allocations: 1.594 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.5345, allocations: 18.36 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5345, allocations: 1.406 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.5346, allocations: 5.141 kB / 0.5377 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5346, allocations: 8.75 kB / 0.5377 GB, free: 81.02 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.34e-05/0.5347, allocations: 134.2 kB / 0.5378 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.5347, allocations: 13.56 kB / 0.5379 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.535, allocations: 131.8 kB / 0.538 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.535, allocations: 1.469 kB / 0.538 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.535, allocations: 0 / 0.538 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.535, allocations: 1.359 kB / 0.538 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.5355, allocations: 423.5 kB / 0.5384 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5355, allocations: 1.406 kB / 0.5384 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.5356, allocations: 14.56 kB / 0.5384 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5356, allocations: 0 / 0.5384 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.5356, allocations: 7.547 kB / 0.5384 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5356, allocations: 1.25 kB / 0.5384 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5356, allocations: 0.9688 kB / 0.5384 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5359, allocations: 237.6 kB / 0.5386 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.536, allocations: 102.5 kB / 0.5387 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.536, allocations: 2.641 kB / 0.5387 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.5361, allocations: 7.797 kB / 0.5387 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.5361, allocations: 10.23 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.5362, allocations: 2.859 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.5363, allocations: 165.2 kB / 0.5389 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5363, allocations: 0 / 0.5389 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.5366, allocations: 39.94 kB / 0.539 GB, free: 80.16 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.000983/0.5376, allocations: 441.7 kB / 0.5394 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.5379, allocations: 175.3 kB / 0.5395 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5379, allocations: 0 / 0.5395 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.538, allocations: 31.33 kB / 0.5396 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.5382, allocations: 23.7 kB / 0.5396 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.5387, allocations: 282.2 kB / 0.5399 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.5389, allocations: 0.717 MB / 0.5406 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.5389, allocations: 21.47 kB / 0.5406 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.539, allocations: 14.84 kB / 0.5406 GB, free: 78.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.539, allocations: 0 / 0.5406 GB, free: 78.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004708/0.5437, allocations: 1.809 MB / 0.5424 GB, free: 78.7 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)