Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.2 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 12 kB / 282.5 MB, free: 9.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001831/0.2792, allocations: 1.255 MB / 332.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.2801, allocations: 406.3 kB / 332.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2802, allocations: 2.344 kB / 332.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.2804, allocations: 20.06 kB / 332.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2806, allocations: 37.98 kB / 332.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.2808, allocations: 57.3 kB / 333 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2809, allocations: 53.41 kB / 333 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.281, allocations: 4.812 kB / 333 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.2811, allocations: 21.22 kB / 333 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.209e-05/0.2812, allocations: 33.38 kB / 333.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2812, allocations: 1.094 kB / 333.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.2813, allocations: 21.33 kB / 333.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.2814, allocations: 24.2 kB / 333.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.2814, allocations: 33.61 kB / 333.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.2816, allocations: 85.06 kB / 333.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.758e-06/0.2816, allocations: 7.938 kB / 333.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.811e-06/0.2816, allocations: 0 / 333.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2816, allocations: 0 / 333.2 MB, free: 5.398 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004203/0.2821, allocations: 427.2 kB / 333.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2821, allocations: 8.875 kB / 333.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.2822, allocations: 10.62 kB / 333.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2824, allocations: 193 kB / 333.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2824, allocations: 5.234 kB / 333.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2824, allocations: 5.344 kB / 333.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2825, allocations: 39.61 kB / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.855e-06/0.2825, allocations: 0 / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.2826, allocations: 1 kB / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-06/0.2826, allocations: 0 / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.2826, allocations: 11.61 kB / 333.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.2828, allocations: 182.7 kB / 334.1 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.2829, allocations: 31.41 kB / 334.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2829, allocations: 9.094 kB / 334.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2831, allocations: 54.59 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.401e-06/0.2831, allocations: 0 / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002239/0.2833, allocations: 72.7 kB / 334.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2834, allocations: 57.09 kB / 334.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.2837, allocations: 242.4 kB / 334.6 MB, free: 4.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2837, allocations: 26.86 kB / 334.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.2838, allocations: 172.9 kB / 334.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.2838, allocations: 9.797 kB / 334.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-06/0.2838, allocations: 1.344 kB / 334.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.2839, allocations: 316.2 kB / 335.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.2839, allocations: 13.17 kB / 335.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.284, allocations: 13.28 kB / 335.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/0.2841, allocations: 43.91 kB / 335.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-06/0.2841, allocations: 0 / 335.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001709/0.2843, allocations: 103.1 kB / 335.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.2843, allocations: 37.2 kB / 335.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-06/0.2843, allocations: 0.7969 kB / 335.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2844, allocations: 1.156 kB / 335.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.2844, allocations: 4.953 kB / 335.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.149e-06/0.2844, allocations: 5.25 kB / 335.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.2845, allocations: 11.06 kB / 335.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2845, allocations: 3.188 kB / 335.3 MB, free: 3.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 9.947e-05/0.2847, allocations: 128.7 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.2847, allocations: 16.17 kB / 335.5 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.2847, allocations: 26.05 kB / 335.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-06/0.2848, allocations: 0 / 335.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-06/0.2848, allocations: 1.703 kB / 335.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-06/0.2848, allocations: 0 / 335.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.2849, allocations: 183.8 kB / 335.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-06/0.2849, allocations: 0 / 335.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.285, allocations: 3.406 kB / 335.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.202e-06/0.285, allocations: 3.938 kB / 335.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.285, allocations: 6 kB / 335.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-06/0.285, allocations: 0 / 335.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.285, allocations: 4 kB / 335.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2852, allocations: 87.31 kB / 335.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2852, allocations: 85.56 kB / 335.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.2853, allocations: 2.078 kB / 335.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.2853, allocations: 6.172 kB / 335.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2854, allocations: 6.938 kB / 335.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2854, allocations: 1.094 kB / 335.9 MB, free: 2.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.2856, allocations: 194.6 kB / 336.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.2856, allocations: 0 / 336.1 MB, free: 2.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.2859, allocations: 20.72 kB / 336.1 MB, free: 2.805 MB / 266.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009681/0.2869, allocations: 327.4 kB / 336.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.2871, allocations: 95.19 kB / 336.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2871, allocations: 0 / 336.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.2872, allocations: 7.438 kB / 336.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.2874, allocations: 19.42 kB / 336.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.2879, allocations: 271.6 kB / 336.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2881, allocations: 0.7159 MB / 337.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.2881, allocations: 11.83 kB / 337.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2881, allocations: 0 / 337.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of Templates: time 0.003942/0.2921, allocations: 1.594 MB / 339.1 MB, free: 1.078 MB / 266.7 MB