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.Test6.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.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.3 MB / 224.8 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004351, allocations: 16 kB / 282.5 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 48.7 MB / 331.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003001/0.302, allocations: 1.237 MB / 332.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000938/0.303, allocations: 265.5 kB / 332.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.3031, allocations: 1 kB / 332.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3042, allocations: 433.7 kB / 333.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.3049, allocations: 232.4 kB / 333.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.3051, allocations: 39.31 kB / 333.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.3055, allocations: 108.6 kB / 333.5 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3056, allocations: 17.8 kB / 333.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.3059, allocations: 99.31 kB / 333.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.3063, allocations: 153.7 kB / 333.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3064, allocations: 1.312 kB / 333.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3065, allocations: 11.77 kB / 333.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3067, allocations: 79.38 kB / 333.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.3068, allocations: 70.92 kB / 333.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.3072, allocations: 167.9 kB / 334.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.805e-06/0.3072, allocations: 0 / 334.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.66e-06/0.3073, allocations: 5.594 kB / 334.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.852e-06/0.3073, allocations: 0 / 334.1 MB, free: 5.484 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.001118/0.3084, allocations: 0.6064 MB / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3085, allocations: 8.75 kB / 334.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3086, allocations: 41.5 kB / 334.7 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.3091, allocations: 268.1 kB / 335 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3092, allocations: 2.375 kB / 335 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.3092, allocations: 3.297 kB / 335 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.3095, allocations: 75.97 kB / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3096, allocations: 0 / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3096, allocations: 0 / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-06/0.3097, allocations: 1.188 kB / 335.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.31, allocations: 48.64 kB / 335.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.3109, allocations: 380.5 kB / 335.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.3112, allocations: 51.62 kB / 335.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.3112, allocations: 5.844 kB / 335.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3113, allocations: 31.69 kB / 335.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.549e-06/0.3113, allocations: 0 / 335.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.001762/0.3131, allocations: 316.9 kB / 335.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3131, allocations: 52.66 kB / 335.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.3151, allocations: 0.848 MB / 336.8 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3152, allocations: 30.89 kB / 336.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.3154, allocations: 237.5 kB / 337 MB, free: 3.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.3155, allocations: 23.16 kB / 337.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.3155, allocations: 0 / 337.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.3156, allocations: 312.1 kB / 337.4 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.3159, allocations: 46.53 kB / 337.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3162, allocations: 40.44 kB / 337.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.3166, allocations: 77.09 kB / 337.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-06/0.3166, allocations: 0 / 337.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007019/0.3173, allocations: 161.8 kB / 337.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.3174, allocations: 31.14 kB / 337.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.777e-06/0.3174, allocations: 0 / 337.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3174, allocations: 1.031 kB / 337.7 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.3177, allocations: 22.61 kB / 337.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.05e-06/0.3177, allocations: 0 / 337.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.318, allocations: 22.84 kB / 337.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.318, allocations: 5.406 kB / 337.8 MB, free: 2.719 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 0.0003892/0.3184, allocations: 213.3 kB / 338 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3186, allocations: 45.22 kB / 338 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008404/0.3195, allocations: 191.8 kB / 338.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-06/0.3195, allocations: 0 / 338.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3195, allocations: 1.5 kB / 338.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-06/0.3195, allocations: 0 / 338.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.321, allocations: 0.4944 MB / 338.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.472e-06/0.321, allocations: 1.125 kB / 338.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3212, allocations: 29.95 kB / 338.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-06/0.3213, allocations: 1.094 kB / 338.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3213, allocations: 5.016 kB / 338.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.119e-06/0.3213, allocations: 0 / 338.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-06/0.3213, allocations: 12.94 kB / 338.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.3221, allocations: 258.3 kB / 339 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3223, allocations: 105.8 kB / 339.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.3224, allocations: 1.031 kB / 339.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3227, allocations: 21.8 kB / 339.1 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.3228, allocations: 6.672 kB / 339.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.3228, allocations: 10.36 kB / 339.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001455/0.3243, allocations: 0.6363 MB / 339.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.46e-06/0.3243, allocations: 0 / 339.8 MB, free: 1.352 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007714/0.3251, allocations: 27.19 kB / 339.8 MB, free: 1.344 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.001196/0.3263, allocations: 240.6 kB / 340.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.3271, allocations: 151.6 kB / 340.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.505e-06/0.3271, allocations: 0 / 340.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.3274, allocations: 48.78 kB / 340.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.328, allocations: 22.19 kB / 340.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3305, allocations: 0.867 MB / 341.1 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.3312, allocations: 0.8273 MB / 342 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.3314, allocations: 12.47 kB / 342 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.798e-06/0.3314, allocations: 0 / 342 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.01462/0.346, allocations: 3.459 MB / 345.4 MB, free: 13.98 MB / 282.7 MB