Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009752/0.009752, allocations: 175.5 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.776/1.776, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001794/0.001794, allocations: 120.5 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.2291/0.2291, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 15.88 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.2225, allocations: 82.11 MB / 0.5304 GB, free: 1.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.2228, allocations: 79.94 kB / 0.5305 GB, free: 1.02 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.2275/0.4504, allocations: 4.491 MB / 0.5349 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4504, allocations: 0 / 0.5349 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4504, allocations: 0.875 kB / 0.5349 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.0004559/0.4509, allocations: 479.1 kB / 0.5353 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4509, allocations: 15.34 kB / 0.5354 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.451, allocations: 10.53 kB / 0.5354 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.4513, allocations: 201.6 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4513, allocations: 3.469 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4513, allocations: 8.406 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4515, allocations: 57.14 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4515, allocations: 0 / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4515, allocations: 4.984 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4515, allocations: 1.766 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.4516, allocations: 29.45 kB / 0.5357 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.4521, allocations: 307.2 kB / 0.5359 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.4522, allocations: 55.38 kB / 0.536 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4523, allocations: 3.969 kB / 0.536 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.4524, allocations: 75.66 kB / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4524, allocations: 0 / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005873/0.453, allocations: 187.6 kB / 0.5363 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4531, allocations: 52.02 kB / 0.5363 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4532, allocations: 167.8 kB / 0.5365 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4533, allocations: 30.61 kB / 0.5365 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.4533, allocations: 99.34 kB / 0.5366 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.4533, allocations: 31.11 kB / 0.5366 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.4534, allocations: 6.844 kB / 0.5366 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.4534, allocations: 320.6 kB / 0.5369 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.4535, allocations: 39.62 kB / 0.537 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.4536, allocations: 54.81 kB / 0.537 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.4537, allocations: 73.59 kB / 0.5371 GB, free: 81.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4538, allocations: 0 / 0.5371 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002911/0.4541, allocations: 181.4 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4541, allocations: 41.78 kB / 0.5373 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4541, allocations: 0 / 0.5373 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4541, allocations: 1 kB / 0.5373 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.4542, allocations: 16.86 kB / 0.5373 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4543, allocations: 5.25 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.4543, allocations: 4.828 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.4543, allocations: 8.062 kB / 0.5373 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 8.781e-05/0.4544, allocations: 134.2 kB / 0.5375 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.4545, allocations: 9.734 kB / 0.5375 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.4547, allocations: 133.3 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4548, allocations: 0.9688 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4548, allocations: 384 / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4548, allocations: 0.6094 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.4553, allocations: 412.3 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4553, allocations: 8.688 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.4553, allocations: 10.23 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4553, allocations: 1.438 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4554, allocations: 1.969 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4554, allocations: 1.75 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4554, allocations: 1.062 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4556, allocations: 226.9 kB / 0.5382 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4558, allocations: 99.75 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4558, allocations: 5.734 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.456, allocations: 3.484 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.4561, allocations: 6.547 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4561, allocations: 8.469 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00018/0.4563, allocations: 139.5 kB / 0.5385 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4563, allocations: 0 / 0.5385 GB, free: 80.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000553/0.4569, allocations: 47.34 kB / 0.5385 GB, free: 80.19 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.001674/0.4586, allocations: 438.1 kB / 0.539 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.4591, allocations: 168.6 kB / 0.5391 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4591, allocations: 0 / 0.5391 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4593, allocations: 30.5 kB / 0.5391 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.4598, allocations: 28.27 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.0008053/0.4606, allocations: 256.6 kB / 0.5394 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4609, allocations: 0.7101 MB / 0.5401 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.4611, allocations: 11.38 kB / 0.5401 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.4612, allocations: 16.42 kB / 0.5401 GB, free: 78.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4612, allocations: 0 / 0.5401 GB, free: 78.95 MB / 378.7 MB Notification: Performance of Templates: time 0.009606/0.4708, allocations: 1.73 MB / 0.5418 GB, free: 78.76 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)