Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 234.9 MB / 251.1 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006953/0.0006956, allocations: 8 kB / 314.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4818, allocations: 54.87 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.6847, allocations: 81.94 MB / 451.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.685, allocations: 75.97 kB / 451.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03054/0.7156, allocations: 6.782 MB / 458.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7156, allocations: 0 / 458.6 MB, free: 1.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.159e-05/0.7157, allocations: 12 kB / 458.6 MB, free: 1.785 MB / 378.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.00162/0.7173, allocations: 0.8546 MB / 459.5 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7174, allocations: 8.031 kB / 459.5 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.7176, allocations: 51.34 kB / 459.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.7186, allocations: 435.2 kB / 459.9 MB, free: 336 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.7187, allocations: 7.953 kB / 460 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.7187, allocations: 16 kB / 460 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.7193, allocations: 162.6 kB / 460.1 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.7193, allocations: 0 / 460.1 MB, free: 140 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.7194, allocations: 4 kB / 460.1 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.7194, allocations: 7.938 kB / 460.1 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.72, allocations: 119.9 kB / 460.3 MB, free: 8 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.7218, allocations: 0.6919 MB / 461 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.7223, allocations: 137.2 kB / 461.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.7224, allocations: 4 kB / 461.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7224, allocations: 42.69 kB / 461.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.7224, allocations: 0 / 461.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003743/0.7262, allocations: 0.7441 MB / 461.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.7263, allocations: 81.11 kB / 462 MB, free: 14.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.728, allocations: 0.7878 MB / 462.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/0.7281, allocations: 29.92 kB / 462.8 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.7284, allocations: 255 kB / 463 MB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.7285, allocations: 66.95 kB / 463.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.7285, allocations: 8 kB / 463.1 MB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7287, allocations: 318.8 kB / 463.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.7293, allocations: 115.9 kB / 463.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.7298, allocations: 141.6 kB / 463.7 MB, free: 12.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.7305, allocations: 230.8 kB / 463.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7305, allocations: 0 / 463.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001438/0.732, allocations: 420.1 kB / 464.3 MB, free: 11.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.7321, allocations: 126.7 kB / 464.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.7321, allocations: 0 / 464.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.7322, allocations: 4 kB / 464.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.7327, allocations: 55.95 kB / 464.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.7327, allocations: 4 kB / 464.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.7332, allocations: 35.97 kB / 464.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.7333, allocations: 8 kB / 464.5 MB, free: 11.52 MB / 394.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.0003969/0.7337, allocations: 201.7 kB / 464.7 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.7339, allocations: 55.3 kB / 464.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.7354, allocations: 405.3 kB / 465.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7355, allocations: 4 kB / 465.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7355, allocations: 0 / 465.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.7355, allocations: 3.984 kB / 465.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.7383, allocations: 0.9659 MB / 466.1 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.7383, allocations: 0 / 466.1 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.7389, allocations: 63.89 kB / 466.2 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.7389, allocations: 4 kB / 466.2 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.7389, allocations: 4 kB / 466.2 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.7389, allocations: 7.984 kB / 466.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.739, allocations: 0.75 kB / 466.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.7405, allocations: 0.5009 MB / 466.7 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.7408, allocations: 168.4 kB / 466.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.741, allocations: 7.938 kB / 466.9 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.7414, allocations: 27.98 kB / 466.9 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7415, allocations: 19.97 kB / 466.9 MB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.7416, allocations: 16.36 kB / 467 MB, free: 8.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.7428, allocations: 0.573 MB / 467.5 MB, free: 8.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7428, allocations: 0 / 467.5 MB, free: 8.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006745/0.7435, allocations: 103.9 kB / 467.6 MB, free: 8.309 MB / 394.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.001773/0.7453, allocations: 0.595 MB / 468.2 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.7468, allocations: 497.3 kB / 468.7 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7468, allocations: 0 / 468.7 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.7474, allocations: 147.8 kB / 468.9 MB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.7483, allocations: 54.17 kB / 468.9 MB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.7514, allocations: 1.005 MB / 469.9 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/0.7523, allocations: 0.8499 MB / 470.8 MB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.7527, allocations: 51.34 kB / 470.8 MB, free: 5.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7527, allocations: 0 / 470.8 MB, free: 5.074 MB / 394.7 MB Notification: Performance of Templates: time 0.3237/1.076, allocations: 5.799 MB / 476.6 MB, free: 95.09 MB / 394.7 MB