Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001152/0.001152, allocations: 175.9 kB / 12.73 MB, free: 2.578 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.644/1.644, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.00165/0.00165, allocations: 110.6 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.2271/0.2271, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.805e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/0.6317, allocations: 82.02 MB / 0.5246 GB, free: 9.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.632, allocations: 70.47 kB / 0.5246 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.01143/0.6435, allocations: 4.467 MB / 0.529 GB, free: 5.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6435, allocations: 3.938 kB / 0.529 GB, free: 5.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.6435, allocations: 4 kB / 0.529 GB, free: 5.531 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.0004191/0.6439, allocations: 453.2 kB / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.644, allocations: 12.03 kB / 0.5295 GB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.6441, allocations: 7.906 kB / 0.5295 GB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.6443, allocations: 209.6 kB / 0.5297 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.6444, allocations: 4 kB / 0.5297 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.6444, allocations: 4 kB / 0.5297 GB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.6445, allocations: 61.11 kB / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6445, allocations: 3.938 kB / 0.5297 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6446, allocations: 3.953 kB / 0.5297 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6446, allocations: 0 / 0.5297 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.6446, allocations: 23.73 kB / 0.5298 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.645, allocations: 311.5 kB / 0.5301 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6451, allocations: 66.12 kB / 0.5301 GB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.6452, allocations: 16.8 kB / 0.5301 GB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6452, allocations: 4 kB / 0.5301 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.6453, allocations: 66.91 kB / 0.5302 GB, free: 4.219 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.6453, allocations: 0 / 0.5302 GB, free: 4.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000435/0.6458, allocations: 158.3 kB / 0.5304 GB, free: 4.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.6458, allocations: 59.41 kB / 0.5304 GB, free: 4.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.646, allocations: 169.4 kB / 0.5306 GB, free: 3.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.646, allocations: 33.64 kB / 0.5306 GB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.646, allocations: 102.4 kB / 0.5307 GB, free: 3.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.6461, allocations: 21.97 kB / 0.5307 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.6461, allocations: 0 / 0.5307 GB, free: 3.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.6461, allocations: 325.5 kB / 0.531 GB, free: 3.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.6462, allocations: 32 kB / 0.5311 GB, free: 3.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.6463, allocations: 54.7 kB / 0.5311 GB, free: 3.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.6463, allocations: 72 kB / 0.5312 GB, free: 3.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.6464, allocations: 0 / 0.5312 GB, free: 3.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000212/0.6466, allocations: 183.3 kB / 0.5314 GB, free: 3.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6466, allocations: 33.7 kB / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6466, allocations: 0 / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.6466, allocations: 0 / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.6467, allocations: 23.92 kB / 0.5314 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6468, allocations: 0 / 0.5314 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.6468, allocations: 7.984 kB / 0.5314 GB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.6468, allocations: 11.47 kB / 0.5314 GB, free: 3.031 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.877e-05/0.6469, allocations: 116.7 kB / 0.5316 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.6469, allocations: 15.77 kB / 0.5316 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.6471, allocations: 119.1 kB / 0.5317 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6471, allocations: 0 / 0.5317 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6471, allocations: 0 / 0.5317 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6472, allocations: 0 / 0.5317 GB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.6475, allocations: 417.6 kB / 0.5321 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6475, allocations: 0 / 0.5321 GB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.6475, allocations: 11.98 kB / 0.5321 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6476, allocations: 0 / 0.5321 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.6476, allocations: 7.938 kB / 0.5321 GB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6476, allocations: 0 / 0.5321 GB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6476, allocations: 3.938 kB / 0.5321 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.6478, allocations: 218.8 kB / 0.5323 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.6478, allocations: 100.5 kB / 0.5324 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6478, allocations: 8.125 kB / 0.5324 GB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.6479, allocations: 7.984 kB / 0.5324 GB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.648, allocations: 10.88 kB / 0.5324 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.648, allocations: 4 kB / 0.5324 GB, free: 1.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.6481, allocations: 140.1 kB / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6481, allocations: 4 kB / 0.5326 GB, free: 1.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.6483, allocations: 35.17 kB / 0.5326 GB, free: 1.84 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.0008838/0.6492, allocations: 389.4 kB / 0.533 GB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.6495, allocations: 163.8 kB / 0.5331 GB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6495, allocations: 0 / 0.5331 GB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.791e-05/0.6495, allocations: 36.44 kB / 0.5332 GB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.6498, allocations: 23.69 kB / 0.5332 GB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.6502, allocations: 154.2 kB / 0.5333 GB, free: 1.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.6504, allocations: 0.7118 MB / 0.534 GB, free: 464 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.332e-05/0.6505, allocations: 16.41 kB / 0.534 GB, free: 448 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.6506, allocations: 15.44 kB / 0.5341 GB, free: 432 kB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6506, allocations: 4 kB / 0.5341 GB, free: 428 kB / 346.7 MB Notification: Performance of Templates: time 0.005907/0.6565, allocations: 1.734 MB / 0.5358 GB, free: 14.71 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)