Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002625/0.00263, allocations: 348.5 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.918/3.918, 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.004625/0.004625, allocations: 218.1 kB / 397.8 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.5316/0.5316, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09765, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.4998, allocations: 77.57 MB / 0.6825 GB, free: 35.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5002, allocations: 75.95 kB / 0.6826 GB, free: 35.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.5179, allocations: 4.031 MB / 0.6865 GB, free: 31.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.518, allocations: 0 / 0.6865 GB, free: 31.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.518, allocations: 0 / 0.6865 GB, free: 31.16 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001161/0.5192, allocations: 0.5706 MB / 0.6871 GB, free: 30.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5192, allocations: 11.97 kB / 0.6871 GB, free: 30.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.5193, allocations: 17.53 kB / 0.6871 GB, free: 30.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5196, allocations: 218.9 kB / 0.6873 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.5197, allocations: 8 kB / 0.6873 GB, free: 30.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.5197, allocations: 8 kB / 0.6873 GB, free: 30.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.5203, allocations: 132.6 kB / 0.6874 GB, free: 30.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5203, allocations: 0 / 0.6874 GB, free: 30.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.5203, allocations: 0 / 0.6874 GB, free: 30.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5203, allocations: 4 kB / 0.6874 GB, free: 30.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.5211, allocations: 128.1 kB / 0.6876 GB, free: 29.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.5221, allocations: 436.5 kB / 0.688 GB, free: 29.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.523, allocations: 170.5 kB / 0.6881 GB, free: 29.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.5234, allocations: 76.03 kB / 0.6882 GB, free: 29.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5235, allocations: 0 / 0.6882 GB, free: 29.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.524, allocations: 147.9 kB / 0.6884 GB, free: 29.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.524, allocations: 0 / 0.6884 GB, free: 29.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001344/0.5254, allocations: 262.8 kB / 0.6886 GB, free: 28.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5254, allocations: 66.72 kB / 0.6887 GB, free: 28.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.5257, allocations: 200.2 kB / 0.6889 GB, free: 28.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5257, allocations: 33.64 kB / 0.6889 GB, free: 28.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.5258, allocations: 120 kB / 0.689 GB, free: 28.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.5259, allocations: 23.62 kB / 0.689 GB, free: 28.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.5259, allocations: 0 / 0.689 GB, free: 28.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.526, allocations: 326.8 kB / 0.6893 GB, free: 28.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.5264, allocations: 87.3 kB / 0.6894 GB, free: 27.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.5268, allocations: 95.81 kB / 0.6895 GB, free: 27.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.5273, allocations: 142.2 kB / 0.6896 GB, free: 27.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5273, allocations: 0 / 0.6896 GB, free: 27.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001036/0.5284, allocations: 301.6 kB / 0.6899 GB, free: 27.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.5284, allocations: 59.39 kB / 0.69 GB, free: 27.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5284, allocations: 4.688 kB / 0.69 GB, free: 27.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5285, allocations: 0 / 0.69 GB, free: 27.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5288, allocations: 37.59 kB / 0.69 GB, free: 27.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5288, allocations: 4.766 kB / 0.69 GB, free: 27.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.5291, allocations: 34.28 kB / 0.6901 GB, free: 27.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.5291, allocations: 8 kB / 0.6901 GB, free: 27.28 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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.000138/0.5293, allocations: 131.8 kB / 0.6902 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.5293, allocations: 19.14 kB / 0.6902 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.5303, allocations: 210.2 kB / 0.6904 GB, free: 26.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.5303, allocations: 0 / 0.6904 GB, free: 26.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5303, allocations: 4 kB / 0.6904 GB, free: 26.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5303, allocations: 10.84 kB / 0.6904 GB, free: 26.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.5305, allocations: 232.7 kB / 0.6907 GB, free: 26.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5305, allocations: 2.188 kB / 0.6907 GB, free: 26.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.5308, allocations: 23.98 kB / 0.6907 GB, free: 26.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5309, allocations: 5.484 kB / 0.6907 GB, free: 26.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.5309, allocations: 13.38 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5309, allocations: 0 / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5309, allocations: 2.891 kB / 0.6907 GB, free: 26.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.5322, allocations: 321.4 kB / 0.691 GB, free: 26.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.5323, allocations: 92.95 kB / 0.6911 GB, free: 26.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.5324, allocations: 3.984 kB / 0.6911 GB, free: 26.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.5327, allocations: 35.72 kB / 0.6911 GB, free: 26.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.5328, allocations: 11.98 kB / 0.6911 GB, free: 26.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5328, allocations: 7.984 kB / 0.6912 GB, free: 26.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001688/0.533, allocations: 144.1 kB / 0.6913 GB, free: 25.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.533, allocations: 0 / 0.6913 GB, free: 25.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.5334, allocations: 48.06 kB / 0.6913 GB, free: 25.93 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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008919/0.5343, allocations: 326.7 kB / 0.6917 GB, free: 25.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.5353, allocations: 294.7 kB / 0.6919 GB, free: 25.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5353, allocations: 0 / 0.6919 GB, free: 25.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.5358, allocations: 85.66 kB / 0.692 GB, free: 25.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.5363, allocations: 45.89 kB / 0.6921 GB, free: 25.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.5372, allocations: 324.5 kB / 0.6924 GB, free: 24.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.5375, allocations: 0.7197 MB / 0.6931 GB, free: 24.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.5376, allocations: 13.27 kB / 0.6931 GB, free: 24.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.5377, allocations: 19.44 kB / 0.6931 GB, free: 24.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5377, allocations: 0 / 0.6931 GB, free: 24.2 MB / 362.7 MB Notification: Performance of Templates: time 0.007722/0.5454, allocations: 2.381 MB / 0.6954 GB, free: 21.94 MB / 362.7 MB