Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007862/0.007862, allocations: 173.2 kB / 15.12 MB, free: 5.969 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.44/1.44, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.002169/0.002169, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.1937/0.1937, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 12.16 kB / 406.2 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 54.88 MB / 461 MB, free: 3.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.2814, allocations: 82.11 MB / 0.5304 GB, free: 1.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.2818, allocations: 75.95 kB / 0.5305 GB, free: 1.102 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.3259/0.6077, allocations: 4.492 MB / 0.5349 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6078, allocations: 0 / 0.5349 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.6078, allocations: 1.125 kB / 0.5349 GB, free: 82.91 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.0005708/0.6084, allocations: 474.1 kB / 0.5353 GB, free: 82.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6084, allocations: 13.16 kB / 0.5353 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.6085, allocations: 10.3 kB / 0.5354 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.6088, allocations: 209.5 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.6088, allocations: 2.188 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.6089, allocations: 8.953 kB / 0.5356 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.609, allocations: 55.45 kB / 0.5356 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.609, allocations: 0 / 0.5356 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6091, allocations: 5.75 kB / 0.5356 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6091, allocations: 1.75 kB / 0.5356 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.6092, allocations: 26.16 kB / 0.5356 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.6096, allocations: 309.5 kB / 0.5359 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.6098, allocations: 57.44 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6099, allocations: 1.344 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.6101, allocations: 82.39 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6101, allocations: 1.438 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006584/0.6107, allocations: 185 kB / 0.5363 GB, free: 81.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.6108, allocations: 57.47 kB / 0.5363 GB, free: 81.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.611, allocations: 165.2 kB / 0.5365 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6111, allocations: 29.05 kB / 0.5365 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.6111, allocations: 103.2 kB / 0.5366 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.6112, allocations: 30.08 kB / 0.5366 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.6112, allocations: 1.156 kB / 0.5366 GB, free: 81.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.6113, allocations: 325.2 kB / 0.5369 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.6114, allocations: 40.14 kB / 0.537 GB, free: 81.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.6115, allocations: 55.89 kB / 0.537 GB, free: 81.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6116, allocations: 73.28 kB / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6117, allocations: 0 / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003352/0.612, allocations: 181 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.6121, allocations: 40.22 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6121, allocations: 0 / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6121, allocations: 1.125 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.6122, allocations: 16.45 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.6122, allocations: 0.5625 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.6123, allocations: 5.953 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.6123, allocations: 9.172 kB / 0.5373 GB, free: 81.01 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.0001382/0.6125, allocations: 130.6 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.6125, allocations: 9.938 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.6129, allocations: 133 kB / 0.5376 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6129, allocations: 1.562 kB / 0.5376 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6129, allocations: 0 / 0.5376 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.6129, allocations: 0.75 kB / 0.5376 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.6135, allocations: 412 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6135, allocations: 4.406 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.6135, allocations: 9.891 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6135, allocations: 1.438 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6136, allocations: 6.938 kB / 0.538 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6136, allocations: 1.344 kB / 0.538 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6136, allocations: 1.531 kB / 0.538 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.6138, allocations: 229.2 kB / 0.5382 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.6139, allocations: 99.88 kB / 0.5383 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.614, allocations: 4.094 kB / 0.5383 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.6141, allocations: 2.844 kB / 0.5383 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.6141, allocations: 10.08 kB / 0.5384 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.6141, allocations: 3.453 kB / 0.5384 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.6143, allocations: 137.2 kB / 0.5385 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6143, allocations: 0 / 0.5385 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.6146, allocations: 47.78 kB / 0.5385 GB, free: 80.15 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.001095/0.6157, allocations: 443.1 kB / 0.539 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.616, allocations: 167.6 kB / 0.5391 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6161, allocations: 1.125 kB / 0.5391 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.6161, allocations: 31.5 kB / 0.5391 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.6164, allocations: 24.3 kB / 0.5392 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/0.617, allocations: 259.4 kB / 0.5394 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.6173, allocations: 0.7123 MB / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.6174, allocations: 15.69 kB / 0.5401 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.6174, allocations: 15.34 kB / 0.5401 GB, free: 78.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6174, allocations: 1.125 kB / 0.5401 GB, free: 78.89 MB / 378.7 MB Notification: Performance of Templates: time 0.005854/0.6233, allocations: 1.723 MB / 0.5418 GB, free: 78.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)