Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005108/0.005116, allocations: 361.8 kB / 15.95 MB, free: 6.207 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.151/4.151, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.005411/0.005411, allocations: 220.7 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.5572/0.5572, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006763/0.0006766, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1198, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.483/0.6029, allocations: 82.11 MB / 0.7603 GB, free: 3.219 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6032, allocations: 82.58 kB / 0.7604 GB, free: 3.172 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.01938/0.6226, allocations: 4.483 MB / 0.7647 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.6227, allocations: 0 / 0.7647 GB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.6227, allocations: 4 kB / 0.7647 GB, free: 15.39 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.0008/0.6235, allocations: 464.8 kB / 0.7652 GB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.6236, allocations: 12.83 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.6237, allocations: 7.906 kB / 0.7652 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.6241, allocations: 206.2 kB / 0.7654 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.6241, allocations: 4 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.6242, allocations: 11 kB / 0.7654 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.6244, allocations: 55.92 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6244, allocations: 0 / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.6245, allocations: 11.94 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6245, allocations: 7.922 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.6246, allocations: 26.42 kB / 0.7655 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.6252, allocations: 303.4 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.6255, allocations: 68.73 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.6256, allocations: 20.47 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.6256, allocations: 0 / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.6258, allocations: 74.81 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.6258, allocations: 0 / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008672/0.6267, allocations: 190.8 kB / 0.7661 GB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.6268, allocations: 55.41 kB / 0.7662 GB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.6271, allocations: 177.6 kB / 0.7664 GB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.6271, allocations: 29.7 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.6272, allocations: 102.7 kB / 0.7665 GB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.6273, allocations: 22.91 kB / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.6273, allocations: 0 / 0.7665 GB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6275, allocations: 326.5 kB / 0.7668 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.6276, allocations: 38.59 kB / 0.7669 GB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.6279, allocations: 64.39 kB / 0.7669 GB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.6281, allocations: 70.75 kB / 0.767 GB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6281, allocations: 0 / 0.767 GB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005377/0.6286, allocations: 183.8 kB / 0.7672 GB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.6287, allocations: 36.83 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6287, allocations: 0 / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6288, allocations: 4 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6289, allocations: 15.98 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.6289, allocations: 4.109 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.6291, allocations: 4 kB / 0.7672 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6291, allocations: 15.23 kB / 0.7672 GB, free: 12.82 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.0001759/0.6293, allocations: 122 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.6293, allocations: 11.86 kB / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.6298, allocations: 129.7 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6298, allocations: 0 / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6298, allocations: 4 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6298, allocations: 0 / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/0.6306, allocations: 417.1 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6306, allocations: 192 / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.6307, allocations: 15.92 kB / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.6307, allocations: 3.938 kB / 0.7679 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.6308, allocations: 4 kB / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6308, allocations: 0 / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6308, allocations: 4.031 kB / 0.7679 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.6312, allocations: 212.2 kB / 0.7681 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.6314, allocations: 100.7 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.6315, allocations: 7.984 kB / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.6317, allocations: 384 / 0.7682 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.6318, allocations: 7.312 kB / 0.7682 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.6319, allocations: 11.98 kB / 0.7682 GB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003523/0.6323, allocations: 138.7 kB / 0.7684 GB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.6323, allocations: 0 / 0.7684 GB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009426/0.6332, allocations: 43.3 kB / 0.7684 GB, free: 11.61 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.002466/0.6358, allocations: 438 kB / 0.7688 GB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009459/0.6368, allocations: 168.8 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6368, allocations: 4.062 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.6371, allocations: 34.86 kB / 0.769 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.638, allocations: 27.12 kB / 0.7691 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.6392, allocations: 248 kB / 0.7693 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.6399, allocations: 0.7056 MB / 0.77 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.6401, allocations: 20.56 kB / 0.77 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6402, allocations: 15.44 kB / 0.77 GB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.719e-06/0.6402, allocations: 0 / 0.77 GB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01067/0.6509, allocations: 1.742 MB / 0.7717 GB, free: 8.43 MB / 362.7 MB