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.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004408, allocations: 12 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002035/0.327, allocations: 1.207 MB / 370.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005962/0.3277, allocations: 245.3 kB / 370.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.3277, allocations: 0 / 370.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.3284, allocations: 439.2 kB / 371.1 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.3287, allocations: 227.6 kB / 371.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.3289, allocations: 31.91 kB / 371.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3291, allocations: 99.83 kB / 371.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.3292, allocations: 4 kB / 371.4 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3293, allocations: 107.8 kB / 371.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3296, allocations: 147.7 kB / 371.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3296, allocations: 4 kB / 371.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.3297, allocations: 4 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3298, allocations: 75.75 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.3299, allocations: 65.45 kB / 371.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3301, allocations: 159.8 kB / 372 MB, free: 7.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.807e-06/0.3302, allocations: 0 / 372 MB, free: 7.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.3302, allocations: 0 / 372 MB, free: 7.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3302, allocations: 4 kB / 372 MB, free: 7.914 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.0008234/0.331, allocations: 0.6012 MB / 372.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3311, allocations: 8.031 kB / 372.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.3312, allocations: 39.48 kB / 372.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.3315, allocations: 267.3 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3316, allocations: 0 / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3316, allocations: 4 kB / 372.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3318, allocations: 49.69 kB / 372.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.744e-06/0.3318, allocations: 3.938 kB / 372.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-06/0.3318, allocations: 0 / 372.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-06/0.3318, allocations: 0 / 372.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.332, allocations: 39.86 kB / 373 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.3325, allocations: 368.9 kB / 373.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3326, allocations: 30.58 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3327, allocations: 0 / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.3327, allocations: 38.56 kB / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.959e-06/0.3327, allocations: 0 / 373.4 MB, free: 6.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.3331, allocations: 117.2 kB / 373.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3331, allocations: 51.41 kB / 373.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3343, allocations: 0.8495 MB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3343, allocations: 25.7 kB / 374.4 MB, free: 5.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.3345, allocations: 234.5 kB / 374.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3346, allocations: 7.906 kB / 374.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-06/0.3346, allocations: 0 / 374.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3348, allocations: 310.8 kB / 375 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.3349, allocations: 16.02 kB / 375 MB, free: 4.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.3349, allocations: 15.94 kB / 375 MB, free: 4.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.335, allocations: 41.69 kB / 375.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-06/0.335, allocations: 4 kB / 375.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002269/0.3353, allocations: 83.33 kB / 375.1 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/0.3353, allocations: 33.7 kB / 375.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-06/0.3354, allocations: 3.984 kB / 375.2 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3354, allocations: 3.953 kB / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.3355, allocations: 8 kB / 375.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3355, allocations: 0 / 375.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.3356, allocations: 4 kB / 375.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-06/0.3356, allocations: 0 / 375.2 MB, free: 4.449 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 (3): * Single equations (assignments): 2 * 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.0002605/0.3359, allocations: 213.8 kB / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.336, allocations: 43.44 kB / 375.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.3362, allocations: 104.5 kB / 375.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-06/0.3363, allocations: 0 / 375.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.738e-06/0.3363, allocations: 7.953 kB / 375.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.946e-06/0.3363, allocations: 0 / 375.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.3367, allocations: 269.6 kB / 375.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-06/0.3367, allocations: 7.984 kB / 375.8 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.3368, allocations: 8.031 kB / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-06/0.3368, allocations: 0 / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-06/0.3368, allocations: 0 / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.864e-06/0.3368, allocations: 0 / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-06/0.3368, allocations: 0 / 375.8 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3371, allocations: 191 kB / 376 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3372, allocations: 116.7 kB / 376.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3373, allocations: 0 / 376.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3374, allocations: 7.938 kB / 376.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.3374, allocations: 0 / 376.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-06/0.3374, allocations: 0 / 376.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008662/0.3383, allocations: 0.651 MB / 376.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.3383, allocations: 0 / 376.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.3387, allocations: 19.91 kB / 376.8 MB, free: 2.734 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 (2): * Single equations (assignments): 2 * 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.0008009/0.3395, allocations: 249.7 kB / 377.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3398, allocations: 83.38 kB / 377.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.312e-06/0.3398, allocations: 0 / 377.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.3399, allocations: 20 kB / 377.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3402, allocations: 13.95 kB / 377.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3416, allocations: 0.8188 MB / 378 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.3422, allocations: 0.8223 MB / 378.8 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.3422, allocations: 7.438 kB / 378.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of SimCode: time 1.646e-06/0.3423, allocations: 0 / 378.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of Templates: time 0.008539/0.3508, allocations: 3.097 MB / 381.9 MB, free: 13.6 MB / 314.7 MB