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.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004359, allocations: 15.94 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2774, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002505/0.28, allocations: 1.504 MB / 370.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2815, allocations: 0.7539 MB / 371.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.2817, allocations: 4 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.2819, allocations: 27.89 kB / 371.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2821, allocations: 39.83 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2824, allocations: 55.88 kB / 371.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2826, allocations: 91.77 kB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2827, allocations: 33.41 kB / 371.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2828, allocations: 43.8 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.2829, allocations: 39.77 kB / 371.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.283, allocations: 4 kB / 371.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.2831, allocations: 27.98 kB / 371.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.2831, allocations: 19.92 kB / 371.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.2832, allocations: 41.64 kB / 371.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2834, allocations: 104.5 kB / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.5e-06/0.2834, allocations: 0 / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.2834, allocations: 0 / 372 MB, free: 7.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.575e-06/0.2835, allocations: 4 kB / 372 MB, free: 7.887 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007075/0.2842, allocations: 0.4998 MB / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2842, allocations: 8.031 kB / 372.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.2843, allocations: 19.81 kB / 372.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.2846, allocations: 211.5 kB / 372.7 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2846, allocations: 7.984 kB / 372.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.2847, allocations: 8 kB / 372.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.285, allocations: 81.66 kB / 372.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.285, allocations: 3.938 kB / 372.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.285, allocations: 4 kB / 372.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.976e-06/0.285, allocations: 3.953 kB / 372.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.2852, allocations: 47.91 kB / 372.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.2859, allocations: 352.7 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.2863, allocations: 94.56 kB / 373.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2864, allocations: 4 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.2866, allocations: 87.36 kB / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.918e-06/0.2866, allocations: 0 / 373.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005171/0.2872, allocations: 145.5 kB / 373.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2872, allocations: 59.41 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.2875, allocations: 171.2 kB / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.2875, allocations: 29.7 kB / 373.8 MB, free: 5.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.2876, allocations: 170.5 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.2877, allocations: 35.55 kB / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.2877, allocations: 0 / 374 MB, free: 5.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2879, allocations: 318.8 kB / 374.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2881, allocations: 39.98 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.2882, allocations: 62.55 kB / 374.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.2884, allocations: 69.69 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-06/0.2884, allocations: 0 / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004566/0.2889, allocations: 183.4 kB / 374.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.289, allocations: 37.69 kB / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.289, allocations: 0 / 374.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.289, allocations: 4 kB / 374.7 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2892, allocations: 27.92 kB / 374.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-06/0.2892, allocations: 0 / 374.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.2893, allocations: 15.84 kB / 374.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2893, allocations: 12.06 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001447/0.2895, allocations: 125.8 kB / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.2895, allocations: 12.33 kB / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.2896, allocations: 13.41 kB / 374.9 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.034e-06/0.2896, allocations: 3.984 kB / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-06/0.2896, allocations: 0 / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.404e-06/0.2896, allocations: 4 kB / 374.9 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.2899, allocations: 205.5 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-06/0.2899, allocations: 0 / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.29, allocations: 23.92 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.423e-06/0.29, allocations: 0 / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2901, allocations: 3.953 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.548e-06/0.2901, allocations: 4 kB / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-06/0.2901, allocations: 0 / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.2906, allocations: 196.8 kB / 375.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2908, allocations: 92.94 kB / 375.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2908, allocations: 8 kB / 375.4 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.2909, allocations: 11.95 kB / 375.4 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.291, allocations: 7.984 kB / 375.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.291, allocations: 4 kB / 375.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2911, allocations: 128.9 kB / 375.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.142e-06/0.2912, allocations: 0 / 375.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.2915, allocations: 39.98 kB / 375.6 MB, free: 3.898 MB / 298.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: 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 (9): * Single equations (assignments): 7 * 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.001336/0.2928, allocations: 398.4 kB / 376 MB, free: 3.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.2933, allocations: 167.2 kB / 376.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.159e-06/0.2933, allocations: 192 / 376.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.2935, allocations: 39.92 kB / 376.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2938, allocations: 31.95 kB / 376.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.2944, allocations: 308 kB / 376.5 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2949, allocations: 0.7199 MB / 377.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.2949, allocations: 15.44 kB / 377.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of SimCode: time 1.267e-06/0.2949, allocations: 0 / 377.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of Templates: time 0.004823/0.2998, allocations: 2.018 MB / 379.3 MB, free: 244 kB / 298.7 MB