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.001424/0.001424, allocations: 185.8 kB / 7.653 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.492/1.492, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001755/0.001755, allocations: 116.7 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1942/0.1942, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.183e-05, allocations: 8 kB / 393.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 54.87 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4369, allocations: 81.5 MB / 0.5173 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4371, allocations: 67.97 kB / 0.5174 GB, free: 11.99 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. [/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.01915/0.4563, allocations: 7.012 MB / 0.5242 GB, free: 4.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4563, allocations: 0 / 0.5242 GB, free: 4.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.4563, allocations: 4 kB / 0.5242 GB, free: 4.961 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006809/0.457, allocations: 0.6292 MB / 0.5248 GB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4571, allocations: 16.03 kB / 0.5248 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.4572, allocations: 27.62 kB / 0.5249 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.4576, allocations: 291.9 kB / 0.5251 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4576, allocations: 4 kB / 0.5252 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4577, allocations: 11.95 kB / 0.5252 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.4578, allocations: 39.97 kB / 0.5252 GB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.458, allocations: 91.31 kB / 0.5253 GB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.458, allocations: 4 kB / 0.5253 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.458, allocations: 0 / 0.5253 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.458, allocations: 0 / 0.5253 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.4586, allocations: 497.4 kB / 0.5258 GB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.4588, allocations: 105.4 kB / 0.5259 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.4589, allocations: 41.84 kB / 0.5259 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4589, allocations: 3.984 kB / 0.5259 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.4591, allocations: 108.9 kB / 0.526 GB, free: 2.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.4591, allocations: 4 kB / 0.526 GB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007022/0.4598, allocations: 331.9 kB / 0.5263 GB, free: 2.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4599, allocations: 77.11 kB / 0.5264 GB, free: 2.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.4603, allocations: 409.6 kB / 0.5268 GB, free: 2.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4604, allocations: 37.62 kB / 0.5268 GB, free: 2.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4605, allocations: 160.5 kB / 0.527 GB, free: 1.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.4606, allocations: 43.36 kB / 0.527 GB, free: 1.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.4606, allocations: 0 / 0.527 GB, free: 1.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4608, allocations: 354.8 kB / 0.5274 GB, free: 1.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.4609, allocations: 64.17 kB / 0.5274 GB, free: 1.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4611, allocations: 103.5 kB / 0.5275 GB, free: 1.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4612, allocations: 71.97 kB / 0.5276 GB, free: 1.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4612, allocations: 4 kB / 0.5276 GB, free: 1.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003971/0.4616, allocations: 245.2 kB / 0.5278 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.4617, allocations: 71.39 kB / 0.5279 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4617, allocations: 0 / 0.5279 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4617, allocations: 7.984 kB / 0.5279 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.4619, allocations: 31.92 kB / 0.5279 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4619, allocations: 4 kB / 0.5279 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.462, allocations: 15.92 kB / 0.528 GB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4621, allocations: 12 kB / 0.528 GB, free: 0.8203 MB / 378.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.0001178/0.4622, allocations: 125.1 kB / 0.5281 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.4622, allocations: 31.62 kB / 0.5281 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.4626, allocations: 200.4 kB / 0.5283 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4626, allocations: 4 kB / 0.5283 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4626, allocations: 3.938 kB / 0.5283 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4626, allocations: 0 / 0.5283 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/0.7217, allocations: 0.6501 MB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.7218, allocations: 4.906 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.7219, allocations: 20.69 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.722, allocations: 2.375 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.722, allocations: 5.891 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.722, allocations: 2.219 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.722, allocations: 1.031 kB / 0.529 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.7226, allocations: 410.5 kB / 0.5294 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.7229, allocations: 136 kB / 0.5295 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.723, allocations: 12.41 kB / 0.5295 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.7233, allocations: 10.33 kB / 0.5295 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.7234, allocations: 14.97 kB / 0.5295 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.7234, allocations: 9.5 kB / 0.5296 GB, free: 85.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005651/0.724, allocations: 324.3 kB / 0.5299 GB, free: 85.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.724, allocations: 0 / 0.5299 GB, free: 85.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006224/0.7246, allocations: 87.33 kB / 0.5299 GB, free: 85.2 MB / 378.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.001455/0.7261, allocations: 0.551 MB / 0.5305 GB, free: 84.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000515/0.7266, allocations: 311.8 kB / 0.5308 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7266, allocations: 4.594 kB / 0.5308 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.7268, allocations: 56.69 kB / 0.5308 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.7273, allocations: 41.36 kB / 0.5309 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.7282, allocations: 437.7 kB / 0.5313 GB, free: 84.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.7285, allocations: 0.7816 MB / 0.5321 GB, free: 83.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.7287, allocations: 34.97 kB / 0.5321 GB, free: 83.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.7288, allocations: 29.05 kB / 0.5321 GB, free: 83.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.7288, allocations: 2.625 kB / 0.5321 GB, free: 83.95 MB / 378.7 MB Notification: Performance of Templates: time 0.009261/0.7381, allocations: 3.321 MB / 0.5354 GB, free: 83.6 MB / 378.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)