Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001006/0.001006, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.313/1.313, allocations: 170.7 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001718/0.001718, allocations: 107.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1919/0.1919, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.294e-05, allocations: 4.844 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4812, allocations: 75.11 MB / 473.8 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4815, allocations: 69.84 kB / 473.9 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.4942, allocations: 4.292 MB / 478.2 MB, free: 17.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4943, allocations: 1.859 kB / 478.2 MB, free: 17.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.4943, allocations: 1.281 kB / 478.2 MB, free: 17.31 MB / 330.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.0006005/0.4949, allocations: 423.7 kB / 478.6 MB, free: 16.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.495, allocations: 8.844 kB / 478.6 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.4951, allocations: 15.61 kB / 478.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.4954, allocations: 216.2 kB / 478.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4954, allocations: 1.375 kB / 478.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4954, allocations: 6.75 kB / 478.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.64e-05/0.4955, allocations: 13.39 kB / 478.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4957, allocations: 42.3 kB / 478.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4957, allocations: 0 / 478.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4957, allocations: 9.297 kB / 478.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4957, allocations: 5.672 kB / 478.9 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.4961, allocations: 282.9 kB / 479.2 MB, free: 16.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.4963, allocations: 46.38 kB / 479.3 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.4964, allocations: 13.92 kB / 479.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4964, allocations: 1.375 kB / 479.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4966, allocations: 53.91 kB / 479.3 MB, free: 16.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.4966, allocations: 0 / 479.3 MB, free: 16.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004734/0.4971, allocations: 119.5 kB / 479.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4971, allocations: 54.41 kB / 479.5 MB, free: 16.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.4974, allocations: 217.2 kB / 479.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4974, allocations: 27.02 kB / 479.7 MB, free: 16.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.4975, allocations: 109.9 kB / 479.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.4975, allocations: 16.09 kB / 479.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.4975, allocations: 0 / 479.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.4976, allocations: 331.8 kB / 480.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.4977, allocations: 17.69 kB / 480.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.4978, allocations: 17.34 kB / 480.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.4978, allocations: 23.7 kB / 480.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4978, allocations: 4 kB / 480.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002074/0.498, allocations: 100.7 kB / 480.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.4981, allocations: 32.17 kB / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4981, allocations: 0 / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.4982, allocations: 2.906 kB / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.4982, allocations: 8.062 kB / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4982, allocations: 64 / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.4983, allocations: 8.734 kB / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4983, allocations: 3.031 kB / 480.4 MB, free: 15.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.233e-05/0.4984, allocations: 117.7 kB / 480.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4984, allocations: 17.75 kB / 480.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.4987, allocations: 92.14 kB / 480.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4987, allocations: 1.281 kB / 480.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4987, allocations: 0 / 480.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4987, allocations: 1.734 kB / 480.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.4991, allocations: 357.2 kB / 481 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4992, allocations: 3.938 kB / 481 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.4992, allocations: 12.67 kB / 481 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4992, allocations: 3.938 kB / 481 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4992, allocations: 1.156 kB / 481 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4992, allocations: 1.094 kB / 481 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4992, allocations: 0 / 481 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.4995, allocations: 176.8 kB / 481.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.4995, allocations: 96.06 kB / 481.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4996, allocations: 2.969 kB / 481.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.4997, allocations: 9.375 kB / 481.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.4997, allocations: 4.625 kB / 481.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.4997, allocations: 3.031 kB / 481.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.4999, allocations: 176.7 kB / 481.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4999, allocations: 0 / 481.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.5003, allocations: 30.62 kB / 481.5 MB, free: 14.8 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000721/0.501, allocations: 307.3 kB / 481.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.5012, allocations: 105.3 kB / 481.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5012, allocations: 0 / 481.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.5013, allocations: 28.69 kB / 481.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.5016, allocations: 23.11 kB / 481.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.502, allocations: 183.7 kB / 482.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.5029, allocations: 0.7156 MB / 482.8 MB, free: 29.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.503, allocations: 15 kB / 482.8 MB, free: 29.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.503, allocations: 16.02 kB / 482.9 MB, free: 29.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.714e-06/0.503, allocations: 1.031 kB / 482.9 MB, free: 29.71 MB / 346.7 MB Notification: Performance of Templates: time 0.004755/0.5078, allocations: 1.559 MB / 484.4 MB, free: 29.52 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)