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.CombiTable2D.Test22.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.CombiTable2D.Test22,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|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004727, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4078, allocations: 75.59 MB / 406.9 MB, free: 2.855 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4081, allocations: 71.95 kB / 406.9 MB, free: 2.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02591/0.4341, allocations: 6.188 MB / 413.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.312e-06/0.4341, allocations: 0 / 413.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.759e-05/0.4342, allocations: 12 kB / 413.1 MB, free: 12.59 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.001323/0.4355, allocations: 0.8236 MB / 414 MB, free: 11.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4356, allocations: 8.031 kB / 414 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.4357, allocations: 51.39 kB / 414 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/0.4366, allocations: 439.1 kB / 414.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4367, allocations: 8 kB / 414.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.4367, allocations: 12 kB / 414.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.4371, allocations: 135.3 kB / 414.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4371, allocations: 0 / 414.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4372, allocations: 0 / 414.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.829e-06/0.4372, allocations: 4 kB / 414.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.4375, allocations: 99.77 kB / 414.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.4389, allocations: 0.6799 MB / 415.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.4392, allocations: 113.2 kB / 415.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.4393, allocations: 8.109 kB / 415.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.4393, allocations: 34.56 kB / 415.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.613e-06/0.4393, allocations: 0 / 415.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002769/0.4421, allocations: 0.5302 MB / 416.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.4423, allocations: 77.11 kB / 416.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.4452, allocations: 0.7324 MB / 416.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.4454, allocations: 29.7 kB / 416.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.4458, allocations: 254.8 kB / 417.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4459, allocations: 51.2 kB / 417.2 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.446, allocations: 4 kB / 417.2 MB, free: 8.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.4463, allocations: 322.8 kB / 417.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.4468, allocations: 72.19 kB / 417.6 MB, free: 7.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4473, allocations: 93.59 kB / 417.7 MB, free: 7.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.448, allocations: 191 kB / 417.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.948e-06/0.4481, allocations: 0 / 417.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001441/0.4495, allocations: 324.4 kB / 418.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.4497, allocations: 114.8 kB / 418.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4498, allocations: 0 / 418.3 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.4498, allocations: 8 kB / 418.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.4503, allocations: 43.92 kB / 418.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4503, allocations: 0 / 418.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.4508, allocations: 23.98 kB / 418.4 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.4509, allocations: 7.984 kB / 418.4 MB, free: 6.988 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 (20): * Single equations (assignments): 16 * 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.0005854/0.4515, allocations: 197.7 kB / 418.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/0.4518, allocations: 51.34 kB / 418.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.4535, allocations: 289.6 kB / 418.9 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4536, allocations: 4 kB / 418.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.4536, allocations: 3.953 kB / 418.9 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4536, allocations: 7.984 kB / 418.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.4571, allocations: 0.8297 MB / 419.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.4572, allocations: 7.984 kB / 419.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.4576, allocations: 39.92 kB / 419.8 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.4577, allocations: 7.938 kB / 419.8 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.4577, allocations: 4 kB / 419.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.219e-06/0.4577, allocations: 0 / 419.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.442e-06/0.4577, allocations: 0 / 419.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4593, allocations: 433 kB / 420.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.4599, allocations: 180.4 kB / 420.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.4601, allocations: 8 kB / 420.4 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.4607, allocations: 11.98 kB / 420.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4608, allocations: 19.97 kB / 420.4 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4609, allocations: 4 kB / 420.5 MB, free: 4.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.4629, allocations: 0.5885 MB / 421 MB, free: 4.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.209e-06/0.463, allocations: 0 / 421 MB, free: 4.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001345/0.4643, allocations: 99.86 kB / 421.1 MB, free: 4.113 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 (16): * Single equations (assignments): 16 * 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.002829/0.4672, allocations: 481.7 kB / 421.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.4687, allocations: 385.7 kB / 422 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.4688, allocations: 4.188 kB / 422 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.4694, allocations: 91.88 kB / 422.1 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4705, allocations: 50.17 kB / 422.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.474, allocations: 0.9577 MB / 423.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4752, allocations: 0.8379 MB / 423.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.4756, allocations: 47.34 kB / 424 MB, free: 1.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.436e-06/0.4756, allocations: 0 / 424 MB, free: 1.258 MB / 346.7 MB Notification: Performance of Templates: time 0.02081/0.4964, allocations: 5.414 MB / 429.4 MB, free: 11.86 MB / 362.7 MB