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.001125/0.001125, allocations: 181.9 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.576/1.576, allocations: 194.3 MB / 207.5 MB, free: 3.473 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.001731/0.001731, allocations: 110.6 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.203/0.203, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.98e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 54.87 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5859, allocations: 82.17 MB / 0.5247 GB, free: 8.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5863, allocations: 72.59 kB / 0.5248 GB, free: 8.914 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. [/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.01714/0.6034, allocations: 7.072 MB / 0.5317 GB, free: 3.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6035, allocations: 3.938 kB / 0.5317 GB, free: 3.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.6035, allocations: 4 kB / 0.5317 GB, free: 3.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006082/0.6041, allocations: 0.6201 MB / 0.5323 GB, free: 2.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.6042, allocations: 12.03 kB / 0.5323 GB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.6043, allocations: 35.56 kB / 0.5324 GB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.6047, allocations: 291.2 kB / 0.5326 GB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.6048, allocations: 8 kB / 0.5326 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.6048, allocations: 19.8 kB / 0.5327 GB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.605, allocations: 94.67 kB / 0.5328 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.605, allocations: 3.938 kB / 0.5328 GB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.6051, allocations: 7.922 kB / 0.5328 GB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6051, allocations: 0 / 0.5328 GB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.6052, allocations: 47.67 kB / 0.5328 GB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.6057, allocations: 0.5058 MB / 0.5333 GB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.6059, allocations: 115.9 kB / 0.5334 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.606, allocations: 49.27 kB / 0.5335 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.606, allocations: 0 / 0.5335 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.6062, allocations: 104.5 kB / 0.5336 GB, free: 1.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6062, allocations: 0 / 0.5336 GB, free: 1.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007216/0.6069, allocations: 357.5 kB / 0.5339 GB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.607, allocations: 88.97 kB / 0.534 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.6074, allocations: 429.2 kB / 0.5344 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.6074, allocations: 32.7 kB / 0.5344 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.6075, allocations: 152.2 kB / 0.5346 GB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.6076, allocations: 49.66 kB / 0.5346 GB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.6076, allocations: 3.812 kB / 0.5346 GB, free: 412 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.6077, allocations: 352.8 kB / 0.535 GB, free: 64 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6078, allocations: 69.5 kB / 0.535 GB, free: 16 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.608, allocations: 105 kB / 0.5351 GB, free: 15.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.6082, allocations: 141.2 kB / 0.5353 GB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6082, allocations: 4 kB / 0.5353 GB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004825/0.6087, allocations: 330.8 kB / 0.5356 GB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.6088, allocations: 70.83 kB / 0.5356 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6088, allocations: 4 kB / 0.5357 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.6088, allocations: 0 / 0.5357 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.609, allocations: 35.92 kB / 0.5357 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.609, allocations: 0 / 0.5357 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.6091, allocations: 15.88 kB / 0.5357 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.6092, allocations: 19.86 kB / 0.5357 GB, free: 15.38 MB / 362.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 () * 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.0001086/0.6093, allocations: 124.4 kB / 0.5358 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.6093, allocations: 35.62 kB / 0.5359 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.6097, allocations: 219.4 kB / 0.5361 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6098, allocations: 4 kB / 0.5361 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6098, allocations: 384 / 0.5361 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6098, allocations: 384 / 0.5361 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.6106, allocations: 0.6958 MB / 0.5368 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6107, allocations: 4 kB / 0.5368 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.6107, allocations: 23.3 kB / 0.5368 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6108, allocations: 7.938 kB / 0.5368 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.6108, allocations: 4 kB / 0.5368 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6108, allocations: 0 / 0.5368 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6108, allocations: 0 / 0.5368 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.6112, allocations: 419.5 kB / 0.5372 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.6114, allocations: 139.3 kB / 0.5373 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.6114, allocations: 11.36 kB / 0.5373 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6116, allocations: 7.188 kB / 0.5374 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.6117, allocations: 15.98 kB / 0.5374 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.6117, allocations: 11.3 kB / 0.5374 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004045/0.6121, allocations: 338.3 kB / 0.5377 GB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6121, allocations: 0 / 0.5377 GB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.6126, allocations: 98.17 kB / 0.5378 GB, free: 13.41 MB / 362.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) * 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.0017/0.6143, allocations: 0.588 MB / 0.5384 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.6147, allocations: 330.1 kB / 0.5387 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6147, allocations: 0 / 0.5387 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.6148, allocations: 62.45 kB / 0.5387 GB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.6153, allocations: 51.53 kB / 0.5388 GB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.6162, allocations: 447.3 kB / 0.5392 GB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.6166, allocations: 0.7976 MB / 0.54 GB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.955e-05/0.6167, allocations: 29.33 kB / 0.54 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.834e-05/0.6168, allocations: 31.23 kB / 0.5401 GB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6168, allocations: 0 / 0.5401 GB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.007417/0.6242, allocations: 3.542 MB / 0.5435 GB, free: 7.75 MB / 362.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)