Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002736/0.002741, allocations: 350.6 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.735/3.735, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.006781/0.00678, allocations: 214.1 kB / 397.9 MB, free: 4.973 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.6358/0.6357, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006929/0.0006934, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1087, allocations: 48.71 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.514, allocations: 75.82 MB / 0.6808 GB, free: 36.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5144, allocations: 71.97 kB / 0.6809 GB, free: 36.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.5307, allocations: 3.972 MB / 0.6847 GB, free: 32.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5307, allocations: 0 / 0.6847 GB, free: 32.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.5308, allocations: 0 / 0.6847 GB, free: 32.94 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.0005835/0.5314, allocations: 437.8 kB / 0.6852 GB, free: 32.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5314, allocations: 12.03 kB / 0.6852 GB, free: 32.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.5315, allocations: 7.906 kB / 0.6852 GB, free: 32.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.5318, allocations: 209.4 kB / 0.6854 GB, free: 32.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5318, allocations: 7.984 kB / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5318, allocations: 4 kB / 0.6854 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.532, allocations: 45.69 kB / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.532, allocations: 0 / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.532, allocations: 0 / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.532, allocations: 0 / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.5321, allocations: 15.98 kB / 0.6854 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.5325, allocations: 301.3 kB / 0.6857 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.5328, allocations: 40.53 kB / 0.6858 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.5329, allocations: 12.86 kB / 0.6858 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.5329, allocations: 4 kB / 0.6858 GB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.5331, allocations: 57.17 kB / 0.6858 GB, free: 31.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.5331, allocations: 0 / 0.6858 GB, free: 31.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.5337, allocations: 125 kB / 0.686 GB, free: 31.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5337, allocations: 58.06 kB / 0.686 GB, free: 31.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.534, allocations: 184.2 kB / 0.6862 GB, free: 31.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.534, allocations: 25.7 kB / 0.6862 GB, free: 31.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.5341, allocations: 111.8 kB / 0.6863 GB, free: 31.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.5341, allocations: 11.8 kB / 0.6863 GB, free: 31.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.5342, allocations: 4 kB / 0.6863 GB, free: 31.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.5342, allocations: 325.2 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.5343, allocations: 20 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.5344, allocations: 23.98 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.5345, allocations: 57.64 kB / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5345, allocations: 0 / 0.6867 GB, free: 30.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002786/0.5348, allocations: 131.2 kB / 0.6869 GB, free: 30.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.5349, allocations: 42.47 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5349, allocations: 0 / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5349, allocations: 3.188 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.535, allocations: 8 kB / 0.6869 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5351, allocations: 2.344 kB / 0.6869 GB, free: 30.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.5351, allocations: 7.953 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5352, allocations: 4 kB / 0.6869 GB, free: 30.48 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 0.000114/0.5353, allocations: 123.9 kB / 0.6871 GB, free: 30.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.5353, allocations: 10.94 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.5356, allocations: 101.3 kB / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.5356, allocations: 0 / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5356, allocations: 0 / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5357, allocations: 3.984 kB / 0.6872 GB, free: 30.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.5362, allocations: 354.5 kB / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5363, allocations: 0.5938 kB / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.5364, allocations: 11.94 kB / 0.6875 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.5364, allocations: 4.188 kB / 0.6875 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5364, allocations: 0 / 0.6875 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5365, allocations: 4 kB / 0.6875 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5365, allocations: 7.938 kB / 0.6875 GB, free: 29.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.5367, allocations: 173 kB / 0.6877 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.5368, allocations: 85.02 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.5368, allocations: 3.984 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5369, allocations: 4 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.537, allocations: 3.219 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.537, allocations: 11.95 kB / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.5372, allocations: 136 kB / 0.6879 GB, free: 29.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5372, allocations: 0 / 0.6879 GB, free: 29.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.5376, allocations: 39.94 kB / 0.688 GB, free: 29.33 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.00101/0.5386, allocations: 363.2 kB / 0.6883 GB, free: 29.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.5389, allocations: 117.5 kB / 0.6884 GB, free: 29.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5389, allocations: 0 / 0.6884 GB, free: 29.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.539, allocations: 16 kB / 0.6884 GB, free: 29.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.5394, allocations: 24.92 kB / 0.6885 GB, free: 29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.54, allocations: 217.8 kB / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5402, allocations: 0.7064 MB / 0.6894 GB, free: 28.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.5403, allocations: 13.53 kB / 0.6894 GB, free: 28.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.5403, allocations: 11.44 kB / 0.6894 GB, free: 28.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.432e-06/0.5403, allocations: 0 / 0.6894 GB, free: 28.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006749/0.5471, allocations: 1.53 MB / 0.6909 GB, free: 26.62 MB / 362.7 MB