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.CombiTable1D.Test3.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004342, allocations: 8 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2744, allocations: 54.87 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002052/0.2765, allocations: 1.227 MB / 370.4 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.2772, allocations: 257.2 kB / 370.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.2773, allocations: 0 / 370.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.2775, allocations: 55.91 kB / 370.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.2777, allocations: 55.81 kB / 370.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.2778, allocations: 31.89 kB / 370.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.278, allocations: 43.95 kB / 370.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.2781, allocations: 4 kB / 370.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.2781, allocations: 31.89 kB / 370.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2782, allocations: 35.84 kB / 370.9 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2783, allocations: 4 kB / 370.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.2783, allocations: 11.94 kB / 370.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.2784, allocations: 19.98 kB / 370.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.2785, allocations: 33.64 kB / 371 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2786, allocations: 55.92 kB / 371 MB, free: 8.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.462e-06/0.2786, allocations: 0 / 371 MB, free: 8.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.712e-06/0.2786, allocations: 0 / 371 MB, free: 8.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.918e-06/0.2786, allocations: 0 / 371 MB, free: 8.703 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.0005133/0.2792, allocations: 397.5 kB / 371.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2792, allocations: 8.031 kB / 371.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.2793, allocations: 11.86 kB / 371.4 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.2795, allocations: 190.9 kB / 371.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2795, allocations: 11.94 kB / 371.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.2796, allocations: 0 / 371.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2797, allocations: 49.69 kB / 371.7 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2797, allocations: 4 kB / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-06/0.2798, allocations: 0 / 371.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2798, allocations: 7.891 kB / 371.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2799, allocations: 31.97 kB / 371.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.2804, allocations: 277 kB / 372 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.2806, allocations: 54.53 kB / 372.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2807, allocations: 3.984 kB / 372.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2807, allocations: 42.52 kB / 372.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.06e-06/0.2808, allocations: 0 / 372.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000706/0.2815, allocations: 169.2 kB / 372.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2815, allocations: 51.41 kB / 372.3 MB, free: 7.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.2818, allocations: 188.3 kB / 372.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2818, allocations: 25.7 kB / 372.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2819, allocations: 158.6 kB / 372.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.282, allocations: 19.75 kB / 372.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-06/0.282, allocations: 0 / 372.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2822, allocations: 318.8 kB / 373 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.2823, allocations: 31.98 kB / 373 MB, free: 6.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.2824, allocations: 23.98 kB / 373.1 MB, free: 6.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2825, allocations: 53.69 kB / 373.1 MB, free: 6.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-06/0.2825, allocations: 4 kB / 373.1 MB, free: 6.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003005/0.2829, allocations: 123.3 kB / 373.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.2829, allocations: 37.66 kB / 373.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.359e-06/0.2829, allocations: 0 / 373.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2829, allocations: 0 / 373.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.2831, allocations: 15.98 kB / 373.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.21e-06/0.2831, allocations: 7.984 kB / 373.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.2831, allocations: 7.984 kB / 373.3 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2832, allocations: 4 kB / 373.3 MB, free: 6.188 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.0001243/0.2833, allocations: 121.8 kB / 373.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.2834, allocations: 7.906 kB / 373.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.2837, allocations: 121.8 kB / 373.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.092e-06/0.2837, allocations: 0 / 373.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-06/0.2837, allocations: 320 / 373.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-06/0.2837, allocations: 4 kB / 373.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.2844, allocations: 366.5 kB / 373.9 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.729e-06/0.2844, allocations: 7.891 kB / 373.9 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.2845, allocations: 15.98 kB / 373.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.664e-06/0.2845, allocations: 0 / 373.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.143e-06/0.2845, allocations: 3.938 kB / 373.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.226e-06/0.2845, allocations: 4 kB / 374 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-06/0.2845, allocations: 288 / 374 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.2849, allocations: 195.4 kB / 374.1 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.285, allocations: 88.95 kB / 374.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.285, allocations: 3.938 kB / 374.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.2851, allocations: 8 kB / 374.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.2852, allocations: 3.984 kB / 374.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2852, allocations: 12 kB / 374.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.2853, allocations: 135 kB / 374.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.09e-06/0.2854, allocations: 0 / 374.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.2857, allocations: 23.92 kB / 374.4 MB, free: 4.988 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.0009533/0.2867, allocations: 287.7 kB / 374.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.287, allocations: 123.4 kB / 374.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.059e-06/0.287, allocations: 0 / 374.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2872, allocations: 31.92 kB / 374.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2874, allocations: 15.92 kB / 374.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.288, allocations: 246.8 kB / 375.1 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.2884, allocations: 0.7082 MB / 375.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2885, allocations: 11.44 kB / 375.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.439e-06/0.2885, allocations: 0 / 375.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003572/0.2921, allocations: 1.261 MB / 377.1 MB, free: 2.309 MB / 298.7 MB