Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006634/0.006634, allocations: 174.8 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.922/1.922, allocations: 194.5 MB / 210.3 MB, free: 7.809 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.001877/0.001877, allocations: 112.7 kB / 255.6 MB, free: 10.42 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.1989/0.1989, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004236, allocations: 18.06 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 54.88 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.271, allocations: 82.25 MB / 0.5306 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.2714, allocations: 87.83 kB / 0.5306 GB, free: 0.875 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.3375/0.6089, allocations: 7.105 MB / 0.5376 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.609, allocations: 1.281 kB / 0.5376 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.609, allocations: 3.719 kB / 0.5376 GB, free: 82.93 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.0008068/0.6098, allocations: 0.6792 MB / 0.5382 GB, free: 82.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6099, allocations: 9.375 kB / 0.5383 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.61, allocations: 26.5 kB / 0.5383 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.6105, allocations: 290.7 kB / 0.5386 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.6105, allocations: 8.375 kB / 0.5386 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.6106, allocations: 20.73 kB / 0.5386 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.6108, allocations: 97.38 kB / 0.5387 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6108, allocations: 4 kB / 0.5387 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.6108, allocations: 4.016 kB / 0.5387 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6108, allocations: 1.375 kB / 0.5387 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.611, allocations: 48.88 kB / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.6117, allocations: 0.5153 MB / 0.5392 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.612, allocations: 129.7 kB / 0.5394 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.612, allocations: 1.188 kB / 0.5394 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.6123, allocations: 118.2 kB / 0.5395 GB, free: 81.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.6123, allocations: 0 / 0.5395 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001102/0.6134, allocations: 396.7 kB / 0.5399 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6135, allocations: 79.61 kB / 0.5399 GB, free: 81.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.6141, allocations: 428.8 kB / 0.5403 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6141, allocations: 32.52 kB / 0.5404 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6143, allocations: 157.2 kB / 0.5405 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.6143, allocations: 48.25 kB / 0.5406 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.6144, allocations: 5.938 kB / 0.5406 GB, free: 81.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6145, allocations: 349.3 kB / 0.5409 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.6146, allocations: 79.39 kB / 0.541 GB, free: 80.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.6148, allocations: 106.4 kB / 0.5411 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.6151, allocations: 150.8 kB / 0.5412 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6151, allocations: 0 / 0.5412 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005993/0.6157, allocations: 342.8 kB / 0.5416 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.6158, allocations: 67.59 kB / 0.5416 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6158, allocations: 0 / 0.5416 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6158, allocations: 2.25 kB / 0.5416 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.616, allocations: 42.08 kB / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.616, allocations: 0 / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.6161, allocations: 13.72 kB / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.6162, allocations: 13.47 kB / 0.5417 GB, free: 80.43 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.0002036/0.6164, allocations: 173.8 kB / 0.5419 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.6164, allocations: 33.72 kB / 0.5419 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/0.617, allocations: 227.8 kB / 0.5421 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.617, allocations: 2.719 kB / 0.5421 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.617, allocations: 0 / 0.5421 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6171, allocations: 5.469 kB / 0.5421 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.618, allocations: 0.7032 MB / 0.5428 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.618, allocations: 1.375 kB / 0.5428 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.6181, allocations: 29.73 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6181, allocations: 1.375 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6181, allocations: 8.125 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6182, allocations: 1.375 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6182, allocations: 1.375 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.6186, allocations: 428 kB / 0.5432 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.6188, allocations: 138.8 kB / 0.5434 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.6188, allocations: 10.69 kB / 0.5434 GB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.619, allocations: 13.48 kB / 0.5434 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.619, allocations: 20.17 kB / 0.5434 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.6191, allocations: 5.5 kB / 0.5434 GB, free: 79.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000359/0.6194, allocations: 342.5 kB / 0.5438 GB, free: 78.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6194, allocations: 0 / 0.5438 GB, free: 78.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.6199, allocations: 95.23 kB / 0.5438 GB, free: 78.93 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.001603/0.6215, allocations: 0.6717 MB / 0.5445 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.622, allocations: 336.2 kB / 0.5448 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.622, allocations: 0 / 0.5448 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.6222, allocations: 67.31 kB / 0.5449 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.6226, allocations: 52.42 kB / 0.5449 GB, free: 78.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.6238, allocations: 0.6011 MB / 0.5455 GB, free: 77.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.6241, allocations: 0.7856 MB / 0.5463 GB, free: 77.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.6243, allocations: 38.78 kB / 0.5463 GB, free: 77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.6243, allocations: 23.44 kB / 0.5463 GB, free: 76.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6243, allocations: 0 / 0.5463 GB, free: 76.99 MB / 378.7 MB Notification: Performance of Templates: time 0.009084/0.6334, allocations: 3.544 MB / 0.5498 GB, free: 75.2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1)