Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002712/0.00272, allocations: 349.9 kB / 15.94 MB, free: 6.215 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.969/3.969, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005377/0.005377, allocations: 225.5 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4979/0.4979, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004528, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09069, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.4939, allocations: 75.84 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4942, allocations: 71.97 kB / 0.6809 GB, free: 36.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.51, allocations: 3.879 MB / 0.6847 GB, free: 33.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5101, allocations: 0 / 0.6847 GB, free: 33.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5101, allocations: 7 kB / 0.6847 GB, free: 33.01 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004799/0.5106, allocations: 433.8 kB / 0.6851 GB, free: 32.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5107, allocations: 8.031 kB / 0.6851 GB, free: 32.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.5107, allocations: 7.906 kB / 0.6851 GB, free: 32.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.5109, allocations: 198.9 kB / 0.6853 GB, free: 32.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.511, allocations: 4 kB / 0.6853 GB, free: 32.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.511, allocations: 7.594 kB / 0.6853 GB, free: 32.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5111, allocations: 49.56 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5112, allocations: 0 / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5112, allocations: 0 / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.5112, allocations: 1.781 kB / 0.6853 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.5113, allocations: 15.98 kB / 0.6854 GB, free: 32.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.5117, allocations: 292.8 kB / 0.6856 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5119, allocations: 48.53 kB / 0.6857 GB, free: 31.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.512, allocations: 12.86 kB / 0.6857 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.512, allocations: 3.984 kB / 0.6857 GB, free: 31.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.5122, allocations: 63.08 kB / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.5122, allocations: 0 / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004853/0.5127, allocations: 120.3 kB / 0.6859 GB, free: 31.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.5127, allocations: 55.39 kB / 0.6859 GB, free: 31.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5129, allocations: 158.1 kB / 0.6861 GB, free: 31.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5129, allocations: 25.7 kB / 0.6861 GB, free: 31.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.513, allocations: 95.58 kB / 0.6862 GB, free: 31.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.513, allocations: 23.73 kB / 0.6862 GB, free: 31.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.5131, allocations: 1.5 kB / 0.6862 GB, free: 31.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.5131, allocations: 318.8 kB / 0.6865 GB, free: 30.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.5132, allocations: 27.92 kB / 0.6865 GB, free: 30.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.5133, allocations: 23.98 kB / 0.6866 GB, free: 30.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.5134, allocations: 53.64 kB / 0.6866 GB, free: 30.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5134, allocations: 0 / 0.6866 GB, free: 30.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002431/0.5137, allocations: 135.6 kB / 0.6867 GB, free: 30.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.5137, allocations: 33.11 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5137, allocations: 0 / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5137, allocations: 4 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.5138, allocations: 11.98 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5139, allocations: 7.891 kB / 0.6868 GB, free: 30.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.5139, allocations: 0 / 0.6868 GB, free: 30.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.514, allocations: 8 kB / 0.6868 GB, free: 30.59 MB / 362.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 9.688e-05/0.5141, allocations: 123.9 kB / 0.6869 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.5141, allocations: 8.594 kB / 0.6869 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.5144, allocations: 89.45 kB / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5144, allocations: 0 / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5144, allocations: 0 / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5144, allocations: 7.953 kB / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.5148, allocations: 342.5 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5148, allocations: 4 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.5149, allocations: 4 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5149, allocations: 1.344 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5149, allocations: 4 kB / 0.6874 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5149, allocations: 7.891 kB / 0.6874 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5149, allocations: 3.984 kB / 0.6874 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.5151, allocations: 176.9 kB / 0.6875 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5152, allocations: 86.73 kB / 0.6876 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.5152, allocations: 3.984 kB / 0.6876 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.5153, allocations: 0 / 0.6876 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.5154, allocations: 7.953 kB / 0.6876 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5154, allocations: 7.094 kB / 0.6876 GB, free: 29.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.5155, allocations: 123.8 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5156, allocations: 0 / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.5159, allocations: 35.92 kB / 0.6878 GB, free: 29.48 MB / 362.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.0009605/0.5169, allocations: 355 kB / 0.6881 GB, free: 29.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.5171, allocations: 118.7 kB / 0.6883 GB, free: 29.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5172, allocations: 0 / 0.6883 GB, free: 29.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.5172, allocations: 16 kB / 0.6883 GB, free: 29.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5177, allocations: 15.98 kB / 0.6883 GB, free: 29.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.5181, allocations: 195.8 kB / 0.6885 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.5183, allocations: 0.7004 MB / 0.6892 GB, free: 28.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.5184, allocations: 11.19 kB / 0.6892 GB, free: 28.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.5185, allocations: 19.42 kB / 0.6892 GB, free: 28.2 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5185, allocations: 0 / 0.6892 GB, free: 28.2 MB / 362.7 MB Notification: Performance of Templates: time 0.006617/0.5251, allocations: 1.488 MB / 0.6906 GB, free: 26.86 MB / 362.7 MB