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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.199/2.199, allocations: 234.9 MB / 250.5 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004418, allocations: 12 kB / 314.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 54.86 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002149/0.3013, allocations: 1.238 MB / 370.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.302, allocations: 265.1 kB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.3021, allocations: 4 kB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.3027, allocations: 435.2 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.3031, allocations: 231.6 kB / 371.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.3033, allocations: 23.92 kB / 371.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3035, allocations: 111.8 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.3036, allocations: 15.98 kB / 371.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3038, allocations: 103.8 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.304, allocations: 147.7 kB / 371.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.304, allocations: 0 / 371.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.3041, allocations: 16 kB / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3042, allocations: 75.75 kB / 371.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.3043, allocations: 69.45 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3046, allocations: 171.8 kB / 372 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.057e-06/0.3046, allocations: 0 / 372 MB, free: 9.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.987e-06/0.3046, allocations: 0 / 372 MB, free: 9.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.132e-06/0.3046, allocations: 0 / 372 MB, free: 9.879 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.0008005/0.3055, allocations: 0.6012 MB / 372.6 MB, free: 9.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3055, allocations: 12.02 kB / 372.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.3056, allocations: 47.39 kB / 372.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.3059, allocations: 259.4 kB / 373 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.306, allocations: 12 kB / 373 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.306, allocations: 4 kB / 373 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3062, allocations: 57.59 kB / 373 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3062, allocations: 4 kB / 373 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3063, allocations: 4 kB / 373 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-06/0.3063, allocations: 7.938 kB / 373 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3064, allocations: 27.94 kB / 373.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.307, allocations: 384.7 kB / 373.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3072, allocations: 46.5 kB / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3073, allocations: 0 / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3073, allocations: 34.56 kB / 373.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.912e-06/0.3073, allocations: 0 / 373.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007732/0.3081, allocations: 252 kB / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3082, allocations: 51.41 kB / 373.8 MB, free: 7.906 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3093, allocations: 0.8456 MB / 374.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3094, allocations: 29.7 kB / 374.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.3096, allocations: 230.6 kB / 374.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3096, allocations: 27.72 kB / 374.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.3096, allocations: 0 / 374.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3098, allocations: 310.8 kB / 375.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.31, allocations: 31.98 kB / 375.3 MB, free: 6.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.3101, allocations: 23.98 kB / 375.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.3102, allocations: 49.69 kB / 375.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3102, allocations: 0 / 375.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003112/0.3105, allocations: 127.3 kB / 375.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.3106, allocations: 37.66 kB / 375.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-06/0.3106, allocations: 0 / 375.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3106, allocations: 0 / 375.5 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.3107, allocations: 15.98 kB / 375.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.806e-06/0.3108, allocations: 0 / 375.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.3109, allocations: 12 kB / 375.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3109, allocations: 0 / 375.5 MB, free: 6.133 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.0002659/0.3112, allocations: 213.8 kB / 375.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.3112, allocations: 35.53 kB / 375.8 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.3116, allocations: 152.7 kB / 375.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.816e-06/0.3117, allocations: 0 / 375.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-06/0.3117, allocations: 0 / 375.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-06/0.3117, allocations: 0 / 375.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.3124, allocations: 458.8 kB / 376.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.473e-06/0.3125, allocations: 7.938 kB / 376.4 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.3126, allocations: 27.94 kB / 376.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3126, allocations: 0 / 376.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-06/0.3126, allocations: 0 / 376.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.024e-06/0.3126, allocations: 0 / 376.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-06/0.3126, allocations: 0 / 376.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.313, allocations: 215.1 kB / 376.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3131, allocations: 116.5 kB / 376.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3131, allocations: 3.953 kB / 376.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3133, allocations: 8 kB / 376.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3133, allocations: 3.984 kB / 376.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.764e-06/0.3133, allocations: 4 kB / 376.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008442/0.3142, allocations: 0.6433 MB / 377.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.3142, allocations: 0 / 377.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.3146, allocations: 20 kB / 377.4 MB, free: 4.148 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.0009637/0.3156, allocations: 305.1 kB / 377.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.3159, allocations: 111.4 kB / 377.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.244e-06/0.3159, allocations: 0 / 377.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.316, allocations: 31.98 kB / 377.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3164, allocations: 21.95 kB / 377.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3179, allocations: 0.8466 MB / 378.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.3185, allocations: 0.8223 MB / 379.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.3186, allocations: 11.44 kB / 379.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of SimCode: time 1.521e-06/0.3186, allocations: 4 kB / 379.6 MB, free: 2 MB / 298.7 MB Notification: Performance of Templates: time 0.00911/0.3277, allocations: 3.34 MB / 382.9 MB, free: 14.66 MB / 314.7 MB