Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001296/0.001296, 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.754/1.754, 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.001779/0.001779, allocations: 108.3 kB / 252.6 MB, free: 4.852 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.2005/0.2005, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.512e-05/4.53e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5666, allocations: 82.06 MB / 0.5246 GB, free: 9.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.567, allocations: 70.97 kB / 0.5247 GB, free: 9.055 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. Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.5787, allocations: 4.62 MB / 0.5292 GB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5787, allocations: 0 / 0.5292 GB, free: 5.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5787, allocations: 4 kB / 0.5292 GB, free: 5.395 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003998/0.5792, allocations: 465 kB / 0.5296 GB, free: 4.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5792, allocations: 16.03 kB / 0.5297 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.5793, allocations: 7.906 kB / 0.5297 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.5795, allocations: 210.5 kB / 0.5299 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5796, allocations: 0 / 0.5299 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.5796, allocations: 8 kB / 0.5299 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5797, allocations: 53.3 kB / 0.5299 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5798, allocations: 0 / 0.5299 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.5798, allocations: 3.953 kB / 0.5299 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5798, allocations: 0 / 0.5299 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.5799, allocations: 23.69 kB / 0.53 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.5803, allocations: 323.5 kB / 0.5303 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.5804, allocations: 58.48 kB / 0.5303 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.5804, allocations: 16.67 kB / 0.5303 GB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5805, allocations: 0 / 0.5303 GB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.5806, allocations: 79.03 kB / 0.5304 GB, free: 4.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5806, allocations: 0 / 0.5304 GB, free: 4.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004387/0.581, allocations: 167.6 kB / 0.5306 GB, free: 3.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5811, allocations: 59.39 kB / 0.5306 GB, free: 3.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.5812, allocations: 174.2 kB / 0.5308 GB, free: 3.688 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5813, allocations: 29.64 kB / 0.5308 GB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.5813, allocations: 103.8 kB / 0.5309 GB, free: 3.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.5813, allocations: 27.45 kB / 0.5309 GB, free: 3.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.5814, allocations: 7.938 kB / 0.531 GB, free: 3.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.5814, allocations: 322.7 kB / 0.5313 GB, free: 3.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.5815, allocations: 35.06 kB / 0.5313 GB, free: 3.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.5816, allocations: 49.22 kB / 0.5313 GB, free: 3.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.933e-05/0.5816, allocations: 73.11 kB / 0.5314 GB, free: 3.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5816, allocations: 0 / 0.5314 GB, free: 3.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000239/0.5819, allocations: 177.9 kB / 0.5316 GB, free: 2.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5819, allocations: 41.72 kB / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.582, allocations: 0 / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.582, allocations: 96 / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.5821, allocations: 15.94 kB / 0.5316 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5821, allocations: 7.938 kB / 0.5316 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.5821, allocations: 12.11 kB / 0.5317 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5822, allocations: 4 kB / 0.5317 GB, free: 2.852 MB / 346.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 () * 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 5.399e-05/0.5822, allocations: 108.7 kB / 0.5318 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.5822, allocations: 19.86 kB / 0.5318 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.5824, allocations: 122.1 kB / 0.5319 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5825, allocations: 0 / 0.5319 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5825, allocations: 0 / 0.5319 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5825, allocations: 0 / 0.5319 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.5828, allocations: 413.3 kB / 0.5323 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5828, allocations: 0 / 0.5323 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.5828, allocations: 12 kB / 0.5323 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5829, allocations: 4.031 kB / 0.5323 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5829, allocations: 3.562 kB / 0.5323 GB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5829, allocations: 7.984 kB / 0.5323 GB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5829, allocations: 0 / 0.5323 GB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.583, allocations: 217.2 kB / 0.5325 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.5831, allocations: 100.7 kB / 0.5326 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.5831, allocations: 4 kB / 0.5326 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.5832, allocations: 7.938 kB / 0.5326 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.5833, allocations: 11.92 kB / 0.5326 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5833, allocations: 4 kB / 0.5326 GB, free: 1.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.5834, allocations: 148 kB / 0.5328 GB, free: 1.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5834, allocations: 0 / 0.5328 GB, free: 1.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.5836, allocations: 43.75 kB / 0.5328 GB, free: 1.656 MB / 346.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) * 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.0008548/0.5845, allocations: 394.2 kB / 0.5332 GB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5847, allocations: 167.8 kB / 0.5334 GB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5847, allocations: 0 / 0.5334 GB, free: 1.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.5848, allocations: 34.36 kB / 0.5334 GB, free: 1.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.585, allocations: 22.5 kB / 0.5334 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.5854, allocations: 174.7 kB / 0.5336 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.5855, allocations: 0.7084 MB / 0.5343 GB, free: 268 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.5856, allocations: 16.56 kB / 0.5343 GB, free: 252 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.5856, allocations: 18.69 kB / 0.5343 GB, free: 236 kB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5856, allocations: 0 / 0.5343 GB, free: 236 kB / 346.7 MB Notification: Performance of Templates: time 0.004774/0.5904, allocations: 1.757 MB / 0.536 GB, free: 14.5 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)