Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007358/0.007358, allocations: 165.1 kB / 15.11 MB, free: 5.969 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.38/1.38, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001486/0.001486, allocations: 114.6 kB / 226.2 MB, free: 10.11 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.3179/0.3179, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4793, allocations: 75.83 MB / 487.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4796, allocations: 68.22 kB / 487.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009953/0.4896, allocations: 3.924 MB / 491.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.127e-06/0.4897, allocations: 3.984 kB / 491.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4897, allocations: 4 kB / 491.4 MB, free: 8.461 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.0004552/0.4902, allocations: 422.7 kB / 491.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4902, allocations: 16.02 kB / 491.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.4903, allocations: 7.906 kB / 491.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.4905, allocations: 204.3 kB / 492 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4905, allocations: 4 kB / 492.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.4906, allocations: 0 / 492.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.4907, allocations: 45.44 kB / 492.1 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4907, allocations: 4 kB / 492.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4907, allocations: 0 / 492.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4907, allocations: 1.031 kB / 492.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.4908, allocations: 15.86 kB / 492.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.4911, allocations: 295.6 kB / 492.4 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.4913, allocations: 46.19 kB / 492.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4913, allocations: 0 / 492.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.4914, allocations: 63.22 kB / 492.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.4915, allocations: 0 / 492.5 MB, free: 7.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003694/0.4918, allocations: 120.5 kB / 492.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.4919, allocations: 66.91 kB / 492.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.492, allocations: 159.1 kB / 492.9 MB, free: 6.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.492, allocations: 33.38 kB / 492.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.4921, allocations: 91.83 kB / 493 MB, free: 6.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.4921, allocations: 19.67 kB / 493 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.4921, allocations: 3.938 kB / 493 MB, free: 6.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.4922, allocations: 318.5 kB / 493.3 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.4922, allocations: 23.61 kB / 493.3 MB, free: 6.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.4922, allocations: 23.61 kB / 493.4 MB, free: 6.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.4923, allocations: 53.14 kB / 493.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4923, allocations: 3.938 kB / 493.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001508/0.4925, allocations: 130.5 kB / 493.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4925, allocations: 33.45 kB / 493.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4925, allocations: 0 / 493.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4925, allocations: 0 / 493.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.4926, allocations: 16.05 kB / 493.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4926, allocations: 4 kB / 493.6 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.4926, allocations: 7.891 kB / 493.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4927, allocations: 4 kB / 493.6 MB, free: 6.199 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 () * Number of clocked 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.997e-05/0.4927, allocations: 126.8 kB / 493.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.4928, allocations: 7.906 kB / 493.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.493, allocations: 85.42 kB / 493.8 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.493, allocations: 4 kB / 493.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.493, allocations: 0 / 493.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.493, allocations: 0 / 493.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4933, allocations: 361 kB / 494.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4933, allocations: 4.094 kB / 494.2 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.4933, allocations: 15.92 kB / 494.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.4933, allocations: 0 / 494.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4934, allocations: 0 / 494.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4934, allocations: 4 kB / 494.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4934, allocations: 3.953 kB / 494.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.4935, allocations: 174.2 kB / 494.4 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.4936, allocations: 89 kB / 494.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4936, allocations: 7.875 kB / 494.5 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.4937, allocations: 4 kB / 494.5 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.4937, allocations: 3.953 kB / 494.5 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.4937, allocations: 7.984 kB / 494.5 MB, free: 5.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.4938, allocations: 127.3 kB / 494.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4938, allocations: 0 / 494.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.4941, allocations: 35.75 kB / 494.6 MB, free: 5.141 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) * Number of clocked states: 0 () * 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.0007557/0.4948, allocations: 365.5 kB / 495 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.495, allocations: 114.6 kB / 495.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.495, allocations: 0 / 495.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.4951, allocations: 19.86 kB / 495.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.4953, allocations: 15.8 kB / 495.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.4956, allocations: 205.5 kB / 495.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4958, allocations: 0.7004 MB / 496 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.453e-05/0.4958, allocations: 8 kB / 496.1 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.4959, allocations: 15.42 kB / 496.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4959, allocations: 4 kB / 496.1 MB, free: 3.766 MB / 330.7 MB Notification: Performance of Templates: time 0.003374/0.4992, allocations: 1.5 MB / 497.6 MB, free: 2.281 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)