Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009204/0.009204, allocations: 174.5 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 2.088/2.088, allocations: 194.5 MB / 210.3 MB, free: 8.516 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.001779/0.001779, allocations: 112.6 kB / 255.6 MB, free: 11.13 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.2134/0.2134, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.00044, allocations: 16.47 kB / 406.2 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 54.87 MB / 461 MB, free: 3.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.2686, allocations: 82.26 MB / 0.5306 GB, free: 1.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.2689, allocations: 75.95 kB / 0.5306 GB, free: 0.9531 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.339/0.6079, allocations: 6.954 MB / 0.5374 GB, free: 82.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.608, allocations: 5.188 kB / 0.5374 GB, free: 82.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.608, allocations: 4.875 kB / 0.5374 GB, free: 82.86 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.001103/0.6091, allocations: 0.6498 MB / 0.5381 GB, free: 82.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.6092, allocations: 9.578 kB / 0.5381 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6093, allocations: 30.31 kB / 0.5381 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.61, allocations: 279.5 kB / 0.5384 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.61, allocations: 4.812 kB / 0.5384 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.6101, allocations: 21.05 kB / 0.5384 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.6104, allocations: 95.08 kB / 0.5385 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.6104, allocations: 9.469 kB / 0.5385 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.6104, allocations: 7.328 kB / 0.5385 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6105, allocations: 2.25 kB / 0.5385 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.6106, allocations: 40.27 kB / 0.5385 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.6113, allocations: 0.5026 MB / 0.539 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.6117, allocations: 125.9 kB / 0.5392 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.6117, allocations: 8.422 kB / 0.5392 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.612, allocations: 121.2 kB / 0.5393 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.612, allocations: 0 / 0.5393 GB, free: 81.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001155/0.6132, allocations: 386.8 kB / 0.5396 GB, free: 81.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.6132, allocations: 79.14 kB / 0.5397 GB, free: 81.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.6138, allocations: 392.6 kB / 0.5401 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.6139, allocations: 32.67 kB / 0.5401 GB, free: 81.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.614, allocations: 146.8 kB / 0.5403 GB, free: 81.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.6141, allocations: 46.48 kB / 0.5403 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.6141, allocations: 6.125 kB / 0.5403 GB, free: 81.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6142, allocations: 345.1 kB / 0.5406 GB, free: 80.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.6144, allocations: 71.75 kB / 0.5407 GB, free: 80.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6146, allocations: 114.3 kB / 0.5408 GB, free: 80.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.6148, allocations: 146.1 kB / 0.541 GB, free: 80.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6149, allocations: 1.188 kB / 0.541 GB, free: 80.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005989/0.6155, allocations: 335.7 kB / 0.5413 GB, free: 80.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.6155, allocations: 66.84 kB / 0.5414 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6155, allocations: 1.344 kB / 0.5414 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6156, allocations: 6.719 kB / 0.5414 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.6157, allocations: 38.62 kB / 0.5414 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6158, allocations: 2.188 kB / 0.5414 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.6159, allocations: 19.86 kB / 0.5414 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.6159, allocations: 8.812 kB / 0.5414 GB, free: 80.4 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.0001644/0.6161, allocations: 174.7 kB / 0.5416 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.6161, allocations: 25.22 kB / 0.5416 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.6166, allocations: 234.2 kB / 0.5418 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6166, allocations: 2.656 kB / 0.5418 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6166, allocations: 0 / 0.5418 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6166, allocations: 2.219 kB / 0.5418 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.6175, allocations: 0.689 MB / 0.5425 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6175, allocations: 1.375 kB / 0.5425 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.6176, allocations: 25.11 kB / 0.5425 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6176, allocations: 2.75 kB / 0.5425 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.6176, allocations: 6.75 kB / 0.5426 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6176, allocations: 1.375 kB / 0.5426 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6176, allocations: 1.375 kB / 0.5426 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.618, allocations: 423 kB / 0.543 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.6182, allocations: 138 kB / 0.5431 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.6183, allocations: 8.125 kB / 0.5431 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.6184, allocations: 12.69 kB / 0.5431 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.6185, allocations: 13.27 kB / 0.5431 GB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.6185, allocations: 8.219 kB / 0.5431 GB, free: 79.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.6188, allocations: 305.6 kB / 0.5434 GB, free: 79.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6188, allocations: 0 / 0.5434 GB, free: 79.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.6193, allocations: 92.11 kB / 0.5435 GB, free: 79.11 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.6209, allocations: 0.6751 MB / 0.5442 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.6214, allocations: 330.8 kB / 0.5445 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6215, allocations: 0 / 0.5445 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.6216, allocations: 71.88 kB / 0.5446 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.622, allocations: 53.19 kB / 0.5446 GB, free: 78.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.623, allocations: 0.5536 MB / 0.5451 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.6233, allocations: 0.7764 MB / 0.5459 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.6234, allocations: 33.08 kB / 0.5459 GB, free: 77.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.6235, allocations: 26.94 kB / 0.546 GB, free: 77.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6235, allocations: 1.188 kB / 0.546 GB, free: 77.18 MB / 378.7 MB Notification: Performance of Templates: time 0.007934/0.6315, allocations: 3.432 MB / 0.5493 GB, free: 75.44 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)