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.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.044e-05, allocations: 7.984 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3751, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5349, allocations: 80.33 MB / 438.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.5352, allocations: 71.95 kB / 438.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.5486, allocations: 3.429 MB / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.197e-06/0.5487, allocations: 4 kB / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5487, allocations: 4 kB / 441.9 MB, free: 11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005439/0.5493, allocations: 412 kB / 442.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5493, allocations: 8.031 kB / 442.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.5494, allocations: 15.8 kB / 442.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.5497, allocations: 206.8 kB / 442.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5497, allocations: 3.938 kB / 442.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.5498, allocations: 7.938 kB / 442.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.5499, allocations: 27.98 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.55, allocations: 67.41 kB / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5501, allocations: 4 kB / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5501, allocations: 0 / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.917e-06/0.5501, allocations: 3.953 kB / 442.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.5507, allocations: 377.6 kB / 443 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.551, allocations: 75.03 kB / 443.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/0.5511, allocations: 33.66 kB / 443.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5511, allocations: 0 / 443.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5511, allocations: 38.64 kB / 443.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.5512, allocations: 0 / 443.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006939/0.5519, allocations: 188.8 kB / 443.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.5519, allocations: 81.09 kB / 443.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.5522, allocations: 190.5 kB / 443.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.5522, allocations: 25.7 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5524, allocations: 170.5 kB / 443.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.5524, allocations: 31.55 kB / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-06/0.5524, allocations: 0 / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5526, allocations: 318.8 kB / 444.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.5527, allocations: 27.98 kB / 444.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.5528, allocations: 31.88 kB / 444.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.715e-05/0.5528, allocations: 23.98 kB / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5529, allocations: 0 / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002267/0.5531, allocations: 93.67 kB / 444.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.5532, allocations: 37.7 kB / 444.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.913e-06/0.5532, allocations: 3.953 kB / 444.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5532, allocations: 0 / 444.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5533, allocations: 19.98 kB / 444.3 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.78e-06/0.5534, allocations: 4 kB / 444.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.5534, allocations: 7.984 kB / 444.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.5535, allocations: 8 kB / 444.4 MB, free: 8.262 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 (11): * Single equations (assignments): 10 * 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.754e-05/0.5536, allocations: 108.9 kB / 444.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.5537, allocations: 15.75 kB / 444.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.554, allocations: 127.5 kB / 444.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.297e-06/0.554, allocations: 3.953 kB / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.87e-06/0.554, allocations: 7.922 kB / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.5541, allocations: 0 / 444.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.5548, allocations: 491 kB / 445.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-06/0.5549, allocations: 0 / 445.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.555, allocations: 20.3 kB / 445.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.555, allocations: 7.953 kB / 445.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.555, allocations: 0 / 445.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.905e-06/0.5551, allocations: 4 kB / 445.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.5551, allocations: 7.938 kB / 445.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.5554, allocations: 303 kB / 445.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.5555, allocations: 96.91 kB / 445.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.5556, allocations: 3.938 kB / 445.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5558, allocations: 7.984 kB / 445.5 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.5558, allocations: 8 kB / 445.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5558, allocations: 4 kB / 445.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.556, allocations: 159.9 kB / 445.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.556, allocations: 0 / 445.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.5565, allocations: 28 kB / 445.7 MB, free: 6.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000846/0.5573, allocations: 246.8 kB / 446 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.5576, allocations: 115.3 kB / 446.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5576, allocations: 0 / 446.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.5577, allocations: 39.92 kB / 446.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.558, allocations: 16 kB / 446.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.5586, allocations: 247.7 kB / 446.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.5591, allocations: 0.7196 MB / 447.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.5592, allocations: 19.42 kB / 447.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5592, allocations: 0 / 447.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of Templates: time 0.004542/0.5637, allocations: 1.667 MB / 448.8 MB, free: 3.68 MB / 378.7 MB