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.Test1.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.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004349, allocations: 8 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3226, allocations: 54.88 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002116/0.3248, allocations: 1.23 MB / 370.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.3254, allocations: 265.1 kB / 370.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3255, allocations: 4 kB / 370.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.3261, allocations: 439.2 kB / 371.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.3265, allocations: 227.6 kB / 371.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.3267, allocations: 31.91 kB / 371.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3269, allocations: 111.8 kB / 371.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.327, allocations: 15.98 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3271, allocations: 95.8 kB / 371.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3274, allocations: 147.7 kB / 371.7 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3274, allocations: 4 kB / 371.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.3275, allocations: 8 kB / 371.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.3276, allocations: 79.75 kB / 371.8 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.3277, allocations: 69.52 kB / 371.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.328, allocations: 167.8 kB / 372 MB, free: 7.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.328, allocations: 0 / 372 MB, free: 7.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.591e-06/0.328, allocations: 3.938 kB / 372.1 MB, free: 7.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.716e-06/0.328, allocations: 0 / 372.1 MB, free: 7.824 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.0008234/0.3289, allocations: 0.6051 MB / 372.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3289, allocations: 12.03 kB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.329, allocations: 47.39 kB / 372.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3294, allocations: 267.4 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3294, allocations: 4 kB / 373 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.3294, allocations: 4 kB / 373 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3296, allocations: 49.69 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3296, allocations: 4 kB / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3297, allocations: 0 / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-06/0.3297, allocations: 3.938 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3298, allocations: 35.86 kB / 373.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.3304, allocations: 384.7 kB / 373.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3307, allocations: 42.56 kB / 373.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.3307, allocations: 7.938 kB / 373.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3307, allocations: 34.56 kB / 373.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 5.343e-06/0.3308, allocations: 3.984 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007836/0.3316, allocations: 240.1 kB / 373.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3316, allocations: 55.39 kB / 373.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3328, allocations: 0.8495 MB / 374.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3328, allocations: 25.7 kB / 374.7 MB, free: 4.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3331, allocations: 238.5 kB / 374.9 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3331, allocations: 19.64 kB / 375 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-06/0.3331, allocations: 0 / 375 MB, free: 4.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3333, allocations: 318.8 kB / 375.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3334, allocations: 23.98 kB / 375.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.3335, allocations: 23.98 kB / 375.3 MB, free: 4.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3337, allocations: 57.69 kB / 375.4 MB, free: 4.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-06/0.3337, allocations: 0 / 375.4 MB, free: 4.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003163/0.334, allocations: 115.4 kB / 375.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.3341, allocations: 33.66 kB / 375.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-06/0.3341, allocations: 3.938 kB / 375.5 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3341, allocations: 7.984 kB / 375.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3343, allocations: 12 kB / 375.5 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.24e-06/0.3343, allocations: 3.984 kB / 375.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.3344, allocations: 11.98 kB / 375.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3344, allocations: 0 / 375.6 MB, free: 4.078 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.0002769/0.3347, allocations: 209.8 kB / 375.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.3348, allocations: 39.53 kB / 375.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3352, allocations: 152.8 kB / 375.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-06/0.3352, allocations: 3.938 kB / 375.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-06/0.3352, allocations: 0 / 375.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-06/0.3352, allocations: 4.312 kB / 376 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007641/0.336, allocations: 454.5 kB / 376.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.973e-06/0.336, allocations: 7.922 kB / 376.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.3361, allocations: 15.95 kB / 376.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.642e-06/0.3361, allocations: 0 / 376.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3362, allocations: 4 kB / 376.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3362, allocations: 0 / 376.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.328e-06/0.3362, allocations: 0 / 376.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.3365, allocations: 223 kB / 376.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3367, allocations: 112.5 kB / 376.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.3367, allocations: 3.953 kB / 376.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3369, allocations: 7.984 kB / 376.8 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3369, allocations: 4 kB / 376.8 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.781e-06/0.3369, allocations: 4 kB / 376.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008506/0.3378, allocations: 0.6472 MB / 377.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.3378, allocations: 0 / 377.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.3382, allocations: 16 kB / 377.4 MB, free: 2.094 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.0009906/0.3392, allocations: 301.5 kB / 377.7 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.3395, allocations: 111.3 kB / 377.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.845e-06/0.3395, allocations: 4 kB / 377.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3397, allocations: 31.98 kB / 377.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.34, allocations: 13.97 kB / 377.9 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3415, allocations: 0.8467 MB / 378.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.3421, allocations: 0.8224 MB / 379.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.3422, allocations: 15.44 kB / 379.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.52e-06/0.3422, allocations: 0 / 379.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of Templates: time 0.009266/0.3515, allocations: 3.355 MB / 382.9 MB, free: 12.59 MB / 314.7 MB