Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001261/0.001261, allocations: 182.5 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.623/1.623, 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.001794/0.001793, allocations: 113.2 kB / 252.6 MB, free: 4.828 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.2101/0.2101, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.519e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.5897, allocations: 82.17 MB / 0.5247 GB, free: 8.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.59, allocations: 70.16 kB / 0.5248 GB, free: 8.934 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.01786/0.6079, allocations: 6.753 MB / 0.5314 GB, free: 3.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6079, allocations: 0 / 0.5314 GB, free: 3.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.608, allocations: 8 kB / 0.5314 GB, free: 3.578 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.0005529/0.6085, allocations: 0.5945 MB / 0.532 GB, free: 2.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6086, allocations: 12.03 kB / 0.532 GB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.6087, allocations: 19.81 kB / 0.532 GB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.609, allocations: 266.5 kB / 0.5323 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6091, allocations: 4 kB / 0.5323 GB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.6091, allocations: 15.44 kB / 0.5323 GB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.6093, allocations: 100.8 kB / 0.5324 GB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6093, allocations: 7.953 kB / 0.5324 GB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.6093, allocations: 3.938 kB / 0.5324 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6094, allocations: 0 / 0.5324 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.6094, allocations: 46.8 kB / 0.5324 GB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.61, allocations: 489.5 kB / 0.5329 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.6102, allocations: 120.3 kB / 0.533 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.6103, allocations: 39.59 kB / 0.5331 GB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.6103, allocations: 0 / 0.5331 GB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.6105, allocations: 117.5 kB / 0.5332 GB, free: 1.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.6105, allocations: 0 / 0.5332 GB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007174/0.6112, allocations: 331.9 kB / 0.5335 GB, free: 1.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6113, allocations: 80.86 kB / 0.5336 GB, free: 1.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.6116, allocations: 315.8 kB / 0.5339 GB, free: 1.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6116, allocations: 36.88 kB / 0.5339 GB, free: 1.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.6117, allocations: 133 kB / 0.534 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.6117, allocations: 53.81 kB / 0.5341 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.6117, allocations: 7.5 kB / 0.5341 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.6118, allocations: 337.3 kB / 0.5344 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.612, allocations: 72.67 kB / 0.5345 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6121, allocations: 102.2 kB / 0.5346 GB, free: 452 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.6122, allocations: 148.1 kB / 0.5347 GB, free: 320 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6122, allocations: 4 kB / 0.5347 GB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003927/0.6126, allocations: 321.6 kB / 0.535 GB, free: 40 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.6127, allocations: 70.95 kB / 0.5351 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6128, allocations: 0 / 0.5351 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.6128, allocations: 4 kB / 0.5351 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.613, allocations: 31.92 kB / 0.5351 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.613, allocations: 4 kB / 0.5351 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.6131, allocations: 19.17 kB / 0.5351 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.6131, allocations: 8.062 kB / 0.5352 GB, free: 15.9 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.0001258/0.6133, allocations: 132.3 kB / 0.5353 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.6133, allocations: 19.72 kB / 0.5353 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.6138, allocations: 210.3 kB / 0.5355 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6138, allocations: 3.984 kB / 0.5355 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6138, allocations: 0 / 0.5355 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6138, allocations: 4 kB / 0.5355 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.6147, allocations: 0.6582 MB / 0.5361 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6147, allocations: 3.984 kB / 0.5361 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.6148, allocations: 24.31 kB / 0.5362 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.6148, allocations: 4 kB / 0.5362 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6148, allocations: 11.11 kB / 0.5362 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6148, allocations: 0 / 0.5362 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6148, allocations: 3.938 kB / 0.5362 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.6152, allocations: 408.9 kB / 0.5366 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.6153, allocations: 124 kB / 0.5367 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.6154, allocations: 15.02 kB / 0.5367 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.6155, allocations: 11.94 kB / 0.5367 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.6156, allocations: 15.97 kB / 0.5367 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.6156, allocations: 8 kB / 0.5367 GB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.6158, allocations: 246.6 kB / 0.537 GB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6159, allocations: 0 / 0.537 GB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.6162, allocations: 86.12 kB / 0.5371 GB, free: 14.05 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.001443/0.6177, allocations: 0.5917 MB / 0.5376 GB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.6182, allocations: 328.6 kB / 0.538 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6182, allocations: 0 / 0.538 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.6183, allocations: 67.17 kB / 0.538 GB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.6187, allocations: 46.84 kB / 0.5381 GB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.6193, allocations: 341.9 kB / 0.5384 GB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.6197, allocations: 0.7632 MB / 0.5391 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.397e-05/0.6198, allocations: 29.31 kB / 0.5392 GB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.6199, allocations: 26.94 kB / 0.5392 GB, free: 12.04 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6199, allocations: 0 / 0.5392 GB, free: 12.04 MB / 362.7 MB Notification: Performance of Templates: time 0.006917/0.6268, allocations: 3.309 MB / 0.5424 GB, free: 8.758 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)