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.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004376, allocations: 12 kB / 314.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.278, allocations: 54.87 MB / 369.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002362/0.2804, allocations: 1.423 MB / 370.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2831, allocations: 1.497 MB / 372.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2833, allocations: 0 / 372.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.2836, allocations: 39.83 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.2839, allocations: 63.78 kB / 372.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2842, allocations: 95.72 kB / 372.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.2845, allocations: 127.8 kB / 372.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.2846, allocations: 5.562 kB / 372.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2847, allocations: 71.69 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.285, allocations: 67.69 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.285, allocations: 4 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2852, allocations: 75.83 kB / 372.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.2853, allocations: 23.92 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.2854, allocations: 53.62 kB / 372.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.2857, allocations: 160.4 kB / 372.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.782e-06/0.2857, allocations: 0 / 372.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.797e-06/0.2857, allocations: 0 / 372.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.439e-06/0.2857, allocations: 0 / 372.9 MB, free: 6.953 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007737/0.2865, allocations: 0.5561 MB / 373.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2866, allocations: 8.031 kB / 373.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.2866, allocations: 15.81 kB / 373.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.287, allocations: 234.8 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2871, allocations: 4 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2871, allocations: 7.938 kB / 373.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.2874, allocations: 97.08 kB / 373.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2874, allocations: 0 / 373.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2874, allocations: 4 kB / 373.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-06/0.2875, allocations: 7.953 kB / 373.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.2876, allocations: 39.91 kB / 373.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.288, allocations: 230.4 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.2883, allocations: 109.2 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2884, allocations: 7.984 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.2887, allocations: 109 kB / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.549e-06/0.2887, allocations: 0 / 374.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006021/0.2893, allocations: 165.4 kB / 374.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.2895, allocations: 144.5 kB / 374.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.2898, allocations: 198.6 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2898, allocations: 33.64 kB / 374.8 MB, free: 4.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2899, allocations: 166.8 kB / 375 MB, free: 4.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.29, allocations: 39.62 kB / 375 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.29, allocations: 0 / 375 MB, free: 4.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2902, allocations: 318.8 kB / 375.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2904, allocations: 47.97 kB / 375.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2906, allocations: 93.12 kB / 375.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.2909, allocations: 111.4 kB / 375.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.349e-06/0.2909, allocations: 0 / 375.6 MB, free: 3.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005886/0.2915, allocations: 244.9 kB / 375.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.2916, allocations: 71.39 kB / 375.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.681e-06/0.2916, allocations: 0 / 375.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2916, allocations: 0 / 375.9 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2918, allocations: 27.92 kB / 375.9 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.337e-06/0.2918, allocations: 3.938 kB / 375.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2919, allocations: 31.78 kB / 376 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.292, allocations: 8 kB / 376 MB, free: 3.523 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001763/0.2922, allocations: 133.8 kB / 376.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.2922, allocations: 15.81 kB / 376.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.2923, allocations: 16.98 kB / 376.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-06/0.2923, allocations: 0 / 376.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.897e-06/0.2923, allocations: 0 / 376.1 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-06/0.2923, allocations: 7.938 kB / 376.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2926, allocations: 213.5 kB / 376.3 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2926, allocations: 4 kB / 376.4 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2927, allocations: 4 kB / 376.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.159e-06/0.2927, allocations: 0 / 376.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2927, allocations: 8.609 kB / 376.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.657e-06/0.2928, allocations: 4 kB / 376.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-06/0.2928, allocations: 0 / 376.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.2932, allocations: 177.7 kB / 376.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2934, allocations: 104.9 kB / 376.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2934, allocations: 4 kB / 376.6 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.2935, allocations: 12 kB / 376.7 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.2936, allocations: 11.98 kB / 376.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2936, allocations: 4 kB / 376.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.2938, allocations: 140.5 kB / 376.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.2938, allocations: 0 / 376.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.2943, allocations: 67.98 kB / 376.9 MB, free: 2.52 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002565/0.2968, allocations: 0.731 MB / 377.6 MB, free: 1.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.2975, allocations: 266.7 kB / 377.9 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.229e-06/0.2975, allocations: 4.125 kB / 377.9 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.2977, allocations: 47.91 kB / 377.9 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.2981, allocations: 43.69 kB / 378 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.2987, allocations: 304.6 kB / 378.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.2992, allocations: 0.7166 MB / 379 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.2993, allocations: 27.42 kB / 379 MB, free: 412 kB / 298.7 MB Notification: Performance of SimCode: time 1.561e-06/0.2993, allocations: 0 / 379 MB, free: 412 kB / 298.7 MB Notification: Performance of Templates: time 0.006979/0.3063, allocations: 3.107 MB / 382.1 MB, free: 13.3 MB / 314.7 MB