Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0088/0.0088, allocations: 177.2 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.586/1.586, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001772/0.001772, allocations: 120.5 kB / 255.6 MB, free: 10.15 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.1853/0.1853, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003928, allocations: 21.27 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.2439, allocations: 82.25 MB / 0.5306 GB, free: 0.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.2442, allocations: 79.95 kB / 0.5306 GB, free: 0.8398 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2628/0.507, allocations: 6.779 MB / 0.5373 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.448e-06/0.5071, allocations: 0 / 0.5373 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.5071, allocations: 8.219 kB / 0.5373 GB, free: 82.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009038/0.508, allocations: 0.6282 MB / 0.5379 GB, free: 82.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5081, allocations: 9.625 kB / 0.5379 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/0.5082, allocations: 24.45 kB / 0.5379 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.5087, allocations: 265.8 kB / 0.5382 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.5087, allocations: 8.625 kB / 0.5382 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.5088, allocations: 14.2 kB / 0.5382 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.5091, allocations: 103.5 kB / 0.5383 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5091, allocations: 3.953 kB / 0.5383 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5091, allocations: 1.094 kB / 0.5383 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5091, allocations: 2.219 kB / 0.5383 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5093, allocations: 47.23 kB / 0.5383 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.51, allocations: 0.4886 MB / 0.5388 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.5103, allocations: 128.5 kB / 0.5389 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5103, allocations: 2.078 kB / 0.5389 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.5106, allocations: 124.1 kB / 0.5391 GB, free: 81.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.5106, allocations: 0 / 0.5391 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001168/0.5118, allocations: 373 kB / 0.5394 GB, free: 81.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.5118, allocations: 80.59 kB / 0.5395 GB, free: 81.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.5123, allocations: 324.3 kB / 0.5398 GB, free: 81.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.5123, allocations: 32.27 kB / 0.5398 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.5124, allocations: 133 kB / 0.54 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.5125, allocations: 47.33 kB / 0.54 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.5125, allocations: 5.688 kB / 0.54 GB, free: 81.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5126, allocations: 336.9 kB / 0.5403 GB, free: 80.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.5128, allocations: 74.83 kB / 0.5404 GB, free: 80.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.513, allocations: 110.5 kB / 0.5405 GB, free: 80.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.5133, allocations: 150.1 kB / 0.5406 GB, free: 80.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5133, allocations: 3.953 kB / 0.5406 GB, free: 80.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006561/0.514, allocations: 328.3 kB / 0.541 GB, free: 80.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.514, allocations: 72.31 kB / 0.541 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5141, allocations: 1.359 kB / 0.541 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5141, allocations: 5.562 kB / 0.541 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5143, allocations: 36.25 kB / 0.5411 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5143, allocations: 5.297 kB / 0.5411 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.5144, allocations: 11.69 kB / 0.5411 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.5144, allocations: 20.42 kB / 0.5411 GB, free: 80.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001694/0.5146, allocations: 155.7 kB / 0.5413 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.5147, allocations: 34.64 kB / 0.5413 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.5152, allocations: 223.7 kB / 0.5415 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5152, allocations: 3.625 kB / 0.5415 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5152, allocations: 1.562 kB / 0.5415 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5152, allocations: 0 / 0.5415 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.5162, allocations: 0.6607 MB / 0.5422 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5162, allocations: 9.781 kB / 0.5422 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.5163, allocations: 25.44 kB / 0.5422 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5163, allocations: 1.344 kB / 0.5422 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.5164, allocations: 7.562 kB / 0.5422 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5164, allocations: 1.375 kB / 0.5422 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5164, allocations: 1.375 kB / 0.5422 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.5169, allocations: 416.6 kB / 0.5426 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.517, allocations: 124.5 kB / 0.5427 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.517, allocations: 12.08 kB / 0.5427 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5172, allocations: 13 kB / 0.5427 GB, free: 79.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.5172, allocations: 14.69 kB / 0.5428 GB, free: 79.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.5173, allocations: 5.625 kB / 0.5428 GB, free: 79.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.5175, allocations: 250.9 kB / 0.543 GB, free: 79.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5175, allocations: 0 / 0.543 GB, free: 79.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004874/0.518, allocations: 87.81 kB / 0.5431 GB, free: 79.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001627/0.5197, allocations: 0.6796 MB / 0.5437 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.5202, allocations: 335.6 kB / 0.5441 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5202, allocations: 0 / 0.5441 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.5204, allocations: 72.08 kB / 0.5441 GB, free: 78.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.5208, allocations: 42.72 kB / 0.5442 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.5215, allocations: 495.8 kB / 0.5446 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5218, allocations: 0.7661 MB / 0.5454 GB, free: 77.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.765e-05/0.5219, allocations: 30.17 kB / 0.5454 GB, free: 77.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.522, allocations: 26.55 kB / 0.5454 GB, free: 77.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.522, allocations: 0 / 0.5454 GB, free: 77.41 MB / 378.7 MB Notification: Performance of Templates: time 0.007469/0.5294, allocations: 3.296 MB / 0.5487 GB, free: 75.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)