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.Test65.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.Test65,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.Test65") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 19.98 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 48.71 MB / 331.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001819/0.2862, allocations: 1.253 MB / 332.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.287, allocations: 395.6 kB / 332.8 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.2871, allocations: 3.938 kB / 332.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.2874, allocations: 70.73 kB / 332.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2876, allocations: 54.11 kB / 333 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.2878, allocations: 57.08 kB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.2879, allocations: 50.27 kB / 333.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.288, allocations: 3.016 kB / 333.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.2881, allocations: 33.64 kB / 333.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.2882, allocations: 40.41 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2882, allocations: 2.062 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.2883, allocations: 24.25 kB / 333.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.2884, allocations: 15.86 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.2884, allocations: 37.27 kB / 333.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2886, allocations: 69.89 kB / 333.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.734e-06/0.2886, allocations: 0 / 333.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.89e-06/0.2886, allocations: 1.156 kB / 333.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.925e-06/0.2886, allocations: 3.938 kB / 333.3 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.0004024/0.289, allocations: 410.1 kB / 333.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2891, allocations: 8.844 kB / 333.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.2891, allocations: 14.19 kB / 333.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2893, allocations: 197.8 kB / 333.9 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2894, allocations: 5.172 kB / 333.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2894, allocations: 3.25 kB / 333.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2895, allocations: 37.98 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.144e-06/0.2895, allocations: 1.25 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2895, allocations: 0.7969 kB / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-06/0.2896, allocations: 0 / 334 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.2896, allocations: 10.77 kB / 334 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.2898, allocations: 183 kB / 334.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.2899, allocations: 30.7 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2899, allocations: 3.938 kB / 334.2 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.2901, allocations: 60.05 kB / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 3.251e-06/0.2901, allocations: 0 / 334.2 MB, free: 4.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.2903, allocations: 68.45 kB / 334.3 MB, free: 4.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2903, allocations: 56.34 kB / 334.4 MB, free: 4.305 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2906, allocations: 195.1 kB / 334.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2906, allocations: 25.7 kB / 334.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2906, allocations: 161.8 kB / 334.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2907, allocations: 10.45 kB / 334.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-06/0.2907, allocations: 0 / 334.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.2908, allocations: 314 kB / 335.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.2908, allocations: 12.22 kB / 335.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.2909, allocations: 18 kB / 335.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.2909, allocations: 43.78 kB / 335.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.603e-06/0.291, allocations: 0 / 335.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.2911, allocations: 106.2 kB / 335.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.2912, allocations: 38.05 kB / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.786e-06/0.2912, allocations: 0 / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2912, allocations: 1.219 kB / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/0.2913, allocations: 6.25 kB / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2913, allocations: 0 / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.2914, allocations: 8.125 kB / 335.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2914, allocations: 6.344 kB / 335.3 MB, free: 3.492 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.049e-05/0.2915, allocations: 123.2 kB / 335.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2915, allocations: 11.42 kB / 335.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.2916, allocations: 19.08 kB / 335.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.975e-06/0.2916, allocations: 5.203 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.822e-06/0.2916, allocations: 0 / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-06/0.2916, allocations: 1.281 kB / 335.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2918, allocations: 173.9 kB / 335.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-06/0.2918, allocations: 0 / 335.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.2918, allocations: 11.69 kB / 335.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.928e-06/0.2918, allocations: 0 / 335.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2919, allocations: 5.297 kB / 335.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-06/0.2919, allocations: 0 / 335.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.219e-06/0.2919, allocations: 0.9375 kB / 335.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.292, allocations: 86.39 kB / 335.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.2921, allocations: 83.5 kB / 335.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2921, allocations: 6.25 kB / 335.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.2922, allocations: 11.61 kB / 335.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2922, allocations: 2.172 kB / 335.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2922, allocations: 2.719 kB / 335.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.2924, allocations: 144.3 kB / 336 MB, free: 2.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.2924, allocations: 0 / 336 MB, free: 2.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.2927, allocations: 20.89 kB / 336 MB, free: 2.855 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.0009776/0.2937, allocations: 333.8 kB / 336.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.2939, allocations: 91.34 kB / 336.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-06/0.2939, allocations: 4 kB / 336.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.294, allocations: 8.281 kB / 336.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.2942, allocations: 15 kB / 336.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.2947, allocations: 228.1 kB / 336.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2948, allocations: 0.7027 MB / 337.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.2949, allocations: 16.03 kB / 337.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of SimCode: time 1.51e-06/0.2949, allocations: 0 / 337.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of Templates: time 0.003804/0.2987, allocations: 1.507 MB / 338.9 MB, free: 1.199 MB / 266.7 MB