Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008299/0.0083, allocations: 175.6 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.618/1.618, 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.001657/0.001657, allocations: 116.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.1968/0.1968, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005152, allocations: 18.2 kB / 406.2 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1227, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.2427, allocations: 82.15 MB / 0.5305 GB, free: 1.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.2431, allocations: 83.95 kB / 0.5305 GB, free: 1.062 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.5136, allocations: 4.581 MB / 0.535 GB, free: 82.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.5137, allocations: 1.312 kB / 0.535 GB, free: 82.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.5137, allocations: 1.281 kB / 0.535 GB, free: 82.97 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.0004649/0.5142, allocations: 478.8 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5142, allocations: 9.375 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.5143, allocations: 9.609 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5145, allocations: 213 kB / 0.5357 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5145, allocations: 5.719 kB / 0.5357 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.5146, allocations: 5.344 kB / 0.5357 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.5147, allocations: 56.16 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5147, allocations: 0 / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5148, allocations: 8.688 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5148, allocations: 1 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.5148, allocations: 21.72 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.5152, allocations: 312.7 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.5154, allocations: 61.89 kB / 0.5361 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.5154, allocations: 1.172 kB / 0.5361 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.5156, allocations: 71.2 kB / 0.5362 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5156, allocations: 0 / 0.5362 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005587/0.5161, allocations: 189.6 kB / 0.5364 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.5162, allocations: 53.42 kB / 0.5364 GB, free: 81.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5163, allocations: 165.9 kB / 0.5366 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5163, allocations: 28.48 kB / 0.5366 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.5164, allocations: 101.9 kB / 0.5367 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.5164, allocations: 26.48 kB / 0.5367 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.5164, allocations: 6.094 kB / 0.5368 GB, free: 81.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.5165, allocations: 324.9 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.5166, allocations: 42.88 kB / 0.5371 GB, free: 81.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.5167, allocations: 51.94 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.5168, allocations: 73.36 kB / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5168, allocations: 0 / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002673/0.5171, allocations: 178.9 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.5171, allocations: 43.62 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5171, allocations: 0 / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5172, allocations: 5.469 kB / 0.5374 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.5173, allocations: 20.08 kB / 0.5375 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5173, allocations: 1.188 kB / 0.5375 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.5173, allocations: 5.375 kB / 0.5375 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5173, allocations: 4.531 kB / 0.5375 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.008e-05/0.5174, allocations: 129 kB / 0.5376 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.5175, allocations: 8.438 kB / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5177, allocations: 132.6 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5177, allocations: 1.875 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5177, allocations: 1.219 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5178, allocations: 0 / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.5182, allocations: 411 kB / 0.5381 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5182, allocations: 4 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.5183, allocations: 10.25 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5183, allocations: 1.844 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5183, allocations: 7.047 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5183, allocations: 0.875 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5183, allocations: 5.125 kB / 0.5382 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5185, allocations: 219.9 kB / 0.5384 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.5186, allocations: 99.7 kB / 0.5385 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.5186, allocations: 7.109 kB / 0.5385 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.5187, allocations: 10.56 kB / 0.5385 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5188, allocations: 6.031 kB / 0.5385 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5188, allocations: 4.469 kB / 0.5385 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5189, allocations: 139.8 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5189, allocations: 3.938 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.5192, allocations: 43.89 kB / 0.5387 GB, free: 80.21 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.0008853/0.5201, allocations: 442.3 kB / 0.5391 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.5203, allocations: 169.4 kB / 0.5392 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5204, allocations: 1.188 kB / 0.5392 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.5204, allocations: 37 kB / 0.5393 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.5207, allocations: 29.5 kB / 0.5393 GB, free: 79.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.5211, allocations: 250.1 kB / 0.5395 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.5213, allocations: 0.7054 MB / 0.5402 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.5213, allocations: 15.2 kB / 0.5403 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.5214, allocations: 19.38 kB / 0.5403 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5214, allocations: 0 / 0.5403 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004593/0.526, allocations: 1.717 MB / 0.5419 GB, free: 78.78 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)