Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 181.8 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.713/1.713, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001688/0.001688, allocations: 118.3 kB / 252.6 MB, free: 4.781 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.2357/0.2357, allocations: 39.93 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.781e-05/6.842e-05, allocations: 12 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1495, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.55/0.6996, allocations: 82.07 MB / 0.5246 GB, free: 9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.6998, allocations: 68.78 kB / 0.5247 GB, free: 8.965 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.0113/0.7111, allocations: 4.496 MB / 0.5291 GB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7112, allocations: 0 / 0.5291 GB, free: 5.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.7112, allocations: 3.938 kB / 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.0004351/0.7116, allocations: 460.9 kB / 0.5295 GB, free: 4.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7117, allocations: 12.02 kB / 0.5295 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.7117, allocations: 11.91 kB / 0.5295 GB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.712, allocations: 210.6 kB / 0.5298 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.712, allocations: 0 / 0.5298 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.7121, allocations: 11.88 kB / 0.5298 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7122, allocations: 53.11 kB / 0.5298 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7122, allocations: 0 / 0.5298 GB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7122, allocations: 7.953 kB / 0.5298 GB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7122, allocations: 0 / 0.5298 GB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.7123, allocations: 19.86 kB / 0.5298 GB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.7126, allocations: 308.1 kB / 0.5301 GB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7127, allocations: 56.44 kB / 0.5302 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.7128, allocations: 19.73 kB / 0.5302 GB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.7128, allocations: 4 kB / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.7129, allocations: 70.59 kB / 0.5303 GB, free: 4.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.7129, allocations: 0 / 0.5303 GB, free: 4.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004185/0.7133, allocations: 170.5 kB / 0.5304 GB, free: 3.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.7134, allocations: 51.41 kB / 0.5305 GB, free: 3.906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.7135, allocations: 158.3 kB / 0.5306 GB, free: 3.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.7135, allocations: 32.7 kB / 0.5307 GB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.7136, allocations: 95.52 kB / 0.5308 GB, free: 3.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.7136, allocations: 27.2 kB / 0.5308 GB, free: 3.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.7136, allocations: 11.69 kB / 0.5308 GB, free: 3.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.7137, allocations: 322.1 kB / 0.5311 GB, free: 3.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.7137, allocations: 34.69 kB / 0.5311 GB, free: 3.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.7138, allocations: 51.83 kB / 0.5312 GB, free: 3.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.7139, allocations: 67.44 kB / 0.5313 GB, free: 3.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.7139, allocations: 4 kB / 0.5313 GB, free: 3.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001966/0.7141, allocations: 179.6 kB / 0.5314 GB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.7141, allocations: 37.69 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7141, allocations: 0 / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7142, allocations: 0 / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.041e-05/0.7143, allocations: 23.23 kB / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7143, allocations: 0 / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.7143, allocations: 4 kB / 0.5315 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7143, allocations: 4 kB / 0.5315 GB, free: 2.934 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 5.395e-05/0.7144, allocations: 116.8 kB / 0.5316 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.7144, allocations: 11.86 kB / 0.5316 GB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.7146, allocations: 124 kB / 0.5317 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7146, allocations: 0 / 0.5317 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7146, allocations: 0 / 0.5317 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7147, allocations: 0 / 0.5317 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.715, allocations: 409.6 kB / 0.5321 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.715, allocations: 4.031 kB / 0.5321 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.715, allocations: 8 kB / 0.5321 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.715, allocations: 0 / 0.5321 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7151, allocations: 4 kB / 0.5321 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7151, allocations: 0 / 0.5321 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7151, allocations: 0 / 0.5321 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.7152, allocations: 230.8 kB / 0.5324 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.7153, allocations: 96.88 kB / 0.5325 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.7153, allocations: 4.219 kB / 0.5325 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.7154, allocations: 4 kB / 0.5325 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.7155, allocations: 7.984 kB / 0.5325 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7155, allocations: 11.31 kB / 0.5325 GB, free: 1.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.359e-05/0.7156, allocations: 125.9 kB / 0.5326 GB, free: 1.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7156, allocations: 0 / 0.5326 GB, free: 1.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000245/0.7158, allocations: 47.86 kB / 0.5326 GB, free: 1.754 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.0008272/0.7166, allocations: 399.2 kB / 0.533 GB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.7169, allocations: 165.5 kB / 0.5332 GB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7169, allocations: 0 / 0.5332 GB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.7169, allocations: 25.88 kB / 0.5332 GB, free: 1.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.7171, allocations: 23.44 kB / 0.5332 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.7175, allocations: 159.3 kB / 0.5334 GB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.7176, allocations: 0.7076 MB / 0.5341 GB, free: 380 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.7177, allocations: 16.58 kB / 0.5341 GB, free: 364 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.7177, allocations: 19.42 kB / 0.5341 GB, free: 344 kB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7177, allocations: 0 / 0.5341 GB, free: 344 kB / 346.7 MB Notification: Performance of Templates: time 0.004059/0.7218, allocations: 1.708 MB / 0.5358 GB, free: 14.64 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)