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.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004428, allocations: 16 kB / 314.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 54.88 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002231/0.2846, allocations: 1.322 MB / 370.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2861, allocations: 0.7008 MB / 371.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2862, allocations: 0 / 371.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.2865, allocations: 19.92 kB / 371.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.2867, allocations: 55.8 kB / 371.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.2869, allocations: 47.83 kB / 371.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.2871, allocations: 63.84 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.2871, allocations: 7.859 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.2872, allocations: 35.86 kB / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.2873, allocations: 31.89 kB / 371.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2874, allocations: 4 kB / 371.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.2875, allocations: 16 kB / 371.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.2875, allocations: 27.91 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.2876, allocations: 41.64 kB / 371.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2878, allocations: 83.86 kB / 371.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.716e-06/0.2878, allocations: 4 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2878, allocations: 3.938 kB / 371.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.2879, allocations: 0 / 371.7 MB, free: 8.359 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006353/0.2885, allocations: 470.7 kB / 372.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2886, allocations: 12.03 kB / 372.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2886, allocations: 15.91 kB / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2889, allocations: 214.7 kB / 372.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.289, allocations: 4 kB / 372.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.289, allocations: 0 / 372.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2892, allocations: 49.67 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.985e-06/0.2892, allocations: 0 / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2892, allocations: 4 kB / 372.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.799e-06/0.2892, allocations: 3.953 kB / 372.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.2893, allocations: 11.94 kB / 372.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.2896, allocations: 201.6 kB / 372.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.2898, allocations: 54.62 kB / 372.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.2899, allocations: 4 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.2901, allocations: 63.39 kB / 372.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.563e-06/0.2901, allocations: 0 / 372.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003705/0.2905, allocations: 105.4 kB / 372.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.2906, allocations: 59.36 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2909, allocations: 254.5 kB / 373.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.291, allocations: 29.7 kB / 373.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2911, allocations: 166.6 kB / 373.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.2911, allocations: 15.81 kB / 373.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-06/0.2912, allocations: 0 / 373.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2913, allocations: 318.8 kB / 373.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2914, allocations: 27.92 kB / 373.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2916, allocations: 41.7 kB / 373.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2917, allocations: 57.64 kB / 373.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-06/0.2917, allocations: 0 / 373.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003181/0.292, allocations: 127.3 kB / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.2921, allocations: 37.69 kB / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2921, allocations: 0 / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2922, allocations: 0 / 373.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2923, allocations: 24.02 kB / 374 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.913e-06/0.2923, allocations: 0 / 374 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.2924, allocations: 19.73 kB / 374 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.2924, allocations: 7.984 kB / 374 MB, free: 5.754 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 (8): * Single equations (assignments): 7 * 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.0001652/0.2926, allocations: 134.8 kB / 374.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.2926, allocations: 11.81 kB / 374.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.2927, allocations: 17 kB / 374.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-06/0.2927, allocations: 0 / 374.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.554e-06/0.2927, allocations: 0 / 374.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-06/0.2928, allocations: 8 kB / 374.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.293, allocations: 197.6 kB / 374.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-06/0.293, allocations: 0 / 374.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.2931, allocations: 7.938 kB / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.895e-06/0.2931, allocations: 0 / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2931, allocations: 320 / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.2931, allocations: 3.984 kB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.261e-06/0.2931, allocations: 4 kB / 374.4 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2934, allocations: 120.9 kB / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2935, allocations: 93 kB / 374.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.2936, allocations: 0 / 374.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.2937, allocations: 7.984 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.2937, allocations: 0 / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2937, allocations: 4 kB / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002311/0.294, allocations: 188.5 kB / 374.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.294, allocations: 0 / 374.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.2943, allocations: 23.98 kB / 374.8 MB, free: 4.859 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001377/0.2957, allocations: 398.7 kB / 375.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.2961, allocations: 135.4 kB / 375.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.2961, allocations: 0 / 375.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.2962, allocations: 27.92 kB / 375.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2965, allocations: 27.81 kB / 375.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.2971, allocations: 295.5 kB / 375.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2976, allocations: 0.7199 MB / 376.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2976, allocations: 11.44 kB / 376.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of SimCode: time 1.985e-06/0.2977, allocations: 3.938 kB / 376.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of Templates: time 0.004587/0.3023, allocations: 1.779 MB / 378.2 MB, free: 1.496 MB / 298.7 MB