Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008696/0.008696, allocations: 175.5 kB / 15.12 MB, free: 5.973 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.696/1.696, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.002051/0.002051, allocations: 116.5 kB / 255.6 MB, free: 10.16 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.1943/0.1943, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 14 kB / 406.2 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.2519, allocations: 82.12 MB / 0.5304 GB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.2523, allocations: 75.91 kB / 0.5305 GB, free: 0.9961 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.2677/0.5201, allocations: 4.524 MB / 0.5349 GB, free: 82.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5201, allocations: 0.75 kB / 0.5349 GB, free: 82.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5201, allocations: 2.531 kB / 0.5349 GB, free: 82.99 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.000584/0.5207, allocations: 486.1 kB / 0.5354 GB, free: 82.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5207, allocations: 10.59 kB / 0.5354 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.5208, allocations: 11.44 kB / 0.5354 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.5211, allocations: 206.3 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.5212, allocations: 3 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5212, allocations: 4.344 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.5214, allocations: 57.89 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5214, allocations: 4 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5215, allocations: 8.438 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5215, allocations: 0 / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.5216, allocations: 26.34 kB / 0.5357 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.522, allocations: 314.1 kB / 0.536 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5222, allocations: 57.67 kB / 0.536 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5223, allocations: 5.984 kB / 0.5361 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.5224, allocations: 74.09 kB / 0.5361 GB, free: 81.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.5224, allocations: 0 / 0.5361 GB, free: 81.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006583/0.5231, allocations: 183.9 kB / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5231, allocations: 57.12 kB / 0.5364 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5233, allocations: 176.8 kB / 0.5365 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5234, allocations: 36.25 kB / 0.5366 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.5234, allocations: 98.81 kB / 0.5367 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.5235, allocations: 21.94 kB / 0.5367 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.5235, allocations: 5.094 kB / 0.5367 GB, free: 81.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.5235, allocations: 321.4 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.5237, allocations: 38.44 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5238, allocations: 55.53 kB / 0.5371 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.5239, allocations: 74.36 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5239, allocations: 1 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003063/0.5242, allocations: 190.9 kB / 0.5373 GB, free: 81.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.5243, allocations: 38.7 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5243, allocations: 5.906 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5243, allocations: 0.875 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.5244, allocations: 19.7 kB / 0.5374 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5244, allocations: 1 kB / 0.5374 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.5245, allocations: 9.047 kB / 0.5374 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.5245, allocations: 9.156 kB / 0.5374 GB, free: 81.07 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.0001105/0.5246, allocations: 127.7 kB / 0.5375 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5247, allocations: 10.2 kB / 0.5375 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.525, allocations: 129.2 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.525, allocations: 1.703 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.525, allocations: 0 / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.525, allocations: 0.6562 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.5255, allocations: 422.2 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5256, allocations: 0.5625 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.5256, allocations: 10.28 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5256, allocations: 1.188 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.5256, allocations: 5.203 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5256, allocations: 1.875 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5256, allocations: 1.531 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.5259, allocations: 224.7 kB / 0.5383 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.5261, allocations: 109.1 kB / 0.5384 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.5261, allocations: 6.719 kB / 0.5384 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.5262, allocations: 3.172 kB / 0.5384 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.5262, allocations: 9.672 kB / 0.5384 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5262, allocations: 5.016 kB / 0.5384 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.5264, allocations: 149.4 kB / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5264, allocations: 0 / 0.5386 GB, free: 80.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.5267, allocations: 42.23 kB / 0.5386 GB, free: 80.21 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.001033/0.5277, allocations: 432.6 kB / 0.539 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.5281, allocations: 171.1 kB / 0.5392 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5281, allocations: 3.938 kB / 0.5392 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.5282, allocations: 38.22 kB / 0.5392 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.5284, allocations: 24.78 kB / 0.5393 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.5289, allocations: 256.1 kB / 0.5395 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5291, allocations: 0.707 MB / 0.5402 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.5292, allocations: 16.77 kB / 0.5402 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.5293, allocations: 15.66 kB / 0.5402 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5293, allocations: 0 / 0.5402 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005237/0.5345, allocations: 1.753 MB / 0.5419 GB, free: 78.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)