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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004429/0.0004431, allocations: 19.98 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002103/0.2794, allocations: 1.219 MB / 370.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.28, allocations: 253.1 kB / 370.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.2801, allocations: 0 / 370.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2802, allocations: 15.98 kB / 370.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.2804, allocations: 19.86 kB / 370.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2805, allocations: 31.91 kB / 370.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2807, allocations: 35.95 kB / 370.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.2808, allocations: 11.98 kB / 370.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.2808, allocations: 19.92 kB / 370.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.2809, allocations: 15.92 kB / 370.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2809, allocations: 4 kB / 370.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.281, allocations: 15.88 kB / 370.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.281, allocations: 7.984 kB / 370.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2811, allocations: 33.7 kB / 370.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.2812, allocations: 43.88 kB / 370.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.527e-06/0.2812, allocations: 4 kB / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.2813, allocations: 0 / 370.9 MB, free: 9.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.604e-06/0.2813, allocations: 0 / 370.9 MB, free: 9.09 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.0005052/0.2818, allocations: 389.6 kB / 371.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2818, allocations: 8.031 kB / 371.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.2819, allocations: 11.86 kB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2821, allocations: 175 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2821, allocations: 4 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2821, allocations: 4 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2823, allocations: 49.69 kB / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2823, allocations: 0 / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-06/0.2824, allocations: 0 / 371.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.181e-06/0.2824, allocations: 4 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.2825, allocations: 35.81 kB / 371.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.2829, allocations: 276.8 kB / 371.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2832, allocations: 42.56 kB / 371.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2832, allocations: 0 / 371.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2833, allocations: 34.5 kB / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.838e-06/0.2833, allocations: 0 / 371.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006719/0.284, allocations: 157.5 kB / 372.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.284, allocations: 55.34 kB / 372.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2842, allocations: 134.1 kB / 372.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2842, allocations: 29.7 kB / 372.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.2843, allocations: 158.6 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2844, allocations: 15.73 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-06/0.2844, allocations: 0 / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2846, allocations: 322.8 kB / 372.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2847, allocations: 23.98 kB / 372.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.2848, allocations: 23.98 kB / 372.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2849, allocations: 53.69 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2849, allocations: 0 / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002951/0.2852, allocations: 123.3 kB / 373 MB, free: 6.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.2853, allocations: 29.7 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.839e-06/0.2853, allocations: 3.984 kB / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2853, allocations: 3.953 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.2854, allocations: 15.94 kB / 373.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.278e-06/0.2855, allocations: 0 / 373.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.2855, allocations: 11.98 kB / 373.1 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2856, allocations: 4.25 kB / 373.1 MB, free: 6.699 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.0001125/0.2857, allocations: 113.8 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2857, allocations: 4 kB / 373.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.286, allocations: 105.8 kB / 373.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.452e-06/0.2861, allocations: 3.953 kB / 373.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-06/0.2861, allocations: 4 kB / 373.3 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-06/0.2861, allocations: 3.984 kB / 373.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.2867, allocations: 346.5 kB / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-06/0.2867, allocations: 0 / 373.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.2868, allocations: 23.92 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-06/0.2868, allocations: 3.953 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8e-06/0.2868, allocations: 0 / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-06/0.2868, allocations: 0 / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-06/0.2869, allocations: 0 / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2872, allocations: 191.4 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.2872, allocations: 81.11 kB / 373.9 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.2873, allocations: 3.953 kB / 373.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.2874, allocations: 8 kB / 373.9 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2874, allocations: 7.984 kB / 373.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-06/0.2875, allocations: 0 / 373.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2876, allocations: 99.77 kB / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.2876, allocations: 0 / 374 MB, free: 5.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.2879, allocations: 20 kB / 374.1 MB, free: 5.594 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.0009526/0.2889, allocations: 297.9 kB / 374.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.2892, allocations: 115.3 kB / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.2e-06/0.2892, allocations: 0 / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2893, allocations: 35.97 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2896, allocations: 7.984 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.2901, allocations: 198.5 kB / 374.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.2905, allocations: 0.6926 MB / 375.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.2905, allocations: 15.44 kB / 375.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.366e-06/0.2905, allocations: 0 / 375.4 MB, free: 4.242 MB / 298.7 MB Notification: Performance of Templates: time 0.003299/0.2939, allocations: 1.159 MB / 376.6 MB, free: 3.082 MB / 298.7 MB