Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004673/0.004678, allocations: 348.3 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 4.036/4.036, 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.003499/0.003499, allocations: 214.1 kB / 397.9 MB, free: 4.891 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.5297/0.5297, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005054, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5208, allocations: 76.62 MB / 0.6816 GB, free: 36.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.5211, allocations: 71.95 kB / 0.6816 GB, free: 36.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.5339, allocations: 3.224 MB / 0.6848 GB, free: 32.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.534, allocations: 0 / 0.6848 GB, free: 32.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.534, 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005891/0.5346, allocations: 0.4895 MB / 0.6853 GB, free: 32.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5346, allocations: 8.031 kB / 0.6853 GB, free: 32.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.5347, allocations: 13.62 kB / 0.6853 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.535, allocations: 194.8 kB / 0.6855 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.535, allocations: 8 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.535, allocations: 7.984 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.5353, allocations: 75.64 kB / 0.6856 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5353, allocations: 3.938 kB / 0.6856 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5353, allocations: 0 / 0.6856 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.5353, allocations: 4 kB / 0.6856 GB, free: 31.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.5355, allocations: 46.75 kB / 0.6856 GB, free: 31.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.5361, allocations: 348.9 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.5364, allocations: 77.61 kB / 0.686 GB, free: 31.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5366, allocations: 32.84 kB / 0.686 GB, free: 31.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.5366, allocations: 1.734 kB / 0.686 GB, free: 31.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.5368, allocations: 78.03 kB / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.5368, allocations: 0 / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004331/0.5373, allocations: 127.9 kB / 0.6862 GB, free: 31.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.5373, allocations: 59.36 kB / 0.6863 GB, free: 31.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.5375, allocations: 163.9 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5375, allocations: 29.7 kB / 0.6865 GB, free: 30.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.5376, allocations: 107.3 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.5376, allocations: 19.64 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5376, allocations: 8 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.5377, allocations: 314.8 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5378, allocations: 36.08 kB / 0.6869 GB, free: 30.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.538, allocations: 54.55 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5381, allocations: 67.94 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5382, allocations: 2.688 kB / 0.6871 GB, free: 30.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003588/0.5385, allocations: 162.2 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.5386, allocations: 33.7 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5386, allocations: 0 / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5386, allocations: 4.688 kB / 0.6873 GB, free: 30.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5388, allocations: 19.92 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5388, allocations: 6.953 kB / 0.6873 GB, free: 30.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.5389, allocations: 15.89 kB / 0.6873 GB, free: 30.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.5389, allocations: 4 kB / 0.6873 GB, free: 30.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001239/0.539, allocations: 123.9 kB / 0.6874 GB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.5391, allocations: 7.906 kB / 0.6874 GB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.5395, allocations: 120.7 kB / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5395, allocations: 0 / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5395, allocations: 0 / 0.6875 GB, free: 29.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.5395, allocations: 7.953 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.5398, allocations: 206.2 kB / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5398, allocations: 0 / 0.6877 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.54, allocations: 19.17 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.54, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.54, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.54, allocations: 0 / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5401, allocations: 3.5 kB / 0.6878 GB, free: 29.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.5406, allocations: 176.8 kB / 0.6879 GB, free: 29.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.5407, allocations: 88.36 kB / 0.688 GB, free: 29.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.5407, allocations: 4 kB / 0.688 GB, free: 29.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5409, allocations: 7.984 kB / 0.688 GB, free: 29.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.5409, allocations: 4 kB / 0.688 GB, free: 29.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.541, allocations: 4 kB / 0.688 GB, free: 29.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.5411, allocations: 127.9 kB / 0.6882 GB, free: 29.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5411, allocations: 0 / 0.6882 GB, free: 29.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005307/0.5417, allocations: 42.81 kB / 0.6882 GB, free: 29.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.001183/0.5429, allocations: 319.5 kB / 0.6885 GB, free: 28.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.5434, allocations: 138.7 kB / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5435, allocations: 0 / 0.6886 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.5436, allocations: 35.97 kB / 0.6887 GB, free: 28.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.5442, allocations: 30.12 kB / 0.6887 GB, free: 28.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.545, allocations: 259.3 kB / 0.689 GB, free: 28.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.5452, allocations: 0.711 MB / 0.6896 GB, free: 27.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.5453, allocations: 14.3 kB / 0.6897 GB, free: 27.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.5454, allocations: 15.44 kB / 0.6897 GB, free: 27.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5454, allocations: 0 / 0.6897 GB, free: 27.68 MB / 362.7 MB Notification: Performance of Templates: time 0.00805/0.5535, allocations: 1.591 MB / 0.6912 GB, free: 26.22 MB / 362.7 MB