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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.226/2.226, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002088/0.2802, allocations: 1.219 MB / 370.4 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2817, allocations: 0.8297 MB / 371.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.2817, allocations: 0 / 371.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2819, allocations: 15.86 kB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2821, allocations: 27.91 kB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2822, allocations: 31.91 kB / 371.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2824, allocations: 39.89 kB / 371.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.2825, allocations: 11.98 kB / 371.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.361e-05/0.2825, allocations: 19.92 kB / 371.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2827, allocations: 19.92 kB / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2827, allocations: 0 / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.703e-05/0.2828, allocations: 27.98 kB / 371.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.2829, allocations: 19.91 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.2829, allocations: 25.7 kB / 371.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2831, allocations: 63.86 kB / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372e-06/0.2831, allocations: 0 / 371.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.2831, allocations: 4 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.152e-06/0.2832, allocations: 0 / 371.5 MB, free: 8.336 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.0005312/0.2837, allocations: 393.5 kB / 371.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2837, allocations: 15.97 kB / 371.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.2838, allocations: 3.953 kB / 371.9 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.284, allocations: 178.9 kB / 372.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2841, allocations: 4 kB / 372.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2841, allocations: 4 kB / 372.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.2843, allocations: 63.39 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2843, allocations: 0 / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2843, allocations: 4 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.066e-06/0.2844, allocations: 4 kB / 372.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2845, allocations: 27.94 kB / 372.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.2849, allocations: 276.8 kB / 372.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.2852, allocations: 42.56 kB / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2852, allocations: 0 / 372.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2853, allocations: 30.56 kB / 372.6 MB, free: 7.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.899e-06/0.2853, allocations: 4 kB / 372.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006873/0.286, allocations: 161.6 kB / 372.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.2861, allocations: 81.11 kB / 372.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2862, allocations: 121.8 kB / 372.9 MB, free: 6.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2863, allocations: 25.7 kB / 373 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.2864, allocations: 162.5 kB / 373.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.2864, allocations: 15.73 kB / 373.1 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.2865, allocations: 8 kB / 373.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2866, allocations: 314.8 kB / 373.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2867, allocations: 31.92 kB / 373.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.2869, allocations: 37.7 kB / 373.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.287, allocations: 53.7 kB / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-06/0.287, allocations: 4 kB / 373.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000297/0.2873, allocations: 115.4 kB / 373.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.2874, allocations: 37.69 kB / 373.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.395e-06/0.2874, allocations: 4 kB / 373.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2874, allocations: 7.984 kB / 373.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.2875, allocations: 12 kB / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.719e-06/0.2876, allocations: 0 / 373.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.2876, allocations: 12.23 kB / 373.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2877, allocations: 7.938 kB / 373.8 MB, free: 5.863 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.0001171/0.2878, allocations: 113.8 kB / 373.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2878, allocations: 3.906 kB / 373.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.2882, allocations: 101.6 kB / 374 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2882, allocations: 7.891 kB / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.949e-06/0.2882, allocations: 0 / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.806e-06/0.2882, allocations: 0 / 374 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.2888, allocations: 358.4 kB / 374.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.082e-06/0.2888, allocations: 4 kB / 374.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.2889, allocations: 12 kB / 374.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.754e-06/0.2889, allocations: 3.953 kB / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-06/0.289, allocations: 0 / 374.4 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.268e-06/0.289, allocations: 3.984 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-06/0.289, allocations: 0 / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.2893, allocations: 191.4 kB / 374.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.2894, allocations: 81.11 kB / 374.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2894, allocations: 3.953 kB / 374.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2895, allocations: 11.98 kB / 374.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.2896, allocations: 4 kB / 374.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-06/0.2896, allocations: 0 / 374.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2897, allocations: 99.27 kB / 374.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.2898, allocations: 0 / 374.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.2901, allocations: 27.98 kB / 374.8 MB, free: 4.75 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.001278/0.2914, allocations: 392.8 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2918, allocations: 107.4 kB / 375.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/0.2918, allocations: 0 / 375.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.2919, allocations: 35.92 kB / 375.3 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2922, allocations: 11.98 kB / 375.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.2927, allocations: 182.5 kB / 375.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.2931, allocations: 0.6887 MB / 376.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.2932, allocations: 19.42 kB / 376.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.922e-06/0.2932, allocations: 0 / 376.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003997/0.2972, allocations: 1.448 MB / 377.6 MB, free: 1.891 MB / 298.7 MB