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.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006579/0.0006582, allocations: 8 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3061, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.004339/0.3105, allocations: 1.25 MB / 370.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.312, allocations: 265.2 kB / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.3121, allocations: 0 / 370.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.3137, allocations: 435.2 kB / 371.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.3141, allocations: 231.6 kB / 371.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.3143, allocations: 27.92 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3145, allocations: 115.8 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.3146, allocations: 8 kB / 371.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3148, allocations: 107.8 kB / 371.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3151, allocations: 139.7 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3151, allocations: 4 kB / 371.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.3152, allocations: 12 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3153, allocations: 79.69 kB / 371.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.3154, allocations: 65.52 kB / 371.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3157, allocations: 171.8 kB / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.843e-06/0.3157, allocations: 0 / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3157, allocations: 0 / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.137e-06/0.3157, allocations: 0 / 372.1 MB, free: 7.812 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008211/0.3165, allocations: 0.6051 MB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3166, allocations: 12.03 kB / 372.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.3167, allocations: 43.39 kB / 372.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.317, allocations: 267.3 kB / 373 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3171, allocations: 4 kB / 373 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3171, allocations: 8 kB / 373 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3173, allocations: 49.67 kB / 373 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3173, allocations: 4 kB / 373 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3173, allocations: 4 kB / 373 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-06/0.3173, allocations: 7.875 kB / 373.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3175, allocations: 27.94 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.3181, allocations: 384.6 kB / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3183, allocations: 46.56 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3184, allocations: 4 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3184, allocations: 30.56 kB / 373.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.384e-06/0.3184, allocations: 4 kB / 373.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007746/0.3192, allocations: 236.1 kB / 373.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3193, allocations: 59.41 kB / 373.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3205, allocations: 0.8456 MB / 374.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3205, allocations: 29.7 kB / 374.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3207, allocations: 230.6 kB / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3208, allocations: 23.72 kB / 375 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-06/0.3208, allocations: 0 / 375 MB, free: 4.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.321, allocations: 318.8 kB / 375.3 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3211, allocations: 27.92 kB / 375.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.3212, allocations: 27.98 kB / 375.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3214, allocations: 53.69 kB / 375.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-06/0.3214, allocations: 0 / 375.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003143/0.3217, allocations: 115.4 kB / 375.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.3218, allocations: 37.66 kB / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3218, allocations: 288 / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3218, allocations: 4 kB / 375.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.3219, allocations: 15.98 kB / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.088e-06/0.322, allocations: 0 / 375.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.3221, allocations: 11.98 kB / 375.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3221, allocations: 0 / 375.6 MB, free: 4.074 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.0002623/0.3224, allocations: 209.7 kB / 375.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.3224, allocations: 47.52 kB / 375.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.3229, allocations: 148.8 kB / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-06/0.3229, allocations: 0 / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3229, allocations: 320 / 375.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.3229, allocations: 4 kB / 376 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007619/0.3237, allocations: 458.4 kB / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.144e-06/0.3237, allocations: 7.938 kB / 376.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3238, allocations: 19.94 kB / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-06/0.3239, allocations: 0 / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-06/0.3239, allocations: 0 / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.708e-06/0.3239, allocations: 0 / 376.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-06/0.3239, allocations: 4 kB / 376.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.3243, allocations: 215 kB / 376.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3244, allocations: 120.5 kB / 376.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3244, allocations: 7.891 kB / 376.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3246, allocations: 7.984 kB / 376.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3246, allocations: 4 kB / 376.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-06/0.3246, allocations: 0 / 376.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008883/0.3255, allocations: 0.6472 MB / 377.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.3255, allocations: 0 / 377.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.3259, allocations: 19.98 kB / 377.4 MB, free: 2.078 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.0009954/0.3269, allocations: 294.4 kB / 377.7 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.3273, allocations: 111.4 kB / 377.8 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.397e-06/0.3273, allocations: 4 kB / 377.8 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3274, allocations: 31.92 kB / 377.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3278, allocations: 21.91 kB / 377.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3293, allocations: 0.8428 MB / 378.7 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.33, allocations: 0.8262 MB / 379.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.33, allocations: 11.44 kB / 379.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.715e-06/0.33, allocations: 4 kB / 379.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.009223/0.3393, allocations: 3.347 MB / 382.9 MB, free: 12.59 MB / 314.7 MB