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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 20 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002332/0.2838, allocations: 1.349 MB / 370.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2853, allocations: 0.7163 MB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.2854, allocations: 4 kB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.2856, allocations: 23.84 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.2858, allocations: 35.88 kB / 371.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.286, allocations: 51.83 kB / 371.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.2862, allocations: 71.84 kB / 371.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.2863, allocations: 8 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.2864, allocations: 31.86 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.2865, allocations: 35.83 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2866, allocations: 4 kB / 371.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.2867, allocations: 24 kB / 371.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.2867, allocations: 19.92 kB / 371.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.2868, allocations: 37.69 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.287, allocations: 79.81 kB / 371.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.008e-06/0.287, allocations: 0 / 371.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.287, allocations: 3.938 kB / 371.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.287, allocations: 0 / 371.7 MB, free: 8.188 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.0006214/0.2877, allocations: 447 kB / 372.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2877, allocations: 16.03 kB / 372.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.2878, allocations: 11.91 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2881, allocations: 195.5 kB / 372.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2881, allocations: 4 kB / 372.3 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2881, allocations: 7.984 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2883, allocations: 53.67 kB / 372.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2884, allocations: 0 / 372.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2884, allocations: 3.938 kB / 372.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-06/0.2884, allocations: 3.953 kB / 372.4 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.2885, allocations: 27.92 kB / 372.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.289, allocations: 296.8 kB / 372.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2892, allocations: 66.59 kB / 372.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2893, allocations: 0 / 372.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.2895, allocations: 83.28 kB / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.552e-06/0.2895, allocations: 0 / 372.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006825/0.2902, allocations: 169.3 kB / 373 MB, free: 6.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.2903, allocations: 55.41 kB / 373.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2905, allocations: 162.3 kB / 373.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.2905, allocations: 33.69 kB / 373.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2907, allocations: 162.5 kB / 373.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.2907, allocations: 23.66 kB / 373.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.2907, allocations: 8 kB / 373.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2909, allocations: 318.8 kB / 373.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.291, allocations: 31.98 kB / 373.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2912, allocations: 41.7 kB / 373.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2913, allocations: 65.69 kB / 373.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-06/0.2914, allocations: 0 / 373.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.2917, allocations: 159.3 kB / 374.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.2918, allocations: 33.66 kB / 374.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.2918, allocations: 4 kB / 374.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2918, allocations: 0 / 374.1 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.292, allocations: 23.92 kB / 374.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.023e-06/0.292, allocations: 4 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.2921, allocations: 0 / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2921, allocations: 8 kB / 374.2 MB, free: 5.469 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.0001502/0.2923, allocations: 126.8 kB / 374.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2923, allocations: 15.81 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.2924, allocations: 16.67 kB / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-06/0.2924, allocations: 0 / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.765e-06/0.2924, allocations: 0 / 374.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.331e-06/0.2924, allocations: 7.922 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.2931, allocations: 387.7 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-06/0.2931, allocations: 0 / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.2931, allocations: 15.98 kB / 374.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.792e-06/0.2932, allocations: 4.031 kB / 374.7 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2932, allocations: 8 kB / 374.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.987e-06/0.2932, allocations: 0 / 374.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-06/0.2932, allocations: 0 / 374.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.2936, allocations: 204.2 kB / 374.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.2937, allocations: 96.95 kB / 375 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.2937, allocations: 4 kB / 375 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2938, allocations: 12.08 kB / 375 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2939, allocations: 3.938 kB / 375 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2939, allocations: 4 kB / 375 MB, free: 4.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2941, allocations: 126.1 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.6e-07/0.2941, allocations: 0 / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.2945, allocations: 31.98 kB / 375.2 MB, free: 4.324 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.001546/0.296, allocations: 457 kB / 375.6 MB, free: 3.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.2965, allocations: 151.3 kB / 375.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.906e-06/0.2965, allocations: 4 kB / 375.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2966, allocations: 27.94 kB / 375.8 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2969, allocations: 19.98 kB / 375.8 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.2975, allocations: 256.1 kB / 376.1 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.2979, allocations: 0.7004 MB / 376.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.298, allocations: 15.44 kB / 376.8 MB, free: 2.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.298, allocations: 4 kB / 376.8 MB, free: 2.727 MB / 298.7 MB Notification: Performance of Templates: time 0.004699/0.3027, allocations: 1.852 MB / 378.7 MB, free: 0.875 MB / 298.7 MB