Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test6.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004336, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3619, allocations: 48.69 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4967, allocations: 74.64 MB / 406.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4971, allocations: 71.97 kB / 406.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5113, allocations: 3.319 MB / 409.8 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5114, allocations: 0 / 409.8 MB, free: 424 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.5114, allocations: 4 kB / 409.8 MB, free: 420 kB / 330.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.0006132/0.512, allocations: 447.3 kB / 410.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5121, allocations: 8.031 kB / 410.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.5122, allocations: 15.81 kB / 410.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.5125, allocations: 202.8 kB / 410.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.5125, allocations: 0 / 410.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.5126, allocations: 8 kB / 410.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.5128, allocations: 83.31 kB / 410.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5129, allocations: 8 kB / 410.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5129, allocations: 4 kB / 410.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5129, allocations: 0 / 410.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.5131, allocations: 35.97 kB / 410.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.5137, allocations: 412.9 kB / 411 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.5142, allocations: 89.16 kB / 411.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.5142, allocations: 8.078 kB / 411.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5143, allocations: 34.56 kB / 411.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.5143, allocations: 0 / 411.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.00117/0.5155, allocations: 264.8 kB / 411.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.5155, allocations: 81.11 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.5159, allocations: 219.2 kB / 411.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5159, allocations: 29.7 kB / 411.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.516, allocations: 162.6 kB / 411.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.5161, allocations: 35.48 kB / 411.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.5161, allocations: 8 kB / 411.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5162, allocations: 310.8 kB / 412.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.5164, allocations: 39.97 kB / 412.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.5166, allocations: 35.98 kB / 412.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5168, allocations: 77.67 kB / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5168, allocations: 0 / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004695/0.5173, allocations: 159.1 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.5174, allocations: 37.69 kB / 412.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5174, allocations: 0 / 412.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5174, allocations: 0 / 412.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.5176, allocations: 27.98 kB / 412.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5176, allocations: 0 / 412.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5178, allocations: 11.95 kB / 412.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.5178, allocations: 4 kB / 412.6 MB, free: 13.34 MB / 346.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.0001557/0.518, allocations: 129.8 kB / 412.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.518, allocations: 11.91 kB / 412.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/0.5186, allocations: 166.5 kB / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5186, allocations: 0 / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5186, allocations: 0 / 412.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.5187, allocations: 7.984 kB / 412.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5197, allocations: 0.5336 MB / 413.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5198, allocations: 0 / 413.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.5199, allocations: 20.3 kB / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.52, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.52, allocations: 4 kB / 413.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.52, allocations: 11.98 kB / 413.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.52, allocations: 0 / 413.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.5206, allocations: 315.4 kB / 413.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.5207, allocations: 93.02 kB / 413.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.5207, allocations: 0 / 413.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5209, allocations: 11.98 kB / 413.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.521, allocations: 15.89 kB / 413.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.521, allocations: 7.984 kB / 413.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.5212, allocations: 155.9 kB / 414.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5212, allocations: 0 / 414.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.5217, allocations: 39.97 kB / 414.1 MB, free: 11.73 MB / 346.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.0006933/0.5224, allocations: 238.8 kB / 414.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.5229, allocations: 156.7 kB / 414.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5229, allocations: 0 / 414.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.5231, allocations: 47.92 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.5235, allocations: 12.2 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.5243, allocations: 345.2 kB / 414.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.5247, allocations: 0.7199 MB / 415.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.5248, allocations: 19.44 kB / 415.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5248, allocations: 0 / 415.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of Templates: time 0.005108/0.5299, allocations: 1.686 MB / 417.3 MB, free: 8.492 MB / 346.7 MB