Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01202/0.01202, allocations: 176 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.642/1.642, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.001725/0.001725, allocations: 120.6 kB / 255.6 MB, free: 11.2 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.208/0.208, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 14 kB / 406.2 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 54.87 MB / 461 MB, free: 3.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.2882, allocations: 82.15 MB / 0.5304 GB, free: 1.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.2886, allocations: 79.95 kB / 0.5305 GB, free: 1.066 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. Notification: Performance of FrontEnd - DAE generated: time 0.3057/0.5943, allocations: 4.875 MB / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5944, allocations: 0 / 0.5353 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.5944, allocations: 2.281 kB / 0.5353 GB, free: 82.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000618/0.595, allocations: 0.4923 MB / 0.5358 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.5951, allocations: 9.281 kB / 0.5358 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.5951, allocations: 19.92 kB / 0.5358 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.5955, allocations: 217 kB / 0.536 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5956, allocations: 6.891 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.5956, allocations: 5.359 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5958, allocations: 59.06 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5958, allocations: 1.062 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5958, allocations: 3.953 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5958, allocations: 1.531 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.5959, allocations: 20.92 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.5965, allocations: 336.3 kB / 0.5364 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.5967, allocations: 58.16 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5967, allocations: 1.062 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.5969, allocations: 80.7 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5969, allocations: 0 / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006619/0.5976, allocations: 189.2 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.5976, allocations: 56.44 kB / 0.5368 GB, free: 81.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.5979, allocations: 234.4 kB / 0.537 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5979, allocations: 30.52 kB / 0.537 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.598, allocations: 111.5 kB / 0.5371 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.5981, allocations: 24.28 kB / 0.5372 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.5981, allocations: 6.594 kB / 0.5372 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.5982, allocations: 324.7 kB / 0.5375 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.5983, allocations: 36.64 kB / 0.5375 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.5984, allocations: 56.11 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.5985, allocations: 70.73 kB / 0.5376 GB, free: 81.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5985, allocations: 0 / 0.5376 GB, free: 81.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003123/0.5989, allocations: 187.6 kB / 0.5378 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.5989, allocations: 43.75 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5989, allocations: 0.7969 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5989, allocations: 1.344 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.599, allocations: 20.33 kB / 0.5379 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5991, allocations: 0.6094 kB / 0.5379 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.5991, allocations: 9.75 kB / 0.5379 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.5991, allocations: 4.859 kB / 0.5379 GB, free: 81.01 MB / 378.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 () * Number of clocked 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 0.0001112/0.5993, allocations: 142.7 kB / 0.538 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.5993, allocations: 19.38 kB / 0.5381 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5996, allocations: 132 kB / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5996, allocations: 2.125 kB / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5996, allocations: 0 / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5996, allocations: 0.7969 kB / 0.5382 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.6002, allocations: 439 kB / 0.5386 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6002, allocations: 3.047 kB / 0.5386 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.6003, allocations: 12.88 kB / 0.5386 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6003, allocations: 1.25 kB / 0.5386 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.6003, allocations: 5.266 kB / 0.5386 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.6003, allocations: 1.688 kB / 0.5386 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6003, allocations: 1.25 kB / 0.5386 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.6006, allocations: 230.5 kB / 0.5388 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.6007, allocations: 105.6 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.6007, allocations: 7.219 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.6008, allocations: 2.172 kB / 0.539 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.6008, allocations: 7.312 kB / 0.539 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6008, allocations: 7 kB / 0.539 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.601, allocations: 189.8 kB / 0.5391 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.601, allocations: 0 / 0.5391 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000296/0.6014, allocations: 48.28 kB / 0.5392 GB, free: 80.15 MB / 378.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) * Number of clocked states: 0 () * 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.001023/0.6024, allocations: 442 kB / 0.5396 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.6027, allocations: 175 kB / 0.5398 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6027, allocations: 0 / 0.5398 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.6028, allocations: 33 kB / 0.5398 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.6031, allocations: 27.48 kB / 0.5398 GB, free: 79.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.6038, allocations: 318.9 kB / 0.5401 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.604, allocations: 0.7226 MB / 0.5408 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.6041, allocations: 20.27 kB / 0.5409 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/0.6041, allocations: 19.19 kB / 0.5409 GB, free: 78.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6041, allocations: 0 / 0.5409 GB, free: 78.88 MB / 378.7 MB Notification: Performance of Templates: time 0.005957/0.6101, allocations: 1.866 MB / 0.5427 GB, free: 78.68 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)