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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004375, allocations: 12 kB / 314.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 54.88 MB / 369.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002142/0.2946, allocations: 1.234 MB / 370.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.2953, allocations: 273.1 kB / 370.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.2953, allocations: 0 / 370.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.2959, allocations: 435.2 kB / 371.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.2963, allocations: 235.5 kB / 371.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.2965, allocations: 23.92 kB / 371.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.2967, allocations: 107.8 kB / 371.5 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.2968, allocations: 16 kB / 371.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2969, allocations: 107.7 kB / 371.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.2972, allocations: 143.7 kB / 371.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2972, allocations: 0 / 371.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.2973, allocations: 16 kB / 371.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.2974, allocations: 75.75 kB / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.2975, allocations: 69.45 kB / 371.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2978, allocations: 171.8 kB / 372.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.837e-06/0.2978, allocations: 0 / 372.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.892e-06/0.2978, allocations: 0 / 372.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.918e-06/0.2978, allocations: 0 / 372.1 MB, free: 7.949 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.0008201/0.2986, allocations: 0.6012 MB / 372.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2987, allocations: 8.031 kB / 372.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.2988, allocations: 43.39 kB / 372.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.2991, allocations: 267.4 kB / 373 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2992, allocations: 8 kB / 373 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2992, allocations: 4 kB / 373 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2994, allocations: 53.67 kB / 373 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2994, allocations: 0 / 373 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-06/0.2994, allocations: 7.875 kB / 373 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2994, allocations: 0 / 373 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2996, allocations: 35.94 kB / 373.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.3002, allocations: 380.7 kB / 373.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.3004, allocations: 50.5 kB / 373.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3005, allocations: 0 / 373.5 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3005, allocations: 34.56 kB / 373.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.881e-06/0.3005, allocations: 0 / 373.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007797/0.3013, allocations: 244.1 kB / 373.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3014, allocations: 51.41 kB / 373.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3025, allocations: 0.8456 MB / 374.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3025, allocations: 25.7 kB / 374.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.3028, allocations: 234.6 kB / 374.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3028, allocations: 27.72 kB / 374.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-06/0.3028, allocations: 0 / 374.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.303, allocations: 318.8 kB / 375.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3031, allocations: 27.98 kB / 375.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.3032, allocations: 28.05 kB / 375.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3034, allocations: 53.69 kB / 375.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3034, allocations: 0 / 375.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003017/0.3037, allocations: 119.3 kB / 375.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.3038, allocations: 37.66 kB / 375.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.387e-06/0.3038, allocations: 0 / 375.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3038, allocations: 288 / 375.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.3039, allocations: 15.98 kB / 375.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.563e-06/0.3039, allocations: 0 / 375.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.304, allocations: 15.98 kB / 375.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.304, allocations: 4 kB / 375.6 MB, free: 4.207 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.0002463/0.3043, allocations: 205.8 kB / 375.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.3044, allocations: 39.52 kB / 375.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.3048, allocations: 156.7 kB / 375.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-06/0.3048, allocations: 4 kB / 376 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3048, allocations: 0 / 376 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-06/0.3048, allocations: 0 / 376 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3059, allocations: 454.4 kB / 376.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.716e-06/0.3059, allocations: 4 kB / 376.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.306, allocations: 19.94 kB / 376.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-06/0.3061, allocations: 0 / 376.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.3061, allocations: 4 kB / 376.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3061, allocations: 3.938 kB / 376.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-06/0.3061, allocations: 0 / 376.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3065, allocations: 223.4 kB / 376.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3066, allocations: 108.5 kB / 376.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3067, allocations: 7.953 kB / 376.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3068, allocations: 7.984 kB / 376.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.3069, allocations: 4 kB / 376.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-06/0.3069, allocations: 0 / 376.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008328/0.3077, allocations: 0.6433 MB / 377.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.3077, allocations: 0 / 377.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.3081, allocations: 23.98 kB / 377.4 MB, free: 2.223 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.0009507/0.3091, allocations: 293 kB / 377.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3094, allocations: 119.3 kB / 377.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.994e-06/0.3095, allocations: 0 / 377.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3096, allocations: 31.98 kB / 377.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3099, allocations: 13.97 kB / 377.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3114, allocations: 0.843 MB / 378.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.312, allocations: 0.8301 MB / 379.6 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3121, allocations: 11.44 kB / 379.6 MB, free: 84 kB / 298.7 MB Notification: Performance of SimCode: time 1.559e-06/0.3121, allocations: 4 kB / 379.6 MB, free: 80 kB / 298.7 MB Notification: Performance of Templates: time 0.009039/0.3211, allocations: 3.352 MB / 382.9 MB, free: 12.73 MB / 314.7 MB