Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.816/1.816, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004353, allocations: 12 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2873, allocations: 48.7 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001791/0.2891, allocations: 1.22 MB / 332.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.2897, allocations: 256 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2897, allocations: 1.5 kB / 332.7 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.29, allocations: 84.2 kB / 332.7 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2902, allocations: 57.45 kB / 332.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2903, allocations: 28.02 kB / 332.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.2905, allocations: 60.94 kB / 332.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.2906, allocations: 13.2 kB / 332.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.2907, allocations: 33.7 kB / 332.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2908, allocations: 46.36 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2908, allocations: 2.344 kB / 333 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.373e-05/0.2909, allocations: 16.39 kB / 333 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.291, allocations: 26.84 kB / 333 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.291, allocations: 37.11 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.2912, allocations: 67.41 kB / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2912, allocations: 0 / 333.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.861e-06/0.2912, allocations: 3.938 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.185e-06/0.2912, allocations: 1.281 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004056/0.2916, allocations: 415.6 kB / 333.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2917, allocations: 9.031 kB / 333.5 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.2917, allocations: 12.75 kB / 333.6 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.2919, allocations: 188 kB / 333.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2919, allocations: 10.25 kB / 333.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.292, allocations: 11.47 kB / 333.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2922, allocations: 77.61 kB / 333.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2922, allocations: 0.8438 kB / 333.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2922, allocations: 1.5 kB / 333.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-06/0.2922, allocations: 4 kB / 333.8 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.2924, allocations: 45.31 kB / 333.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.2929, allocations: 396 kB / 334.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.2932, allocations: 99.73 kB / 334.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2933, allocations: 1.156 kB / 334.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2933, allocations: 36.3 kB / 334.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.307e-06/0.2933, allocations: 0 / 334.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009218/0.2942, allocations: 258.9 kB / 334.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.2943, allocations: 82.14 kB / 334.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2945, allocations: 223.5 kB / 335 MB, free: 3.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2946, allocations: 27.14 kB / 335 MB, free: 3.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2946, allocations: 172.9 kB / 335.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.2947, allocations: 30.78 kB / 335.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-06/0.2947, allocations: 1.5 kB / 335.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.2948, allocations: 317.6 kB / 335.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2949, allocations: 41.62 kB / 335.5 MB, free: 3.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.295, allocations: 41.39 kB / 335.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2952, allocations: 77.89 kB / 335.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-06/0.2952, allocations: 0 / 335.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.2956, allocations: 152.9 kB / 335.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.2956, allocations: 35.67 kB / 335.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.754e-06/0.2956, allocations: 0 / 335.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2956, allocations: 1.719 kB / 335.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2958, allocations: 22.86 kB / 335.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.202e-06/0.2958, allocations: 4.078 kB / 335.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.2959, allocations: 15.2 kB / 335.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.2959, allocations: 7.719 kB / 335.9 MB, free: 3.223 MB / 266.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 (11): * Single equations (assignments): 10 * 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.0001037/0.296, allocations: 135.4 kB / 336 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2961, allocations: 12.84 kB / 336 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.2965, allocations: 163.6 kB / 336.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.372e-06/0.2966, allocations: 1.406 kB / 336.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-06/0.2966, allocations: 1.625 kB / 336.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-06/0.2966, allocations: 4.516 kB / 336.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.2974, allocations: 0.5138 MB / 336.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-06/0.2974, allocations: 5.25 kB / 336.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2975, allocations: 27 kB / 336.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.773e-06/0.2975, allocations: 1.062 kB / 336.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2976, allocations: 6.078 kB / 336.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2976, allocations: 1.094 kB / 336.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.943e-06/0.2976, allocations: 1.969 kB / 336.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.298, allocations: 309 kB / 337.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.298, allocations: 90.98 kB / 337.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.298, allocations: 1.781 kB / 337.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2982, allocations: 18.78 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.2983, allocations: 7.469 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2983, allocations: 3.719 kB / 337.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.2984, allocations: 168.3 kB / 337.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.2985, allocations: 0 / 337.3 MB, free: 2.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.2989, allocations: 15.91 kB / 337.4 MB, free: 2.098 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0006959/0.2996, allocations: 253.1 kB / 337.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3, allocations: 150.4 kB / 337.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.534e-06/0.3, allocations: 0 / 337.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.3002, allocations: 55 kB / 337.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3005, allocations: 10.45 kB / 337.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.3011, allocations: 347.2 kB / 338.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3013, allocations: 0.7159 MB / 338.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3014, allocations: 15.08 kB / 338.9 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of SimCode: time 1.357e-06/0.3014, allocations: 0 / 338.9 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Templates: time 0.00379/0.3052, allocations: 1.6 MB / 340.5 MB, free: 172 kB / 266.7 MB