Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001066/0.001066, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.205/1.205, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001501/0.001502, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.1727/0.1727, allocations: 37.99 MB / 300.4 MB, free: 5.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.69e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.0975, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4779, allocations: 75.78 MB / 481.5 MB, free: 18.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4782, allocations: 68.62 kB / 481.5 MB, free: 18.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01102/0.4892, allocations: 4.088 MB / 485.6 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4892, allocations: 0 / 485.6 MB, free: 18.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.4893, allocations: 3.969 kB / 485.6 MB, free: 18.09 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.0003391/0.4896, allocations: 418.5 kB / 486 MB, free: 17.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4896, allocations: 7.75 kB / 486.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4897, allocations: 11.66 kB / 486.1 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4899, allocations: 199.7 kB / 486.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4899, allocations: 3.875 kB / 486.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.4899, allocations: 7.594 kB / 486.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.49, allocations: 42.91 kB / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4901, allocations: 0 / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4901, allocations: 0 / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4901, allocations: 0 / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.4901, allocations: 18.61 kB / 486.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.4904, allocations: 301.5 kB / 486.6 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4906, allocations: 35.62 kB / 486.7 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.4907, allocations: 18.17 kB / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4907, allocations: 0 / 486.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.585e-05/0.4908, allocations: 64.11 kB / 486.7 MB, free: 17.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.225e-06/0.4908, allocations: 0 / 486.7 MB, free: 17.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003148/0.4911, allocations: 117.4 kB / 486.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4911, allocations: 51.41 kB / 486.9 MB, free: 16.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4913, allocations: 170 kB / 487.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4913, allocations: 29.33 kB / 487.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.4913, allocations: 102.8 kB / 487.2 MB, free: 16.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.4914, allocations: 9.359 kB / 487.2 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4914, allocations: 0 / 487.2 MB, free: 16.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.4914, allocations: 327.6 kB / 487.5 MB, free: 16.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.4915, allocations: 32.39 kB / 487.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.4915, allocations: 19.22 kB / 487.6 MB, free: 16.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.4916, allocations: 52.38 kB / 487.6 MB, free: 16.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4916, allocations: 0 / 487.6 MB, free: 16.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001481/0.4917, allocations: 140.8 kB / 487.8 MB, free: 16.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4918, allocations: 31.98 kB / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4918, allocations: 0 / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4918, allocations: 3.875 kB / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.4918, allocations: 7.719 kB / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4919, allocations: 0 / 487.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.4919, allocations: 15.59 kB / 487.8 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.4919, allocations: 3.953 kB / 487.8 MB, free: 16.26 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 4.592e-05/0.492, allocations: 109 kB / 487.9 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.492, allocations: 7.844 kB / 487.9 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4922, allocations: 96.14 kB / 488 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4922, allocations: 0 / 488 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4922, allocations: 0 / 488 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4922, allocations: 0 / 488 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.4925, allocations: 359 kB / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4925, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.4925, allocations: 9.438 kB / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4925, allocations: 0 / 488.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.4925, allocations: 3.938 kB / 488.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4925, allocations: 3.969 kB / 488.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4926, allocations: 1.781 kB / 488.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4927, allocations: 181.1 kB / 488.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.4927, allocations: 92.03 kB / 488.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4928, allocations: 1.375 kB / 488.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.4928, allocations: 2.906 kB / 488.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.4929, allocations: 8.547 kB / 488.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4929, allocations: 3 kB / 488.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.493, allocations: 140.8 kB / 488.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.493, allocations: 0 / 488.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.4933, allocations: 41.31 kB / 488.9 MB, free: 15.46 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.0007231/0.494, allocations: 336.9 kB / 489.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.4942, allocations: 118.1 kB / 489.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4942, allocations: 0 / 489.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.4942, allocations: 21.23 kB / 489.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.4945, allocations: 15.09 kB / 489.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.4948, allocations: 143.5 kB / 489.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.4949, allocations: 0.706 MB / 490.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.4949, allocations: 11.77 kB / 490.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.495, allocations: 17.02 kB / 490.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.495, allocations: 0 / 490.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003445/0.4984, allocations: 1.538 MB / 491.8 MB, free: 14.21 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)