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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004382, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 54.89 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002327/0.2808, allocations: 1.357 MB / 370.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2824, allocations: 0.7203 MB / 371.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.2825, allocations: 0 / 371.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.2828, allocations: 99.72 kB / 371.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.283, allocations: 67.83 kB / 371.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2833, allocations: 51.83 kB / 371.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.2835, allocations: 91.81 kB / 371.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.2836, allocations: 16.23 kB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2837, allocations: 55.81 kB / 371.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2838, allocations: 51.81 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2839, allocations: 4 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.284, allocations: 27.94 kB / 371.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.284, allocations: 27.91 kB / 371.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.2841, allocations: 45.64 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2843, allocations: 100.5 kB / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.406e-06/0.2844, allocations: 0 / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.172e-06/0.2844, allocations: 0 / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.26e-06/0.2844, allocations: 4 kB / 371.9 MB, free: 8.086 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006735/0.2851, allocations: 478 kB / 372.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2851, allocations: 12.03 kB / 372.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.2852, allocations: 11.81 kB / 372.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2855, allocations: 218.7 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2855, allocations: 11.92 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2856, allocations: 4 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2858, allocations: 65.67 kB / 372.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2858, allocations: 4 kB / 372.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2859, allocations: 4 kB / 372.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.2859, allocations: 7.938 kB / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.286, allocations: 35.92 kB / 372.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.2866, allocations: 324.8 kB / 373.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.2868, allocations: 82.75 kB / 373.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2869, allocations: 4 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2871, allocations: 79.33 kB / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.779e-06/0.2871, allocations: 0 / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008025/0.2879, allocations: 229 kB / 373.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.288, allocations: 55.41 kB / 373.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.2883, allocations: 246.2 kB / 373.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2884, allocations: 29.7 kB / 373.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2885, allocations: 178.5 kB / 373.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.2886, allocations: 27.56 kB / 374 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.2886, allocations: 4 kB / 374 MB, free: 5.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2888, allocations: 318.8 kB / 374.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2889, allocations: 39.98 kB / 374.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2891, allocations: 61.62 kB / 374.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.2893, allocations: 88.88 kB / 374.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2893, allocations: 0 / 374.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004169/0.2897, allocations: 183.2 kB / 374.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.2898, allocations: 37.7 kB / 374.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2898, allocations: 3.984 kB / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2898, allocations: 0 / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.29, allocations: 23.94 kB / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.842e-06/0.29, allocations: 0 / 374.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.2901, allocations: 12.02 kB / 374.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2901, allocations: 8 kB / 374.7 MB, free: 5.008 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 (14): * Single equations (assignments): 13 * 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.0001542/0.2903, allocations: 133.8 kB / 374.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.2903, allocations: 19.77 kB / 374.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.2904, allocations: 17.41 kB / 374.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-06/0.2904, allocations: 0 / 374.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-06/0.2904, allocations: 7.922 kB / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-06/0.2904, allocations: 0 / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/0.2912, allocations: 467.1 kB / 375.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.2912, allocations: 3.984 kB / 375.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.2913, allocations: 16 kB / 375.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-06/0.2913, allocations: 0 / 375.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2913, allocations: 0 / 375.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-06/0.2913, allocations: 4 kB / 375.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.277e-06/0.2913, allocations: 0 / 375.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.2917, allocations: 240.1 kB / 375.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2919, allocations: 100.9 kB / 375.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2919, allocations: 7.984 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.292, allocations: 4 kB / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2921, allocations: 7.984 kB / 375.7 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.2921, allocations: 4 kB / 375.7 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.2923, allocations: 180.4 kB / 375.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.2923, allocations: 4 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.2927, allocations: 36 kB / 376 MB, free: 3.68 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 (11): * Single equations (assignments): 9 * 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.001467/0.2942, allocations: 461.8 kB / 376.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.2946, allocations: 171.3 kB / 376.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.773e-06/0.2946, allocations: 3.938 kB / 376.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2948, allocations: 47.98 kB / 376.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.2951, allocations: 26.97 kB / 376.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.2958, allocations: 345 kB / 377 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.2962, allocations: 0.7237 MB / 377.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.2963, allocations: 15.44 kB / 377.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of SimCode: time 1.377e-06/0.2963, allocations: 0 / 377.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Templates: time 0.00502/0.3013, allocations: 2.223 MB / 380 MB, free: 15.71 MB / 314.7 MB