Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 19.92 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2949, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002291/0.2972, allocations: 1.349 MB / 370.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2995, allocations: 1.287 MB / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.2996, allocations: 0 / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.2999, allocations: 35.83 kB / 371.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3001, allocations: 31.89 kB / 371.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3003, allocations: 59.83 kB / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3004, allocations: 63.91 kB / 372 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.3005, allocations: 8 kB / 372 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.3006, allocations: 35.84 kB / 372.1 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3008, allocations: 31.84 kB / 372.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3009, allocations: 4 kB / 372.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.301, allocations: 47.91 kB / 372.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3011, allocations: 19.91 kB / 372.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.3011, allocations: 41.64 kB / 372.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3014, allocations: 95.8 kB / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3014, allocations: 0 / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.3014, allocations: 0 / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3014, allocations: 0 / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000603/0.302, allocations: 451 kB / 372.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3021, allocations: 8.031 kB / 372.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3021, allocations: 7.906 kB / 372.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.3024, allocations: 198.9 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3025, allocations: 8 kB / 373 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3025, allocations: 4 kB / 373 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3027, allocations: 71.33 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3027, allocations: 3.938 kB / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3028, allocations: 0 / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-06/0.3028, allocations: 3.953 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.3029, allocations: 23.98 kB / 373.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.3034, allocations: 288.8 kB / 373.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3036, allocations: 62.61 kB / 373.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3036, allocations: 4 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.3038, allocations: 67.34 kB / 373.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 5.86e-06/0.3039, allocations: 4 kB / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006862/0.3046, allocations: 185.2 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.3047, allocations: 77.11 kB / 373.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3049, allocations: 147 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3049, allocations: 25.7 kB / 373.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.305, allocations: 166.5 kB / 374.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.3051, allocations: 23.66 kB / 374.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.3051, allocations: 4 kB / 374.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3053, allocations: 322.8 kB / 374.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3054, allocations: 31.98 kB / 374.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3055, allocations: 54.5 kB / 374.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3057, allocations: 65.69 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-06/0.3057, allocations: 0 / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003745/0.3061, allocations: 159.3 kB / 374.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.3062, allocations: 33.77 kB / 374.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3062, allocations: 4 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3062, allocations: 4 kB / 374.7 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3063, allocations: 15.98 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-06/0.3064, allocations: 0 / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.3065, allocations: 8 kB / 374.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3065, allocations: 4 kB / 374.8 MB, free: 4.828 MB / 298.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001404/0.3066, allocations: 122.4 kB / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3067, allocations: 12.23 kB / 374.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.3067, allocations: 16.72 kB / 374.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.104e-06/0.3068, allocations: 0 / 374.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-06/0.3068, allocations: 7.875 kB / 374.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3068, allocations: 15.97 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.3074, allocations: 387.3 kB / 375.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.631e-06/0.3075, allocations: 4.078 kB / 375.3 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3075, allocations: 15.88 kB / 375.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.393e-06/0.3075, allocations: 0 / 375.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3076, allocations: 8.031 kB / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-06/0.3076, allocations: 0 / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.856e-06/0.3076, allocations: 0 / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.3079, allocations: 200.2 kB / 375.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.308, allocations: 93 kB / 375.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.3081, allocations: 7.984 kB / 375.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3082, allocations: 8 kB / 375.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3083, allocations: 7.938 kB / 375.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3083, allocations: 7.984 kB / 375.7 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3084, allocations: 105.3 kB / 375.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.3084, allocations: 0 / 375.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.3089, allocations: 43.98 kB / 375.8 MB, free: 3.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001841/0.3107, allocations: 0.5331 MB / 376.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.3111, allocations: 155.3 kB / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.36e-06/0.3111, allocations: 0 / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3112, allocations: 23.98 kB / 376.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3116, allocations: 23.94 kB / 376.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.3121, allocations: 235.8 kB / 376.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3125, allocations: 0.7004 MB / 377.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.3126, allocations: 19.42 kB / 377.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of SimCode: time 1.736e-06/0.3126, allocations: 0 / 377.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of Templates: time 0.005088/0.3177, allocations: 2.14 MB / 379.6 MB, free: 15.88 MB / 314.7 MB