Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001231/0.001231, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.619/1.619, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001711/0.001711, allocations: 106.5 kB / 252.6 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2179/0.2179, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.076e-05, allocations: 11.98 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4934/0.6219, allocations: 82.07 MB / 0.5246 GB, free: 9.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.6223, allocations: 74.27 kB / 0.5247 GB, free: 9.023 MB / 346.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.01248/0.6348, allocations: 4.559 MB / 0.5291 GB, free: 5.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6348, allocations: 0 / 0.5291 GB, free: 5.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.6348, allocations: 0 / 0.5291 GB, free: 5.426 MB / 346.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.0004202/0.6353, allocations: 459.6 kB / 0.5296 GB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6353, allocations: 12.03 kB / 0.5296 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.6354, allocations: 7.906 kB / 0.5296 GB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.6356, allocations: 212.5 kB / 0.5298 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6357, allocations: 0 / 0.5298 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.6357, allocations: 7.984 kB / 0.5298 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.6358, allocations: 55.44 kB / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6358, allocations: 0 / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6359, allocations: 7.953 kB / 0.5299 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.6359, allocations: 0 / 0.5299 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.6359, allocations: 19.05 kB / 0.5299 GB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.6363, allocations: 317.4 kB / 0.5302 GB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.6364, allocations: 52.12 kB / 0.5302 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.6365, allocations: 23.59 kB / 0.5303 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.6365, allocations: 8 kB / 0.5303 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.6366, allocations: 65.92 kB / 0.5303 GB, free: 4.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.6367, allocations: 0 / 0.5303 GB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004356/0.6371, allocations: 160.8 kB / 0.5305 GB, free: 3.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6371, allocations: 55.41 kB / 0.5305 GB, free: 3.914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.6373, allocations: 168.8 kB / 0.5307 GB, free: 3.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6373, allocations: 33.2 kB / 0.5307 GB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.6374, allocations: 110.1 kB / 0.5308 GB, free: 3.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.6374, allocations: 23.64 kB / 0.5309 GB, free: 3.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6374, allocations: 4 kB / 0.5309 GB, free: 3.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.6375, allocations: 318.1 kB / 0.5312 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.6375, allocations: 36.75 kB / 0.5312 GB, free: 3.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.6376, allocations: 49.47 kB / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.6377, allocations: 69.67 kB / 0.5313 GB, free: 3.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6377, allocations: 4 kB / 0.5313 GB, free: 3.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002172/0.6379, allocations: 179.6 kB / 0.5315 GB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.638, allocations: 37.69 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.638, allocations: 0 / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.638, allocations: 0 / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.6381, allocations: 19 kB / 0.5315 GB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6381, allocations: 4.062 kB / 0.5316 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.6382, allocations: 7.984 kB / 0.5316 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.6382, allocations: 4.188 kB / 0.5316 GB, free: 2.93 MB / 346.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 () * 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 6.515e-05/0.6383, allocations: 120.1 kB / 0.5317 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.6383, allocations: 19.7 kB / 0.5317 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.6385, allocations: 119 kB / 0.5318 GB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6385, allocations: 4 kB / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.6385, allocations: 0 / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6386, allocations: 4 kB / 0.5318 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.639, allocations: 413.5 kB / 0.5322 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.639, allocations: 0 / 0.5322 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.639, allocations: 8 kB / 0.5322 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.639, allocations: 0 / 0.5322 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.639, allocations: 7.188 kB / 0.5322 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.639, allocations: 0 / 0.5322 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.639, allocations: 0 / 0.5322 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.6392, allocations: 230 kB / 0.5324 GB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.6393, allocations: 100.4 kB / 0.5325 GB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.6393, allocations: 4 kB / 0.5325 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.6394, allocations: 3.625 kB / 0.5326 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.6394, allocations: 11.92 kB / 0.5326 GB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.6395, allocations: 4 kB / 0.5326 GB, free: 1.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.469e-05/0.6396, allocations: 137.1 kB / 0.5327 GB, free: 1.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6396, allocations: 0 / 0.5327 GB, free: 1.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.6398, allocations: 35.05 kB / 0.5327 GB, free: 1.738 MB / 346.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) * 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.0008813/0.6407, allocations: 399.5 kB / 0.5331 GB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.6409, allocations: 157.6 kB / 0.5333 GB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6409, allocations: 0 / 0.5333 GB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.641, allocations: 35.41 kB / 0.5333 GB, free: 1.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.6412, allocations: 30.47 kB / 0.5333 GB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.6416, allocations: 161.1 kB / 0.5335 GB, free: 1.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.6417, allocations: 0.7076 MB / 0.5342 GB, free: 356 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.6418, allocations: 16.56 kB / 0.5342 GB, free: 340 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.6418, allocations: 15.44 kB / 0.5342 GB, free: 324 kB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6418, allocations: 0 / 0.5342 GB, free: 324 kB / 346.7 MB Notification: Performance of Templates: time 0.004421/0.6463, allocations: 1.733 MB / 0.5359 GB, free: 14.61 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)