Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001255/0.001255, allocations: 181.8 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.65/1.65, 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.001705/0.001705, allocations: 106.3 kB / 252.6 MB, free: 4.812 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.2161/0.2161, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.342e-05/4.343e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5916/0.7239, allocations: 82.17 MB / 0.5247 GB, free: 8.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.7243, allocations: 70.66 kB / 0.5248 GB, free: 8.906 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.02262/0.7469, allocations: 6.918 MB / 0.5316 GB, free: 3.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7469, allocations: 4 kB / 0.5316 GB, free: 3.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.747, allocations: 0 / 0.5316 GB, free: 3.406 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.0007418/0.7477, allocations: 0.6155 MB / 0.5322 GB, free: 2.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7478, allocations: 8.031 kB / 0.5322 GB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.7479, allocations: 31.61 kB / 0.5322 GB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.7484, allocations: 270.8 kB / 0.5325 GB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.7485, allocations: 7.688 kB / 0.5325 GB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.7485, allocations: 15.86 kB / 0.5325 GB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.7488, allocations: 105.5 kB / 0.5326 GB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.7488, allocations: 3.984 kB / 0.5326 GB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.7488, allocations: 7.938 kB / 0.5326 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.7488, allocations: 0 / 0.5326 GB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.749, allocations: 42.98 kB / 0.5326 GB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.7497, allocations: 0.5021 MB / 0.5331 GB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.7499, allocations: 118.7 kB / 0.5332 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.75, allocations: 36.84 kB / 0.5333 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.75, allocations: 3.562 kB / 0.5333 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.7502, allocations: 111.8 kB / 0.5334 GB, free: 1.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.7503, allocations: 0 / 0.5334 GB, free: 1.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009061/0.7512, allocations: 345.2 kB / 0.5337 GB, free: 1.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.7512, allocations: 77.11 kB / 0.5338 GB, free: 1.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.7518, allocations: 384.6 kB / 0.5341 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.7518, allocations: 33.08 kB / 0.5342 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7519, allocations: 147.8 kB / 0.5343 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.752, allocations: 56.77 kB / 0.5344 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.752, allocations: 7.125 kB / 0.5344 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7522, allocations: 340.1 kB / 0.5347 GB, free: 288 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7523, allocations: 69.06 kB / 0.5348 GB, free: 244 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.7525, allocations: 106.8 kB / 0.5349 GB, free: 156 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.7528, allocations: 150.5 kB / 0.535 GB, free: 24 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7528, allocations: 0 / 0.535 GB, free: 24 kB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007091/0.7535, allocations: 319.4 kB / 0.5353 GB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/0.7536, allocations: 70.95 kB / 0.5354 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7536, allocations: 4 kB / 0.5354 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7537, allocations: 4 kB / 0.5354 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.7539, allocations: 31.98 kB / 0.5354 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7539, allocations: 0 / 0.5354 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.7541, allocations: 23.3 kB / 0.5354 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.7541, allocations: 14.25 kB / 0.5355 GB, free: 15.61 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.0001354/0.7542, allocations: 127.8 kB / 0.5356 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.7543, allocations: 27.62 kB / 0.5356 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.7549, allocations: 218.2 kB / 0.5358 GB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7549, allocations: 4 kB / 0.5358 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7549, allocations: 0 / 0.5358 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7549, allocations: 0 / 0.5358 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.7561, allocations: 0.6854 MB / 0.5365 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7562, allocations: 4 kB / 0.5365 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7563, allocations: 19.98 kB / 0.5365 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.7563, allocations: 4 kB / 0.5365 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.7563, allocations: 2.938 kB / 0.5365 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.7563, allocations: 4 kB / 0.5365 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7563, allocations: 8 kB / 0.5365 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.757, allocations: 408.6 kB / 0.5369 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.7573, allocations: 135.3 kB / 0.5371 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.7574, allocations: 3.438 kB / 0.5371 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.7576, allocations: 15.67 kB / 0.5371 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.7577, allocations: 11.98 kB / 0.5371 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.7577, allocations: 7.688 kB / 0.5371 GB, free: 14.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005076/0.7582, allocations: 305.5 kB / 0.5374 GB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.456e-06/0.7582, allocations: 0 / 0.5374 GB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006794/0.7589, allocations: 93.94 kB / 0.5375 GB, free: 13.69 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.001997/0.7609, allocations: 0.5985 MB / 0.5381 GB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.7615, allocations: 330.7 kB / 0.5384 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7615, allocations: 0 / 0.5384 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7617, allocations: 64.42 kB / 0.5384 GB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.7622, allocations: 47.94 kB / 0.5385 GB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/0.7631, allocations: 407.5 kB / 0.5389 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.7637, allocations: 0.7742 MB / 0.5396 GB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.7639, allocations: 36 kB / 0.5397 GB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.764, allocations: 25.94 kB / 0.5397 GB, free: 11.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.764, allocations: 0 / 0.5397 GB, free: 11.59 MB / 362.7 MB Notification: Performance of Templates: time 0.01002/0.774, allocations: 3.447 MB / 0.543 GB, free: 8.176 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)