Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 15.98 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3584, allocations: 48.69 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.495, allocations: 75.5 MB / 407.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.4953, allocations: 79.95 kB / 407.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02913/0.5245, allocations: 6.561 MB / 413.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5246, allocations: 0 / 413.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.551e-05/0.5246, allocations: 8 kB / 413.9 MB, free: 12.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001594/0.5262, allocations: 0.8575 MB / 414.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5263, allocations: 8.031 kB / 414.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.5265, allocations: 59.28 kB / 414.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5275, allocations: 439.1 kB / 415.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5275, allocations: 8 kB / 415.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.5276, allocations: 16 kB / 415.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.5282, allocations: 151.2 kB / 415.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.5282, allocations: 3.938 kB / 415.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.5282, allocations: 8 kB / 415.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5282, allocations: 3.953 kB / 415.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.5288, allocations: 115.9 kB / 415.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.5304, allocations: 0.7034 MB / 416.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.5309, allocations: 141.1 kB / 416.4 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.531, allocations: 4 kB / 416.4 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.531, allocations: 34.56 kB / 416.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/0.531, allocations: 0 / 416.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.003537/0.5346, allocations: 0.7444 MB / 417.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.5347, allocations: 85.28 kB / 417.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5363, allocations: 0.7957 MB / 418.1 MB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.5364, allocations: 33.64 kB / 418.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.5367, allocations: 258.9 kB / 418.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5368, allocations: 67 kB / 418.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.5368, allocations: 4 kB / 418.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.537, allocations: 314.8 kB / 418.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.5375, allocations: 119.9 kB / 418.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.5381, allocations: 137.5 kB / 419 MB, free: 6.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.5388, allocations: 242.6 kB / 419.2 MB, free: 6.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5388, allocations: 0 / 419.2 MB, free: 6.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001367/0.5402, allocations: 420.2 kB / 419.7 MB, free: 6.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/0.5403, allocations: 114.8 kB / 419.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5403, allocations: 4 kB / 419.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.5404, allocations: 0 / 419.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.5409, allocations: 63.89 kB / 419.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.5409, allocations: 3.953 kB / 419.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.5414, allocations: 35.97 kB / 419.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.5415, allocations: 8 kB / 419.9 MB, free: 6.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.0004505/0.5419, allocations: 205.7 kB / 420.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5421, allocations: 51.34 kB / 420.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.5437, allocations: 393.6 kB / 420.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5437, allocations: 0 / 420.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5437, allocations: 0 / 420.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.5438, allocations: 7.953 kB / 420.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.5462, allocations: 0.97 MB / 421.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5463, allocations: 4 kB / 421.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.5468, allocations: 63.95 kB / 421.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5468, allocations: 0 / 421.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.5468, allocations: 7.953 kB / 421.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.5469, allocations: 7.938 kB / 421.6 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5469, allocations: 3.984 kB / 421.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5482, allocations: 0.498 MB / 422.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.5486, allocations: 188.4 kB / 422.3 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.5487, allocations: 8 kB / 422.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.5492, allocations: 27.97 kB / 422.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5493, allocations: 27.92 kB / 422.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.5493, allocations: 4.562 kB / 422.3 MB, free: 3.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.5505, allocations: 0.5807 MB / 422.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5505, allocations: 0 / 422.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006359/0.5512, allocations: 107.9 kB / 423 MB, free: 2.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001394/0.5526, allocations: 497.4 kB / 423.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.5541, allocations: 493.3 kB / 424 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5542, allocations: 3.938 kB / 424 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.5548, allocations: 143.9 kB / 424.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006323/0.5554, allocations: 44.94 kB / 424.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.5579, allocations: 1.021 MB / 425.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.5585, allocations: 0.8496 MB / 426 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.5589, allocations: 47.41 kB / 426.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5589, allocations: 0 / 426.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01466/0.5736, allocations: 5.826 MB / 431.9 MB, free: 9.848 MB / 362.7 MB