Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009142/0.0009142, 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.281/1.281, allocations: 170.6 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.001611/0.001611, allocations: 103.5 kB / 218 MB, free: 8.414 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.2024/0.2024, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.544e-05/1.546e-05, allocations: 5.156 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 48.73 MB / 398.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4766, allocations: 75.1 MB / 473.8 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4769, allocations: 70.56 kB / 473.9 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.4895, allocations: 4.047 MB / 478 MB, free: 33.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4896, allocations: 0 / 478 MB, free: 33.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.4896, allocations: 1.156 kB / 478 MB, free: 33.46 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.0004805/0.4901, allocations: 414.2 kB / 478.4 MB, free: 33.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.4901, allocations: 10.86 kB / 478.4 MB, free: 33.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.4902, allocations: 8.344 kB / 478.4 MB, free: 33.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.4905, allocations: 209.7 kB / 478.6 MB, free: 32.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4905, allocations: 1.156 kB / 478.6 MB, free: 32.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.4905, allocations: 6.219 kB / 478.6 MB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.466e-05/0.4906, allocations: 13.14 kB / 478.6 MB, free: 32.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.115e-05/0.4907, allocations: 48.05 kB / 478.7 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4907, allocations: 0 / 478.7 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4907, allocations: 3.938 kB / 478.7 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4907, allocations: 1.125 kB / 478.7 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.4911, allocations: 271.6 kB / 478.9 MB, free: 32.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4913, allocations: 49.41 kB / 479 MB, free: 32.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.4913, allocations: 12.34 kB / 479 MB, free: 32.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.4914, allocations: 0 / 479 MB, free: 32.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.4915, allocations: 57.62 kB / 479 MB, free: 32.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4915, allocations: 0 / 479 MB, free: 32.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003863/0.4919, allocations: 109.8 kB / 479.2 MB, free: 32.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.4919, allocations: 52.47 kB / 479.2 MB, free: 32.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.4921, allocations: 165 kB / 479.4 MB, free: 32.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4921, allocations: 26.89 kB / 479.4 MB, free: 32.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.4922, allocations: 103.5 kB / 479.5 MB, free: 32.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.4922, allocations: 11.28 kB / 479.5 MB, free: 32.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.4922, allocations: 1.312 kB / 479.5 MB, free: 32.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.4923, allocations: 324.2 kB / 479.8 MB, free: 31.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.4924, allocations: 19.06 kB / 479.8 MB, free: 31.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.4924, allocations: 23.73 kB / 479.9 MB, free: 31.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.4925, allocations: 21.98 kB / 479.9 MB, free: 31.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4925, allocations: 0 / 479.9 MB, free: 31.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001712/0.4927, allocations: 101.9 kB / 480 MB, free: 31.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.4927, allocations: 33.89 kB / 480 MB, free: 31.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4927, allocations: 0 / 480 MB, free: 31.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4927, allocations: 1.594 kB / 480 MB, free: 31.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.934e-05/0.4928, allocations: 12.77 kB / 480 MB, free: 31.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.4928, allocations: 1.5 kB / 480 MB, free: 31.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.4929, allocations: 10.62 kB / 480 MB, free: 31.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4929, allocations: 8.344 kB / 480.1 MB, free: 31.71 MB / 346.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 6.936e-05/0.4929, allocations: 111.7 kB / 480.2 MB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.493, allocations: 11.47 kB / 480.2 MB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.4932, allocations: 86.86 kB / 480.3 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4932, allocations: 0 / 480.3 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4932, allocations: 1.375 kB / 480.3 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4932, allocations: 0 / 480.3 MB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.4935, allocations: 337.7 kB / 480.6 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4935, allocations: 1.219 kB / 480.6 MB, free: 31.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.4936, allocations: 15.27 kB / 480.6 MB, free: 31.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4936, allocations: 1.25 kB / 480.6 MB, free: 31.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4936, allocations: 1.156 kB / 480.6 MB, free: 31.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4936, allocations: 0 / 480.6 MB, free: 31.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4936, allocations: 0 / 480.6 MB, free: 31.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.4938, allocations: 171.9 kB / 480.8 MB, free: 31.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.4939, allocations: 96.97 kB / 480.9 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4939, allocations: 1.062 kB / 480.9 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.494, allocations: 2.344 kB / 480.9 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.494, allocations: 4.641 kB / 480.9 MB, free: 31.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.494, allocations: 5.719 kB / 480.9 MB, free: 31.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4941, allocations: 132.3 kB / 481 MB, free: 30.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4941, allocations: 1.469 kB / 481 MB, free: 30.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.4944, allocations: 36.86 kB / 481 MB, free: 30.95 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: 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.0007114/0.4952, allocations: 297.7 kB / 481.3 MB, free: 30.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.4953, allocations: 108.8 kB / 481.4 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4954, allocations: 0 / 481.4 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.4954, allocations: 26.03 kB / 481.5 MB, free: 30.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.4956, allocations: 16.33 kB / 481.5 MB, free: 30.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.496, allocations: 143.6 kB / 481.6 MB, free: 30.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.4963, allocations: 0.6999 MB / 482.3 MB, free: 29.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.4963, allocations: 23.45 kB / 482.4 MB, free: 29.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.4964, allocations: 18.98 kB / 482.4 MB, free: 29.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4964, allocations: 0 / 482.4 MB, free: 29.88 MB / 346.7 MB Notification: Performance of Templates: time 0.004633/0.501, allocations: 1.454 MB / 483.8 MB, free: 29.7 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)