Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001128/0.001128, 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.577/1.577, 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.001751/0.001751, allocations: 111.5 kB / 252.6 MB, free: 4.832 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.2064/0.2064, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.452e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4986/0.6317, allocations: 82.06 MB / 0.5246 GB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.632, allocations: 74.52 kB / 0.5247 GB, free: 9.043 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.01154/0.6436, allocations: 4.63 MB / 0.5292 GB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6436, allocations: 0 / 0.5292 GB, free: 5.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.6436, allocations: 0 / 0.5292 GB, free: 5.383 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.0004773/0.6441, allocations: 465 kB / 0.5297 GB, free: 4.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.6442, allocations: 8.031 kB / 0.5297 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.6442, allocations: 15.89 kB / 0.5297 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.6445, allocations: 209.2 kB / 0.5299 GB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.6446, allocations: 4 kB / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.6446, allocations: 7.875 kB / 0.5299 GB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.6447, allocations: 53.17 kB / 0.5299 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6448, allocations: 0 / 0.5299 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6448, allocations: 7.953 kB / 0.53 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6448, allocations: 0 / 0.53 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.6449, allocations: 23.73 kB / 0.53 GB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.6452, allocations: 311.3 kB / 0.5303 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.6454, allocations: 53.81 kB / 0.5303 GB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.6454, allocations: 24.47 kB / 0.5303 GB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.6454, allocations: 4 kB / 0.5304 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.6456, allocations: 71.05 kB / 0.5304 GB, free: 4.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.6456, allocations: 0 / 0.5304 GB, free: 4.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004781/0.646, allocations: 172 kB / 0.5306 GB, free: 3.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.6461, allocations: 51.41 kB / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.6462, allocations: 178.3 kB / 0.5308 GB, free: 3.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6463, allocations: 29.7 kB / 0.5308 GB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.6463, allocations: 103.2 kB / 0.5309 GB, free: 3.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.6463, allocations: 27.39 kB / 0.531 GB, free: 3.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.6464, allocations: 4 kB / 0.531 GB, free: 3.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.6464, allocations: 326.5 kB / 0.5313 GB, free: 3.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.6465, allocations: 38.81 kB / 0.5313 GB, free: 3.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.6466, allocations: 53.2 kB / 0.5314 GB, free: 3.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.6467, allocations: 65.19 kB / 0.5314 GB, free: 3.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6467, allocations: 0 / 0.5314 GB, free: 3.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000206/0.6469, allocations: 185.8 kB / 0.5316 GB, free: 2.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6469, allocations: 37.73 kB / 0.5316 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6469, allocations: 0 / 0.5316 GB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.647, allocations: 4 kB / 0.5316 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.647, allocations: 15.98 kB / 0.5317 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6471, allocations: 3.938 kB / 0.5317 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.6471, allocations: 4 kB / 0.5317 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.6471, allocations: 8.125 kB / 0.5317 GB, free: 2.848 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.965e-05/0.6472, allocations: 113 kB / 0.5318 GB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.6472, allocations: 11.86 kB / 0.5318 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.6474, allocations: 126.1 kB / 0.5319 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6475, allocations: 4 kB / 0.5319 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6475, allocations: 0 / 0.5319 GB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6475, allocations: 3.984 kB / 0.5319 GB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.6478, allocations: 413.1 kB / 0.5323 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6478, allocations: 0 / 0.5323 GB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.6479, allocations: 11.98 kB / 0.5323 GB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6479, allocations: 4.031 kB / 0.5323 GB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.6479, allocations: 7.938 kB / 0.5323 GB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6479, allocations: 0 / 0.5323 GB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6479, allocations: 0 / 0.5323 GB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.6481, allocations: 216.7 kB / 0.5325 GB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.6481, allocations: 100.8 kB / 0.5326 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.6482, allocations: 8 kB / 0.5326 GB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.6482, allocations: 7.984 kB / 0.5326 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6483, allocations: 7.906 kB / 0.5327 GB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.6483, allocations: 7.938 kB / 0.5327 GB, free: 1.809 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.399e-05/0.6484, allocations: 144 kB / 0.5328 GB, free: 1.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6484, allocations: 3.938 kB / 0.5328 GB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.6487, allocations: 47.73 kB / 0.5329 GB, free: 1.641 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.0008742/0.6496, allocations: 379.1 kB / 0.5332 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.6498, allocations: 165.7 kB / 0.5334 GB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6498, allocations: 0 / 0.5334 GB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.6499, allocations: 31.31 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.000223/0.6501, allocations: 31.08 kB / 0.5334 GB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.6504, allocations: 177.7 kB / 0.5336 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.6506, allocations: 0.7123 MB / 0.5343 GB, free: 256 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.6507, allocations: 16.38 kB / 0.5343 GB, free: 244 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.6507, allocations: 15.42 kB / 0.5343 GB, free: 228 kB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6507, allocations: 0 / 0.5343 GB, free: 228 kB / 346.7 MB Notification: Performance of Templates: time 0.004521/0.6553, allocations: 1.755 MB / 0.536 GB, free: 14.49 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)