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.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007276/0.0007279, allocations: 16 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2885, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002103/0.2906, allocations: 1.227 MB / 370.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.2913, allocations: 249.3 kB / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.2913, allocations: 0 / 370.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.2916, allocations: 63.83 kB / 370.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.2918, allocations: 55.81 kB / 370.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.2919, allocations: 23.97 kB / 370.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2921, allocations: 51.88 kB / 370.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.2922, allocations: 11.98 kB / 370.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.2923, allocations: 27.91 kB / 370.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2924, allocations: 35.89 kB / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2924, allocations: 0 / 370.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.2925, allocations: 23.92 kB / 370.9 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2926, allocations: 15.94 kB / 371 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.2926, allocations: 29.64 kB / 371 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.2928, allocations: 63.91 kB / 371 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.84e-06/0.2928, allocations: 0 / 371 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.2928, allocations: 4 kB / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.921e-06/0.2928, allocations: 0 / 371.1 MB, free: 8.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005231/0.2933, allocations: 397.4 kB / 371.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2934, allocations: 12.03 kB / 371.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.2934, allocations: 15.84 kB / 371.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.2937, allocations: 189 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2937, allocations: 0 / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2937, allocations: 4 kB / 371.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.2939, allocations: 57.62 kB / 371.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2939, allocations: 0 / 371.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-06/0.294, allocations: 0 / 371.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-06/0.294, allocations: 3.938 kB / 371.7 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2941, allocations: 27.94 kB / 371.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.2946, allocations: 284.8 kB / 372 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2948, allocations: 54.48 kB / 372.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2948, allocations: 0 / 372.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2949, allocations: 34.56 kB / 372.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.881e-06/0.2949, allocations: 0 / 372.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006851/0.2956, allocations: 161.3 kB / 372.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2957, allocations: 51.41 kB / 372.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.2959, allocations: 201.3 kB / 372.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.296, allocations: 29.7 kB / 372.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2961, allocations: 158.6 kB / 372.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.2961, allocations: 19.66 kB / 372.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-06/0.2961, allocations: 0 / 372.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2963, allocations: 318.8 kB / 373 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2964, allocations: 23.98 kB / 373.1 MB, free: 6.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.2965, allocations: 27.98 kB / 373.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.2967, allocations: 49.69 kB / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.87e-06/0.2967, allocations: 0 / 373.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003085/0.297, allocations: 123.3 kB / 373.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.2971, allocations: 33.7 kB / 373.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.762e-06/0.2971, allocations: 0 / 373.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2971, allocations: 3.953 kB / 373.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.2972, allocations: 15.98 kB / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.925e-06/0.2972, allocations: 0 / 373.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.2973, allocations: 4 kB / 373.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2973, allocations: 4 kB / 373.3 MB, free: 6.332 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001271/0.2975, allocations: 125.8 kB / 373.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.2975, allocations: 7.906 kB / 373.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.2979, allocations: 106.2 kB / 373.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-06/0.2979, allocations: 4.016 kB / 373.5 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-06/0.2979, allocations: 4 kB / 373.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.335e-06/0.2979, allocations: 7.984 kB / 373.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.2985, allocations: 350.6 kB / 373.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-06/0.2985, allocations: 0 / 373.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.2986, allocations: 15.98 kB / 373.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.429e-06/0.2987, allocations: 15.83 kB / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2987, allocations: 0 / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-06/0.2987, allocations: 0 / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-06/0.2987, allocations: 0 / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.299, allocations: 183.3 kB / 374.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.2991, allocations: 93 kB / 374.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2991, allocations: 7.891 kB / 374.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2993, allocations: 12.28 kB / 374.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2993, allocations: 3.984 kB / 374.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2993, allocations: 4 kB / 374.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2995, allocations: 150.2 kB / 374.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.2995, allocations: 0 / 374.4 MB, free: 5.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.2999, allocations: 15.98 kB / 374.4 MB, free: 5.148 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009655/0.3009, allocations: 296.3 kB / 374.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.3013, allocations: 115.3 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.3013, allocations: 4 kB / 374.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3015, allocations: 23.98 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3019, allocations: 15.92 kB / 374.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.3025, allocations: 254.6 kB / 375.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3029, allocations: 0.7082 MB / 375.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.303, allocations: 15.44 kB / 375.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.489e-06/0.303, allocations: 0 / 375.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of Templates: time 0.003532/0.3065, allocations: 1.267 MB / 377.1 MB, free: 2.457 MB / 298.7 MB