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.Test5.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.Test5,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.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.095/2.095, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.453e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4348, allocations: 80.23 MB / 438.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4351, allocations: 75.95 kB / 438.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.4474, allocations: 3.139 MB / 441.5 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.316e-06/0.4474, allocations: 0 / 441.5 MB, free: 11.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4475, allocations: 4 kB / 441.5 MB, free: 11.38 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.0005099/0.448, allocations: 404.7 kB / 441.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.448, allocations: 8.031 kB / 441.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.4481, allocations: 15.86 kB / 441.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.4484, allocations: 198.9 kB / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4484, allocations: 0 / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.4485, allocations: 0 / 442.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.331e-05/0.4486, allocations: 19.88 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.4487, allocations: 41.69 kB / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4487, allocations: 0 / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-06/0.4487, allocations: 0 / 442.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-06/0.4487, allocations: 11.95 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.4492, allocations: 261.4 kB / 442.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4494, allocations: 38.45 kB / 442.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.4494, allocations: 8.859 kB / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4494, allocations: 4 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4495, allocations: 40.45 kB / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.477e-06/0.4495, allocations: 0 / 442.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004814/0.45, allocations: 105.3 kB / 442.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4501, allocations: 55.34 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.4503, allocations: 189.3 kB / 442.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4504, allocations: 25.7 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4505, allocations: 166.5 kB / 443 MB, free: 9.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4505, allocations: 19.75 kB / 443.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-06/0.4505, allocations: 0 / 443.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4507, allocations: 318.8 kB / 443.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.4508, allocations: 8 kB / 443.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.4508, allocations: 12 kB / 443.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.4509, allocations: 12.19 kB / 443.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4509, allocations: 0 / 443.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001639/0.451, allocations: 65.69 kB / 443.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.4511, allocations: 29.7 kB / 443.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-06/0.4511, allocations: 4 kB / 443.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4511, allocations: 0 / 443.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4513, allocations: 19.94 kB / 443.5 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.852e-06/0.4513, allocations: 3.938 kB / 443.5 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.4514, allocations: 8.141 kB / 443.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4514, allocations: 3.984 kB / 443.5 MB, free: 9.117 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 8.383e-05/0.4515, allocations: 101 kB / 443.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4515, allocations: 19.89 kB / 443.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4517, allocations: 70 kB / 443.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-06/0.4518, allocations: 4 kB / 443.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.4518, allocations: 3.953 kB / 443.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.207e-06/0.4518, allocations: 3.984 kB / 443.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.4523, allocations: 319.1 kB / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-06/0.4523, allocations: 0 / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.142e-05/0.4524, allocations: 15.98 kB / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.094e-06/0.4524, allocations: 7.938 kB / 444.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-06/0.4525, allocations: 0 / 444.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.427e-06/0.4525, allocations: 11.89 kB / 444.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.643e-06/0.4525, allocations: 0 / 444.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.4527, allocations: 151.7 kB / 444.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.4528, allocations: 101 kB / 444.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4528, allocations: 3.938 kB / 444.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4529, allocations: 12 kB / 444.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.453, allocations: 7.938 kB / 444.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-06/0.453, allocations: 4 kB / 444.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.4532, allocations: 151.2 kB / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.95e-07/0.4532, allocations: 0 / 444.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.4536, allocations: 12 kB / 444.5 MB, free: 8.047 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.000844/0.4544, allocations: 258.3 kB / 444.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.4546, allocations: 79.41 kB / 444.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4547, allocations: 4 kB / 444.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.4547, allocations: 19.94 kB / 444.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.455, allocations: 11.98 kB / 444.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.4555, allocations: 185.9 kB / 445.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4559, allocations: 0.708 MB / 445.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.456, allocations: 15.42 kB / 445.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of SimCode: time 1.804e-06/0.456, allocations: 4 kB / 445.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003969/0.46, allocations: 1.365 MB / 447.1 MB, free: 5.367 MB / 378.7 MB