Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002619/0.002624, allocations: 347.8 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.763/3.763, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.00367/0.00367, allocations: 230.1 kB / 397.9 MB, free: 4.887 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.4761/0.4761, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09609, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.5582, allocations: 75.82 MB / 0.6808 GB, free: 36.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5585, allocations: 71.95 kB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.5743, allocations: 4.059 MB / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5744, allocations: 0 / 0.6848 GB, free: 32.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5744, allocations: 4 kB / 0.6848 GB, free: 32.88 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.0004894/0.5749, allocations: 441.8 kB / 0.6852 GB, free: 32.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.575, allocations: 8.031 kB / 0.6852 GB, free: 32.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.575, allocations: 11.81 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.5753, allocations: 201.2 kB / 0.6854 GB, free: 32.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.5753, allocations: 6.156 kB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.5754, allocations: 4 kB / 0.6855 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.5755, allocations: 49.67 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5755, allocations: 0 / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5756, allocations: 0.875 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5756, allocations: 0 / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.5756, allocations: 22.7 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.576, allocations: 296.8 kB / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.5763, allocations: 42.56 kB / 0.6858 GB, free: 31.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.5763, allocations: 13.42 kB / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5764, allocations: 0 / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.5765, allocations: 66.08 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5765, allocations: 0 / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004889/0.577, allocations: 122.8 kB / 0.686 GB, free: 31.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.5771, allocations: 55.34 kB / 0.6861 GB, free: 31.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.5773, allocations: 195.7 kB / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5774, allocations: 33.7 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.5774, allocations: 100.1 kB / 0.6864 GB, free: 31.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.5775, allocations: 15.75 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.5775, allocations: 4 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.5775, allocations: 330 kB / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.5776, allocations: 23.98 kB / 0.6868 GB, free: 30.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.5777, allocations: 21.48 kB / 0.6868 GB, free: 30.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.88e-05/0.5778, allocations: 53.69 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.5778, allocations: 4 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000277/0.5781, allocations: 135.2 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.5782, allocations: 33.7 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5782, allocations: 2.812 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5782, allocations: 1.25 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/0.5783, allocations: 8 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5783, allocations: 0 / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.5784, allocations: 12.62 kB / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5784, allocations: 7 kB / 0.687 GB, free: 30.4 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.195e-05/0.5785, allocations: 119.9 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.5785, allocations: 18.83 kB / 0.6872 GB, free: 30.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.5788, allocations: 93.92 kB / 0.6873 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5788, allocations: 0 / 0.6873 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5788, allocations: 1.688 kB / 0.6873 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5788, allocations: 2.688 kB / 0.6873 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.5793, allocations: 366.4 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5793, allocations: 0 / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.5793, allocations: 4 kB / 0.6876 GB, free: 29.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5793, allocations: 4 kB / 0.6876 GB, free: 29.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5794, allocations: 4 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5794, allocations: 3.188 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5794, allocations: 3.953 kB / 0.6876 GB, free: 29.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5796, allocations: 171.4 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.5797, allocations: 89.02 kB / 0.6879 GB, free: 29.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.5797, allocations: 7.375 kB / 0.6879 GB, free: 29.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.5798, allocations: 9.172 kB / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.5799, allocations: 0 / 0.6879 GB, free: 29.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.5799, allocations: 7.953 kB / 0.6879 GB, free: 29.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001552/0.58, allocations: 151.9 kB / 0.688 GB, free: 29.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5801, allocations: 0 / 0.688 GB, free: 29.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.5804, allocations: 47.86 kB / 0.6881 GB, free: 29.23 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.0009887/0.5814, allocations: 353.8 kB / 0.6884 GB, free: 29.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.5817, allocations: 115.4 kB / 0.6885 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5817, allocations: 0 / 0.6885 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.347e-05/0.5818, allocations: 22.06 kB / 0.6886 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.5822, allocations: 18.5 kB / 0.6886 GB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.5827, allocations: 231.3 kB / 0.6888 GB, free: 28.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5829, allocations: 0.7043 MB / 0.6895 GB, free: 27.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.583, allocations: 12.83 kB / 0.6895 GB, free: 27.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.5831, allocations: 16.75 kB / 0.6895 GB, free: 27.91 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5831, allocations: 0 / 0.6895 GB, free: 27.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005364/0.5884, allocations: 1.55 MB / 0.691 GB, free: 26.49 MB / 362.7 MB