Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006263/0.006266, allocations: 174.6 kB / 15.12 MB, free: 5.977 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.477/1.477, allocations: 194.5 MB / 210.3 MB, free: 8.508 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.001864/0.001864, allocations: 112.5 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.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.000424/0.000424, allocations: 12.25 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 54.87 MB / 461 MB, free: 3.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.2785, allocations: 82.12 MB / 0.5304 GB, free: 1.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.2789, allocations: 75.91 kB / 0.5305 GB, free: 1.105 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.3289/0.6078, allocations: 4.487 MB / 0.5349 GB, free: 82.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.6079, allocations: 2.219 kB / 0.5349 GB, free: 82.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.6079, allocations: 3 kB / 0.5349 GB, free: 82.92 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.0005315/0.6084, allocations: 480.2 kB / 0.5353 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6085, allocations: 9.188 kB / 0.5353 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.6085, allocations: 9.75 kB / 0.5354 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.6088, allocations: 205.6 kB / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.6089, allocations: 7.875 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.6089, allocations: 3.594 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.6091, allocations: 58.59 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6091, allocations: 1.312 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6091, allocations: 4.703 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.6091, allocations: 1.438 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.6092, allocations: 26.8 kB / 0.5356 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.6097, allocations: 309.5 kB / 0.5359 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.6099, allocations: 59.81 kB / 0.536 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.61, allocations: 0 / 0.536 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.6102, allocations: 76.34 kB / 0.5361 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.6102, allocations: 7.984 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007197/0.6109, allocations: 187 kB / 0.5363 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.611, allocations: 52.56 kB / 0.5363 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.6112, allocations: 166.2 kB / 0.5365 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.6112, allocations: 28.58 kB / 0.5365 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.6113, allocations: 101.5 kB / 0.5366 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.6113, allocations: 29.8 kB / 0.5366 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.6114, allocations: 3.812 kB / 0.5366 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.6114, allocations: 325.7 kB / 0.5369 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.6116, allocations: 38.06 kB / 0.537 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6117, allocations: 55.83 kB / 0.537 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.6118, allocations: 76.61 kB / 0.5371 GB, free: 81.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6118, allocations: 0 / 0.5371 GB, free: 81.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003584/0.6122, allocations: 176.2 kB / 0.5373 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.6122, allocations: 39.56 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6122, allocations: 4.875 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.6123, allocations: 1.812 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.6124, allocations: 14.94 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.6124, allocations: 5.562 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.6125, allocations: 8.859 kB / 0.5373 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.6125, allocations: 9.938 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.0001061/0.6126, allocations: 124.6 kB / 0.5375 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.6126, allocations: 8.922 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.6129, allocations: 134.4 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.613, allocations: 1.062 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.613, allocations: 1.344 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.613, allocations: 0.6094 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.6135, allocations: 409.1 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6135, allocations: 1.703 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.6135, allocations: 10.05 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6135, allocations: 5.156 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.6136, allocations: 3.297 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6136, allocations: 0.875 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6136, allocations: 5.625 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.6139, allocations: 226.5 kB / 0.5382 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.6139, allocations: 99.33 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.614, allocations: 6.953 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.6141, allocations: 7.125 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.6141, allocations: 6.312 kB / 0.5384 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.6141, allocations: 10.75 kB / 0.5384 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.6143, allocations: 136.7 kB / 0.5385 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6143, allocations: 0 / 0.5385 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.6146, allocations: 48.22 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.0009785/0.6156, allocations: 435.6 kB / 0.539 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.6159, allocations: 165.1 kB / 0.5391 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6159, allocations: 1.156 kB / 0.5391 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.616, allocations: 37.41 kB / 0.5391 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.0002581/0.6162, allocations: 24.36 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.0005051/0.6168, allocations: 251.5 kB / 0.5394 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.617, allocations: 0.7096 MB / 0.5401 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.247e-05/0.617, allocations: 19.25 kB / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.6171, allocations: 19.73 kB / 0.5401 GB, free: 78.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6171, allocations: 0 / 0.5401 GB, free: 78.9 MB / 378.7 MB Notification: Performance of Templates: time 0.005097/0.6222, allocations: 1.717 MB / 0.5418 GB, free: 78.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)