Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001572/0.001572, allocations: 181.1 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.847/1.847, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001641/0.001641, allocations: 112.2 kB / 252.6 MB, free: 4.84 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.2165/0.2165, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.098e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5696, allocations: 81.9 MB / 0.5245 GB, free: 9.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5699, allocations: 71.41 kB / 0.5245 GB, free: 9.094 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01094/0.5809, allocations: 4.396 MB / 0.5288 GB, free: 5.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5809, allocations: 0 / 0.5288 GB, free: 5.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.5809, allocations: 0 / 0.5288 GB, free: 5.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000387/0.5813, allocations: 460.4 kB / 0.5293 GB, free: 5.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5813, allocations: 8.031 kB / 0.5293 GB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.5814, allocations: 11.91 kB / 0.5293 GB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.5816, allocations: 205.5 kB / 0.5295 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5817, allocations: 4 kB / 0.5295 GB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.5817, allocations: 4 kB / 0.5295 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.5818, allocations: 48.8 kB / 0.5295 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.5818, allocations: 0 / 0.5295 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5818, allocations: 7.953 kB / 0.5295 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5818, allocations: 4 kB / 0.5295 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.5819, allocations: 11.69 kB / 0.5296 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.5821, allocations: 196 kB / 0.5297 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5822, allocations: 57.5 kB / 0.5298 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.5822, allocations: 20.62 kB / 0.5298 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.5823, allocations: 0 / 0.5298 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.5824, allocations: 66.41 kB / 0.5299 GB, free: 4.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.5824, allocations: 0 / 0.5299 GB, free: 4.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000197/0.5826, allocations: 91.28 kB / 0.53 GB, free: 4.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5826, allocations: 55.41 kB / 0.53 GB, free: 4.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5828, allocations: 163 kB / 0.5302 GB, free: 4.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.5828, allocations: 33.27 kB / 0.5302 GB, free: 4.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.5829, allocations: 95.5 kB / 0.5303 GB, free: 4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.5829, allocations: 15.31 kB / 0.5303 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.5829, allocations: 4 kB / 0.5303 GB, free: 3.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.583, allocations: 322.5 kB / 0.5306 GB, free: 3.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.5831, allocations: 38.03 kB / 0.5307 GB, free: 3.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.5831, allocations: 44.33 kB / 0.5307 GB, free: 3.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.5832, allocations: 63.12 kB / 0.5308 GB, free: 3.547 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5832, allocations: 0 / 0.5308 GB, free: 3.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001896/0.5834, allocations: 152.8 kB / 0.5309 GB, free: 3.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5835, allocations: 37.69 kB / 0.5309 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5835, allocations: 0 / 0.5309 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5835, allocations: 0 / 0.5309 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.5836, allocations: 11.94 kB / 0.531 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5836, allocations: 7.953 kB / 0.531 GB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.5837, allocations: 19.83 kB / 0.531 GB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5837, allocations: 7.125 kB / 0.531 GB, free: 3.324 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 (8): * Single equations (assignments): 7 * 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 7.102e-05/0.5838, allocations: 110.5 kB / 0.5311 GB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.5838, allocations: 11.94 kB / 0.5311 GB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.584, allocations: 90.27 kB / 0.5312 GB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-06/0.584, allocations: 0 / 0.5312 GB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.584, allocations: 3.938 kB / 0.5312 GB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.584, allocations: 7.938 kB / 0.5312 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.5842, allocations: 183.5 kB / 0.5314 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5842, allocations: 192 / 0.5314 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.5842, allocations: 8 kB / 0.5314 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5842, allocations: 4 kB / 0.5314 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5842, allocations: 3.984 kB / 0.5314 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5842, allocations: 4 kB / 0.5314 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5842, allocations: 0 / 0.5314 GB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.5844, allocations: 116.6 kB / 0.5315 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.5845, allocations: 96.17 kB / 0.5316 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.5845, allocations: 3.984 kB / 0.5316 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.5846, allocations: 4 kB / 0.5316 GB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.5846, allocations: 3.312 kB / 0.5316 GB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.5846, allocations: 8 kB / 0.5316 GB, free: 2.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.5848, allocations: 139.6 kB / 0.5318 GB, free: 2.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5848, allocations: 0 / 0.5318 GB, free: 2.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002943/0.5851, allocations: 38.81 kB / 0.5318 GB, free: 2.469 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009598/0.5861, allocations: 350 kB / 0.5321 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.5864, allocations: 147.2 kB / 0.5323 GB, free: 2.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5864, allocations: 0 / 0.5323 GB, free: 2.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.5864, allocations: 22.62 kB / 0.5323 GB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.5867, allocations: 23.17 kB / 0.5323 GB, free: 2.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.5871, allocations: 138.6 kB / 0.5324 GB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.5872, allocations: 0.7 MB / 0.5331 GB, free: 1.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.5873, allocations: 19.88 kB / 0.5331 GB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.5873, allocations: 15.44 kB / 0.5332 GB, free: 1.137 MB / 346.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5873, allocations: 0 / 0.5332 GB, free: 1.137 MB / 346.7 MB Notification: Performance of Templates: time 0.003951/0.5913, allocations: 1.505 MB / 0.5346 GB, free: 15.66 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)