Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002811/0.002816, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.259/4.259, allocations: 388.9 MB / 405.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003489/0.003489, allocations: 230.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5486/0.5486, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008103/0.0008106, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1355, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.6672, allocations: 82.12 MB / 0.7603 GB, free: 3.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.6675, allocations: 78.31 kB / 0.7604 GB, free: 3.188 MB / 346.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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.02407/0.6916, allocations: 4.492 MB / 0.7647 GB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6917, allocations: 0 / 0.7647 GB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.6917, allocations: 0 / 0.7647 GB, free: 15.4 MB / 362.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.000857/0.6926, allocations: 470 kB / 0.7652 GB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6926, allocations: 8.828 kB / 0.7652 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.6927, allocations: 15.59 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.6932, allocations: 202.5 kB / 0.7654 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.6933, allocations: 11.69 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.6933, allocations: 4 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6936, allocations: 56.73 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6936, allocations: 0 / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.6937, allocations: 3.953 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.6937, allocations: 4 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.6938, allocations: 27.11 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.6946, allocations: 303.7 kB / 0.7658 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.695, allocations: 68.98 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.6951, allocations: 16.42 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.6951, allocations: 0 / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.6954, allocations: 78.23 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.6954, allocations: 4 kB / 0.766 GB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.6965, allocations: 192.1 kB / 0.7661 GB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6965, allocations: 51.41 kB / 0.7662 GB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.6971, allocations: 181.8 kB / 0.7664 GB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.6972, allocations: 29.27 kB / 0.7664 GB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.6973, allocations: 100.4 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.6973, allocations: 27.14 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.6974, allocations: 0 / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.6976, allocations: 329 kB / 0.7668 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.6978, allocations: 37.23 kB / 0.7669 GB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.698, allocations: 55 kB / 0.7669 GB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.6982, allocations: 76.62 kB / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6983, allocations: 0 / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006098/0.6989, allocations: 181.5 kB / 0.7672 GB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.699, allocations: 40.81 kB / 0.7672 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.699, allocations: 4.031 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.699, allocations: 0 / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.6992, allocations: 19.98 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6992, allocations: 0 / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.6994, allocations: 4 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.6994, allocations: 7.188 kB / 0.7672 GB, free: 12.84 MB / 362.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 () * Number of clocked 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 0.0001822/0.6996, allocations: 125 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.6997, allocations: 11.86 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.7002, allocations: 132.9 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7002, allocations: 3.984 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7003, allocations: 0 / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.7003, allocations: 0 / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.7012, allocations: 413.5 kB / 0.7679 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.7012, allocations: 4 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.7013, allocations: 11.94 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.7014, allocations: 4.031 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.7014, allocations: 3.25 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7014, allocations: 4 kB / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7014, allocations: 0 / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004829/0.7019, allocations: 216.9 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7021, allocations: 100.8 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.7021, allocations: 0 / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.7023, allocations: 11.81 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.7024, allocations: 7.984 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.7024, allocations: 4 kB / 0.7682 GB, free: 11.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.7027, allocations: 143.3 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7027, allocations: 0 / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006292/0.7033, allocations: 35.38 kB / 0.7684 GB, free: 11.63 MB / 362.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) * Number of clocked states: 0 () * 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.001897/0.7052, allocations: 442.1 kB / 0.7688 GB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.7058, allocations: 165.4 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7058, allocations: 0 / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.706, allocations: 42.16 kB / 0.769 GB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.7067, allocations: 27.69 kB / 0.7691 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.7076, allocations: 248.5 kB / 0.7693 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.708, allocations: 0.7056 MB / 0.77 GB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.7082, allocations: 8.438 kB / 0.77 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.7083, allocations: 22.5 kB / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7083, allocations: 0 / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.009874/0.7182, allocations: 1.744 MB / 0.7717 GB, free: 8.441 MB / 362.7 MB