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.CombiTable1Ds.Test24.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.189e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 54.86 MB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4421, allocations: 80.47 MB / 438.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4424, allocations: 63.97 kB / 438.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.4549, allocations: 3.187 MB / 441.8 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.443e-06/0.455, allocations: 0 / 441.8 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.455, allocations: 4 kB / 441.8 MB, free: 10.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004748/0.4555, allocations: 384.8 kB / 442.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4555, allocations: 12.03 kB / 442.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.4556, allocations: 11.86 kB / 442.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.4558, allocations: 179 kB / 442.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4559, allocations: 4 kB / 442.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4559, allocations: 0 / 442.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.464e-05/0.456, allocations: 15.98 kB / 442.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.4561, allocations: 65.41 kB / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4562, allocations: 0 / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4562, allocations: 0 / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4562, allocations: 7.953 kB / 442.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.4566, allocations: 245.4 kB / 442.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.4568, allocations: 38.56 kB / 442.7 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.4568, allocations: 16.8 kB / 442.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4569, allocations: 0 / 442.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4569, allocations: 30.56 kB / 442.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.4569, allocations: 11.94 kB / 442.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004607/0.4574, allocations: 97.47 kB / 442.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.4575, allocations: 77.11 kB / 442.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4576, allocations: 112.9 kB / 443 MB, free: 9.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.4577, allocations: 29.7 kB / 443.1 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.4578, allocations: 154.6 kB / 443.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4578, allocations: 15.73 kB / 443.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.4578, allocations: 8 kB / 443.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.458, allocations: 314.8 kB / 443.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.458, allocations: 8 kB / 443.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.4581, allocations: 29.66 kB / 443.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.4582, allocations: 11.98 kB / 443.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.019e-06/0.4582, allocations: 0 / 443.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001726/0.4584, allocations: 69.59 kB / 443.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.4584, allocations: 29.7 kB / 443.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-06/0.4584, allocations: 4.031 kB / 443.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4585, allocations: 4 kB / 443.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4586, allocations: 15.94 kB / 443.7 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4586, allocations: 4 kB / 443.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.4587, allocations: 4 kB / 443.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4587, allocations: 0 / 443.7 MB, free: 8.797 MB / 378.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 () * 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 9.345e-05/0.4588, allocations: 108.9 kB / 443.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.4589, allocations: 8 kB / 443.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.459, allocations: 70.08 kB / 443.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.904e-06/0.4591, allocations: 0 / 443.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.288e-06/0.4591, allocations: 3.953 kB / 443.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-06/0.4591, allocations: 0 / 443.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.4595, allocations: 299.3 kB / 444.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.208e-06/0.4596, allocations: 8 kB / 444.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.4597, allocations: 15.98 kB / 444.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-06/0.4597, allocations: 4.141 kB / 444.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4597, allocations: 4 kB / 444.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.474e-06/0.4597, allocations: 3.953 kB / 444.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.4597, allocations: 3.984 kB / 444.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4599, allocations: 151.5 kB / 444.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.46, allocations: 85 kB / 444.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.46, allocations: 4 kB / 444.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4601, allocations: 8 kB / 444.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.4602, allocations: 7.938 kB / 444.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-06/0.4602, allocations: 4 kB / 444.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.811e-05/0.4603, allocations: 91.28 kB / 444.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.231e-06/0.4603, allocations: 0 / 444.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.4607, allocations: 27.92 kB / 444.6 MB, free: 7.82 MB / 378.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 () * 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.001087/0.4618, allocations: 325.4 kB / 444.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.462, allocations: 83.41 kB / 445 MB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.987e-06/0.462, allocations: 4 kB / 445 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.4621, allocations: 23.88 kB / 445 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4623, allocations: 4 kB / 445 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.4627, allocations: 113.8 kB / 445.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4631, allocations: 0.6885 MB / 445.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.4632, allocations: 19.42 kB / 445.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.686e-06/0.4632, allocations: 0 / 445.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of Templates: time 0.00396/0.4672, allocations: 1.45 MB / 447.3 MB, free: 5.09 MB / 378.7 MB