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.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004421, allocations: 12 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2815, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001905/0.2835, allocations: 1.294 MB / 332.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000845/0.2844, allocations: 422.4 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.2845, allocations: 2.375 kB / 332.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2847, allocations: 29.75 kB / 332.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2849, allocations: 27.2 kB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.2851, allocations: 54.08 kB / 333 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2853, allocations: 57.53 kB / 333.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.2854, allocations: 14.12 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.2854, allocations: 23.44 kB / 333.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.2855, allocations: 29.81 kB / 333.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2855, allocations: 1.125 kB / 333.1 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2857, allocations: 33.36 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.2857, allocations: 18.17 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2858, allocations: 29.98 kB / 333.2 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.286, allocations: 82.77 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.286, allocations: 1.375 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.286, allocations: 4 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.339e-06/0.286, allocations: 0 / 333.3 MB, free: 5.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000431/0.2865, allocations: 397 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2865, allocations: 9.5 kB / 333.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.2866, allocations: 11.47 kB / 333.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.2868, allocations: 198.4 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.2868, allocations: 6.75 kB / 333.9 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2868, allocations: 6.203 kB / 333.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.287, allocations: 46.72 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.287, allocations: 1.609 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-06/0.287, allocations: 0 / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-06/0.287, allocations: 1.031 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.2871, allocations: 14.12 kB / 334 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.2875, allocations: 277.7 kB / 334.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.2877, allocations: 38.52 kB / 334.3 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2877, allocations: 10.11 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.2879, allocations: 58.86 kB / 334.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.516e-06/0.2879, allocations: 0 / 334.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004371/0.2884, allocations: 116.6 kB / 334.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2884, allocations: 52.16 kB / 334.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2886, allocations: 176.3 kB / 334.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2887, allocations: 27.39 kB / 334.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.2887, allocations: 164.9 kB / 334.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.2888, allocations: 16.08 kB / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-06/0.2888, allocations: 0 / 334.9 MB, free: 3.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.2888, allocations: 317.7 kB / 335.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.2889, allocations: 19.48 kB / 335.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.289, allocations: 20.34 kB / 335.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.289, allocations: 46.81 kB / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-06/0.2891, allocations: 0 / 335.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002009/0.2893, allocations: 117.6 kB / 335.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/0.2893, allocations: 37.2 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.904e-06/0.2893, allocations: 0.6562 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2894, allocations: 1.188 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.2894, allocations: 9.203 kB / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.797e-06/0.2895, allocations: 0 / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.646e-05/0.2895, allocations: 3.312 kB / 335.5 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2896, allocations: 7.453 kB / 335.5 MB, free: 3.34 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 (7): * Single equations (assignments): 6 * 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.168e-05/0.2897, allocations: 128.2 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2897, allocations: 8.578 kB / 335.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.2898, allocations: 17.95 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2898, allocations: 1.844 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-06/0.2898, allocations: 3.938 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2898, allocations: 0.6562 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.2902, allocations: 340.2 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-06/0.2902, allocations: 0 / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2902, allocations: 6.672 kB / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.221e-06/0.2902, allocations: 0 / 336 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2903, allocations: 6.203 kB / 336 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-06/0.2903, allocations: 4 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2903, allocations: 1.125 kB / 336 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.2905, allocations: 172.6 kB / 336.1 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.2905, allocations: 85.11 kB / 336.2 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.2905, allocations: 5.859 kB / 336.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.2906, allocations: 5.344 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2907, allocations: 4.266 kB / 336.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2907, allocations: 7.406 kB / 336.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2908, allocations: 134.6 kB / 336.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.69e-07/0.2909, allocations: 0 / 336.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.2912, allocations: 29.05 kB / 336.4 MB, free: 2.496 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 (5): * Single equations (assignments): 4 * 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.001123/0.2924, allocations: 365 kB / 336.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.2926, allocations: 105.6 kB / 336.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.003e-06/0.2926, allocations: 0 / 336.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.2927, allocations: 20.44 kB / 336.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.293, allocations: 14.41 kB / 336.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.2934, allocations: 227.5 kB / 337.1 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2936, allocations: 0.6973 MB / 337.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.2937, allocations: 15.64 kB / 337.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of SimCode: time 1.298e-06/0.2937, allocations: 0 / 337.8 MB, free: 1.297 MB / 266.7 MB Notification: Performance of Templates: time 0.004062/0.2977, allocations: 1.663 MB / 339.5 MB, free: 0.7305 MB / 266.7 MB