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.CombiTable1D.Test18.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.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.00044, allocations: 12 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2779, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002236/0.2802, allocations: 1.247 MB / 370.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2817, allocations: 0.8258 MB / 371.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.2818, allocations: 3.938 kB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.282, allocations: 23.86 kB / 371.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.2822, allocations: 19.97 kB / 371.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2823, allocations: 39.83 kB / 371.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2825, allocations: 55.88 kB / 371.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.2826, allocations: 8 kB / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.2826, allocations: 23.92 kB / 371.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2828, allocations: 30.55 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2829, allocations: 0 / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.283, allocations: 35.98 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.283, allocations: 11.88 kB / 371.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.2831, allocations: 29.7 kB / 371.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2833, allocations: 71.88 kB / 371.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2833, allocations: 7.938 kB / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.929e-06/0.2833, allocations: 0 / 371.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.015e-06/0.2833, allocations: 4 kB / 371.6 MB, free: 8.266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005419/0.2839, allocations: 397.6 kB / 372 MB, free: 7.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2839, allocations: 12.02 kB / 372 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.284, allocations: 15.86 kB / 372 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2842, allocations: 179 kB / 372.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2842, allocations: 3.938 kB / 372.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.2843, allocations: 4 kB / 372.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2845, allocations: 92.17 kB / 372.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2845, allocations: 4 kB / 372.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2846, allocations: 0 / 372.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-06/0.2846, allocations: 0 / 372.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2848, allocations: 43.92 kB / 372.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.2854, allocations: 389 kB / 372.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.2857, allocations: 97.16 kB / 372.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2858, allocations: 0 / 372.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2858, allocations: 30.56 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.086e-06/0.2858, allocations: 0 / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009975/0.2868, allocations: 265.3 kB / 373.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.2869, allocations: 102.8 kB / 373.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2871, allocations: 129.8 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2872, allocations: 29.7 kB / 373.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2873, allocations: 158.5 kB / 373.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.2873, allocations: 39.45 kB / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-06/0.2873, allocations: 0 / 373.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2875, allocations: 318.8 kB / 373.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2877, allocations: 35.97 kB / 373.9 MB, free: 5.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.2878, allocations: 57.69 kB / 374 MB, free: 5.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.288, allocations: 81.64 kB / 374 MB, free: 5.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-06/0.2881, allocations: 0 / 374 MB, free: 5.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004046/0.2885, allocations: 159.9 kB / 374.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.2885, allocations: 29.7 kB / 374.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.281e-06/0.2886, allocations: 7.984 kB / 374.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2886, allocations: 4 kB / 374.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2887, allocations: 16 kB / 374.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.856e-06/0.2887, allocations: 3.984 kB / 374.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.2888, allocations: 8 kB / 374.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2888, allocations: 4 kB / 374.3 MB, free: 5.328 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 (11): * Single equations (assignments): 10 * 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.0001399/0.289, allocations: 125.8 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/0.2891, allocations: 15.86 kB / 374.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.2895, allocations: 149.5 kB / 374.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-06/0.2896, allocations: 7.938 kB / 374.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.151e-06/0.2896, allocations: 0 / 374.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.2896, allocations: 0 / 374.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009296/0.2905, allocations: 0.4987 MB / 375.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2906, allocations: 4.062 kB / 375.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2907, allocations: 24.02 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.681e-06/0.2907, allocations: 4 kB / 375.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2907, allocations: 4 kB / 375.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-06/0.2907, allocations: 7.938 kB / 375.1 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.517e-06/0.2908, allocations: 3.984 kB / 375.1 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.2912, allocations: 307.5 kB / 375.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.2913, allocations: 89 kB / 375.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.2913, allocations: 0 / 375.5 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2915, allocations: 12 kB / 375.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2916, allocations: 7.984 kB / 375.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2916, allocations: 4 kB / 375.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2917, allocations: 107.3 kB / 375.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.2917, allocations: 96 / 375.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.2922, allocations: 35.92 kB / 375.7 MB, free: 3.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001262/0.2934, allocations: 395.1 kB / 376 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.2939, allocations: 147.3 kB / 376.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.34e-06/0.2939, allocations: 0 / 376.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.2941, allocations: 59.97 kB / 376.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2944, allocations: 14.78 kB / 376.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.295, allocations: 256.5 kB / 376.5 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2954, allocations: 0.7004 MB / 377.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2955, allocations: 15.44 kB / 377.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.5e-06/0.2955, allocations: 0 / 377.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of Templates: time 0.004361/0.2999, allocations: 1.744 MB / 379 MB, free: 0.5156 MB / 298.7 MB