Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002851/0.002856, allocations: 348.6 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.902/3.902, 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.005005/0.005005, allocations: 230.1 kB / 397.9 MB, free: 4.961 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.4958/0.4958, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.000448, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5412, allocations: 75.7 MB / 0.6807 GB, free: 36.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.5415, allocations: 78.38 kB / 0.6807 GB, free: 36.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.5575, allocations: 3.845 MB / 0.6845 GB, free: 33.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5576, allocations: 0 / 0.6845 GB, free: 33.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5576, allocations: 0 / 0.6845 GB, free: 33.14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004488/0.5581, allocations: 417.9 kB / 0.6849 GB, free: 32.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5581, allocations: 12.03 kB / 0.6849 GB, free: 32.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.5582, allocations: 13.09 kB / 0.6849 GB, free: 32.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.5584, allocations: 201.7 kB / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5584, allocations: 3.938 kB / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5585, allocations: 6.031 kB / 0.6851 GB, free: 32.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5586, allocations: 41.67 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5586, allocations: 0 / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5586, allocations: 4 kB / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5586, allocations: 0 / 0.6852 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.5587, allocations: 5.344 kB / 0.6852 GB, free: 32.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.5589, allocations: 189.6 kB / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.559, allocations: 33.52 kB / 0.6854 GB, free: 32.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.559, allocations: 12.92 kB / 0.6854 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5591, allocations: 0 / 0.6854 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.5592, allocations: 55.39 kB / 0.6854 GB, free: 32.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.5592, allocations: 3 kB / 0.6855 GB, free: 32.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002395/0.5595, allocations: 69.58 kB / 0.6855 GB, free: 31.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.5595, allocations: 55.34 kB / 0.6856 GB, free: 31.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.5597, allocations: 170.1 kB / 0.6857 GB, free: 31.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.5598, allocations: 27.2 kB / 0.6858 GB, free: 31.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.5598, allocations: 96.12 kB / 0.6858 GB, free: 31.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.5599, allocations: 15.84 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5599, allocations: 0.5312 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.56, allocations: 330 kB / 0.6862 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.56, allocations: 12 kB / 0.6862 GB, free: 31.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.5601, allocations: 23.98 kB / 0.6862 GB, free: 31.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.5602, allocations: 49.69 kB / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5602, allocations: 0 / 0.6863 GB, free: 31.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002028/0.5604, allocations: 111.3 kB / 0.6864 GB, free: 31.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.5605, allocations: 37.69 kB / 0.6864 GB, free: 30.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5605, allocations: 1.328 kB / 0.6864 GB, free: 30.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5605, allocations: 2.938 kB / 0.6864 GB, free: 30.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.5606, allocations: 7.938 kB / 0.6864 GB, free: 30.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5606, allocations: 4 kB / 0.6864 GB, free: 30.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.5607, allocations: 7.906 kB / 0.6864 GB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.5607, allocations: 7.75 kB / 0.6864 GB, free: 30.95 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 (5): * Single equations (assignments): 4 * 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.398e-05/0.5608, allocations: 131.8 kB / 0.6866 GB, free: 30.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.5608, allocations: 12.03 kB / 0.6866 GB, free: 30.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.561, allocations: 69.92 kB / 0.6866 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.561, allocations: 0 / 0.6866 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5611, allocations: 0 / 0.6866 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5611, allocations: 0 / 0.6866 GB, free: 30.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.5612, allocations: 181.6 kB / 0.6868 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5612, allocations: 0 / 0.6868 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.5613, allocations: 8.625 kB / 0.6868 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5613, allocations: 3.219 kB / 0.6868 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5613, allocations: 4 kB / 0.6868 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5613, allocations: 3.984 kB / 0.6868 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5613, allocations: 0 / 0.6868 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.5615, allocations: 90.53 kB / 0.6869 GB, free: 30.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.5616, allocations: 95.31 kB / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.5616, allocations: 0 / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.5616, allocations: 7.125 kB / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.5617, allocations: 0 / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5617, allocations: 0 / 0.687 GB, free: 30.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.5618, allocations: 135.8 kB / 0.6871 GB, free: 30.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5618, allocations: 0 / 0.6871 GB, free: 30.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.5622, allocations: 23.94 kB / 0.6872 GB, free: 30.11 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 (4): * Single equations (assignments): 3 * 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.0009112/0.5631, allocations: 323.1 kB / 0.6875 GB, free: 29.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.5633, allocations: 95.38 kB / 0.6876 GB, free: 29.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5633, allocations: 4 kB / 0.6876 GB, free: 29.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.5634, allocations: 17.48 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.5637, allocations: 19.94 kB / 0.6876 GB, free: 29.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.5642, allocations: 199.9 kB / 0.6878 GB, free: 29.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.5644, allocations: 0.6965 MB / 0.6885 GB, free: 28.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.5645, allocations: 8.188 kB / 0.6885 GB, free: 28.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5645, allocations: 11.44 kB / 0.6885 GB, free: 28.85 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5645, allocations: 0 / 0.6885 GB, free: 28.85 MB / 362.7 MB Notification: Performance of Templates: time 0.005052/0.5696, allocations: 1.313 MB / 0.6898 GB, free: 27.69 MB / 362.7 MB