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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004203, allocations: 12 kB / 314.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002122/0.2812, allocations: 1.357 MB / 370.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2827, allocations: 0.7202 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.2828, allocations: 0 / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.283, allocations: 67.77 kB / 371.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2832, allocations: 59.86 kB / 371.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.2834, allocations: 59.8 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.2836, allocations: 71.86 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.2836, allocations: 7.984 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.2838, allocations: 43.84 kB / 371.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2839, allocations: 43.88 kB / 371.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2839, allocations: 4 kB / 371.6 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.284, allocations: 31.92 kB / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.2841, allocations: 19.98 kB / 371.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2841, allocations: 37.64 kB / 371.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2843, allocations: 91.8 kB / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.091e-06/0.2843, allocations: 0 / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.465e-06/0.2843, allocations: 0 / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.527e-06/0.2844, allocations: 0 / 371.8 MB, free: 8.078 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.0005556/0.2849, allocations: 466.8 kB / 372.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.285, allocations: 8.031 kB / 372.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.285, allocations: 11.91 kB / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2853, allocations: 207.5 kB / 372.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2853, allocations: 4 kB / 372.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2853, allocations: 8 kB / 372.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2855, allocations: 53.66 kB / 372.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2855, allocations: 4 kB / 372.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-06/0.2856, allocations: 3.938 kB / 372.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-06/0.2856, allocations: 3.953 kB / 372.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.001e-05/0.2857, allocations: 23.92 kB / 372.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.2861, allocations: 300.8 kB / 372.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.2863, allocations: 58.67 kB / 372.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2864, allocations: 0 / 372.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.2866, allocations: 79.22 kB / 373 MB, free: 6.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.406e-06/0.2866, allocations: 4 kB / 373 MB, free: 6.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.2872, allocations: 177.1 kB / 373.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.2873, allocations: 59.41 kB / 373.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.2875, allocations: 198.4 kB / 373.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2876, allocations: 29.7 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2877, allocations: 174.3 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2878, allocations: 27.64 kB / 373.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.2878, allocations: 4 kB / 373.7 MB, free: 6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.288, allocations: 318.8 kB / 374 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2881, allocations: 31.98 kB / 374 MB, free: 5.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2882, allocations: 46.39 kB / 374.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2884, allocations: 61.7 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-06/0.2884, allocations: 0 / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003501/0.2888, allocations: 151.3 kB / 374.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.2888, allocations: 37.64 kB / 374.3 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-06/0.2889, allocations: 8.031 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2889, allocations: 0 / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.289, allocations: 20.36 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.289, allocations: 4 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.2891, allocations: 0 / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2892, allocations: 12 kB / 374.3 MB, free: 5.285 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.0001483/0.2893, allocations: 137.3 kB / 374.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2894, allocations: 11.81 kB / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.2894, allocations: 21.36 kB / 374.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.713e-06/0.2894, allocations: 4 kB / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.838e-06/0.2894, allocations: 0 / 374.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-06/0.2895, allocations: 7.922 kB / 374.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.2901, allocations: 395.3 kB / 374.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-06/0.2901, allocations: 0 / 374.9 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.2902, allocations: 8 kB / 374.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.93e-06/0.2902, allocations: 0 / 374.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2902, allocations: 4.031 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.2902, allocations: 4 kB / 374.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.799e-06/0.2903, allocations: 0 / 374.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.2906, allocations: 208.1 kB / 375.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.2907, allocations: 96.95 kB / 375.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2907, allocations: 3.984 kB / 375.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2909, allocations: 8 kB / 375.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2909, allocations: 8 kB / 375.2 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.291, allocations: 7.984 kB / 375.2 MB, free: 4.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.2911, allocations: 151.3 kB / 375.4 MB, free: 4.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.2912, allocations: 3.938 kB / 375.4 MB, free: 4.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.2915, allocations: 28 kB / 375.4 MB, free: 4.102 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.001568/0.2931, allocations: 447.6 kB / 375.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.2935, allocations: 151.3 kB / 376 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.93e-06/0.2935, allocations: 0 / 376 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2936, allocations: 31.94 kB / 376 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2939, allocations: 19.97 kB / 376.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.2946, allocations: 284.4 kB / 376.3 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.295, allocations: 0.7121 MB / 377 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2951, allocations: 15.44 kB / 377.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of SimCode: time 1.415e-06/0.2951, allocations: 0 / 377.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of Templates: time 0.0047/0.2998, allocations: 1.923 MB / 379 MB, free: 0.5508 MB / 298.7 MB