Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004128/0.004132, allocations: 349.7 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.446/3.446, allocations: 341.5 MB / 358.2 MB, free: 28.76 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003503/0.003503, allocations: 221 kB / 397.8 MB, free: 6.16 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6326/0.6326, allocations: 76.09 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004531, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08803, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5082, allocations: 75.9 MB / 0.6809 GB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5085, allocations: 75.88 kB / 0.6809 GB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.5266, allocations: 4.62 MB / 0.6855 GB, free: 7.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5267, allocations: 0 / 0.6855 GB, free: 7.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5267, allocations: 8 kB / 0.6855 GB, free: 7.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000581/0.5273, allocations: 454.5 kB / 0.6859 GB, free: 7.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5273, allocations: 8.031 kB / 0.6859 GB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.5274, allocations: 19.75 kB / 0.6859 GB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5277, allocations: 213 kB / 0.6861 GB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5278, allocations: 3.938 kB / 0.6861 GB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.5278, allocations: 6.875 kB / 0.6861 GB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.528, allocations: 63.05 kB / 0.6862 GB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.528, allocations: 4 kB / 0.6862 GB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.528, allocations: 0 / 0.6862 GB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.528, allocations: 0 / 0.6862 GB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.5281, allocations: 34.78 kB / 0.6862 GB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.5287, allocations: 329.5 kB / 0.6865 GB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.5288, allocations: 61.3 kB / 0.6866 GB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.5289, allocations: 16.42 kB / 0.6866 GB, free: 6.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5289, allocations: 4 kB / 0.6866 GB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.5291, allocations: 62.39 kB / 0.6867 GB, free: 6.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.5291, allocations: 0 / 0.6867 GB, free: 6.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006919/0.5298, allocations: 185 kB / 0.6869 GB, free: 6.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.5299, allocations: 51.41 kB / 0.6869 GB, free: 6.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.5302, allocations: 231.2 kB / 0.6871 GB, free: 5.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.5302, allocations: 29.39 kB / 0.6872 GB, free: 5.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5303, allocations: 110.4 kB / 0.6873 GB, free: 5.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5303, allocations: 22.97 kB / 0.6873 GB, free: 5.656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.5303, allocations: 3.312 kB / 0.6873 GB, free: 5.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.5304, allocations: 326.2 kB / 0.6876 GB, free: 5.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.5305, allocations: 37.86 kB / 0.6876 GB, free: 5.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.5306, allocations: 34.17 kB / 0.6877 GB, free: 5.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5307, allocations: 61.83 kB / 0.6877 GB, free: 5.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5308, allocations: 0 / 0.6877 GB, free: 5.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003193/0.5311, allocations: 165.8 kB / 0.6879 GB, free: 5.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.5311, allocations: 41.69 kB / 0.6879 GB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5312, allocations: 0 / 0.6879 GB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5312, allocations: 0 / 0.6879 GB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5313, allocations: 19.89 kB / 0.6879 GB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5313, allocations: 0 / 0.6879 GB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.5314, allocations: 12.17 kB / 0.688 GB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5315, allocations: 4 kB / 0.688 GB, free: 5.012 MB / 314.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 (10): * Single equations (assignments): 9 * 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.0001238/0.5316, allocations: 135.5 kB / 0.6881 GB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.5316, allocations: 11.81 kB / 0.6881 GB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.532, allocations: 136.8 kB / 0.6882 GB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.532, allocations: 7.984 kB / 0.6882 GB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.532, allocations: 7.953 kB / 0.6882 GB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.532, allocations: 0 / 0.6882 GB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.5326, allocations: 423.3 kB / 0.6886 GB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5327, allocations: 0 / 0.6886 GB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.5328, allocations: 16 kB / 0.6887 GB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5328, allocations: 0 / 0.6887 GB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5328, allocations: 11.62 kB / 0.6887 GB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5328, allocations: 4 kB / 0.6887 GB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5328, allocations: 4.016 kB / 0.6887 GB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.5331, allocations: 203.2 kB / 0.6889 GB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.5332, allocations: 96.91 kB / 0.689 GB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.5332, allocations: 7.609 kB / 0.689 GB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5333, allocations: 15.89 kB / 0.689 GB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5334, allocations: 4 kB / 0.689 GB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5334, allocations: 11.92 kB / 0.689 GB, free: 3.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.5336, allocations: 176.5 kB / 0.6892 GB, free: 3.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5337, allocations: 0 / 0.6892 GB, free: 3.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004851/0.5342, allocations: 45.06 kB / 0.6892 GB, free: 3.762 MB / 314.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 (10): * Single equations (assignments): 9 * 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.0009863/0.5352, allocations: 362.6 kB / 0.6896 GB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.5355, allocations: 138.7 kB / 0.6897 GB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5355, allocations: 0 / 0.6897 GB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.5356, allocations: 33.86 kB / 0.6897 GB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.5361, allocations: 18.36 kB / 0.6897 GB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.5367, allocations: 303.4 kB / 0.69 GB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.5369, allocations: 0.716 MB / 0.6907 GB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.437e-05/0.537, allocations: 24.19 kB / 0.6908 GB, free: 2.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.5371, allocations: 21.98 kB / 0.6908 GB, free: 2.285 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5371, allocations: 3.938 kB / 0.6908 GB, free: 2.281 MB / 314.7 MB Notification: Performance of Templates: time 0.006226/0.5433, allocations: 1.841 MB / 0.6926 GB, free: 492 kB / 314.7 MB