Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test14.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test14") Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 12 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.001877/0.2824, allocations: 1.229 MB / 332.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2836, allocations: 0.8396 MB / 333.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.2837, allocations: 1.312 kB / 333.3 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2838, allocations: 13.45 kB / 333.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.284, allocations: 28.17 kB / 333.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2841, allocations: 31.5 kB / 333.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2842, allocations: 36.89 kB / 333.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.2843, allocations: 21.09 kB / 333.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.2844, allocations: 19.33 kB / 333.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2846, allocations: 21.41 kB / 333.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2846, allocations: 2.312 kB / 333.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2847, allocations: 34.98 kB / 333.5 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.2847, allocations: 11.94 kB / 333.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.2848, allocations: 28.73 kB / 333.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.2849, allocations: 60.22 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.536e-06/0.285, allocations: 0 / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.285, allocations: 1.25 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.285, allocations: 4 kB / 333.6 MB, free: 5.102 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004021/0.2854, allocations: 395.9 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2854, allocations: 13.91 kB / 334 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.2855, allocations: 6.438 kB / 334 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2857, allocations: 181.6 kB / 334.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2857, allocations: 5.516 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2857, allocations: 3.688 kB / 334.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.2859, allocations: 84.44 kB / 334.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.286, allocations: 0.875 kB / 334.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.286, allocations: 0.9375 kB / 334.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-06/0.286, allocations: 2.219 kB / 334.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.2862, allocations: 47.14 kB / 334.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.2865, allocations: 283.7 kB / 334.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.2867, allocations: 52.22 kB / 334.6 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2868, allocations: 5.219 kB / 334.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2868, allocations: 32.53 kB / 334.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.261e-06/0.2868, allocations: 0 / 334.7 MB, free: 4.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.000957/0.2878, allocations: 234.6 kB / 334.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2878, allocations: 79.05 kB / 335 MB, free: 3.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2879, allocations: 127.2 kB / 335.1 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.288, allocations: 29.7 kB / 335.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.288, allocations: 170 kB / 335.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2881, allocations: 28.03 kB / 335.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.2881, allocations: 0 / 335.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.2881, allocations: 317.3 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.2883, allocations: 43.36 kB / 335.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2885, allocations: 60.8 kB / 335.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2887, allocations: 72.92 kB / 335.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2887, allocations: 0 / 335.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004062/0.2891, allocations: 158.8 kB / 335.9 MB, free: 3.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.2892, allocations: 32.45 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-06/0.2892, allocations: 1.312 kB / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2892, allocations: 0 / 336 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2894, allocations: 39.27 kB / 336 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.038e-06/0.2894, allocations: 1.859 kB / 336 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.2895, allocations: 12.95 kB / 336 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2895, allocations: 6.328 kB / 336 MB, free: 2.992 MB / 266.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 (8): * Single equations (assignments): 7 * 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 7.578e-05/0.2896, allocations: 113.9 kB / 336.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.2897, allocations: 7.938 kB / 336.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.2901, allocations: 140.9 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2901, allocations: 1.594 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.122e-06/0.2901, allocations: 0.6094 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.745e-06/0.2901, allocations: 4.656 kB / 336.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.2908, allocations: 403 kB / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2908, allocations: 0 / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2909, allocations: 22.52 kB / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.054e-06/0.2909, allocations: 1.125 kB / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.291, allocations: 2.219 kB / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.291, allocations: 0 / 336.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-06/0.291, allocations: 5.062 kB / 336.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.2914, allocations: 232.6 kB / 337 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2914, allocations: 87.42 kB / 337 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.2915, allocations: 6.312 kB / 337 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2916, allocations: 11.97 kB / 337.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.2917, allocations: 6.75 kB / 337.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2917, allocations: 2.281 kB / 337.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.2918, allocations: 99.95 kB / 337.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.2918, allocations: 0 / 337.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.2922, allocations: 28.84 kB / 337.2 MB, free: 2.098 MB / 266.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 (7): * Single equations (assignments): 7 * 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.0009341/0.2931, allocations: 326.1 kB / 337.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.2936, allocations: 160.5 kB / 337.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2936, allocations: 0 / 337.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.2938, allocations: 49.69 kB / 337.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.294, allocations: 5.188 kB / 337.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.2945, allocations: 210.7 kB / 337.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2946, allocations: 0.6902 MB / 338.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.2947, allocations: 14.17 kB / 338.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of SimCode: time 1.574e-06/0.2947, allocations: 1.219 kB / 338.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of Templates: time 0.003868/0.2986, allocations: 1.564 MB / 340.2 MB, free: 296 kB / 266.7 MB