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.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.798/1.798, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.08e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09117, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.5084, allocations: 74.66 MB / 401.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.5086, allocations: 72.67 kB / 401.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.5197, allocations: 3.205 MB / 404.5 MB, free: 9.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.5198, allocations: 0 / 404.5 MB, free: 9.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.5198, allocations: 0 / 404.5 MB, free: 9.145 MB / 314.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.0002933/0.5201, allocations: 393 kB / 404.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5201, allocations: 11.41 kB / 404.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.5202, allocations: 7.594 kB / 404.9 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.5204, allocations: 190.2 kB / 405.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.5204, allocations: 0 / 405.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.5204, allocations: 3.812 kB / 405.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5205, allocations: 54.25 kB / 405.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5206, allocations: 4 kB / 405.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.5206, allocations: 3.844 kB / 405.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-06/0.5206, allocations: 0 / 405.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.5207, allocations: 15.03 kB / 405.1 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.521, allocations: 270.6 kB / 405.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.5212, allocations: 37.45 kB / 405.4 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.5212, allocations: 20.28 kB / 405.5 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.5212, allocations: 0 / 405.5 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.5213, allocations: 34.55 kB / 405.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.759e-06/0.5213, allocations: 0 / 405.5 MB, free: 8.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004132/0.5217, allocations: 105.4 kB / 405.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.5218, allocations: 77.11 kB / 405.7 MB, free: 7.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.5219, allocations: 115.8 kB / 405.8 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.5219, allocations: 25.7 kB / 405.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.5219, allocations: 158.2 kB / 406 MB, free: 7.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.522, allocations: 23.52 kB / 406 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.522, allocations: 0 / 406 MB, free: 7.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.522, allocations: 318.6 kB / 406.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.979e-05/0.5221, allocations: 16.91 kB / 406.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.5221, allocations: 32.06 kB / 406.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.5222, allocations: 52.94 kB / 406.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-06/0.5222, allocations: 3.844 kB / 406.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000143/0.5224, allocations: 88.86 kB / 406.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5224, allocations: 33.23 kB / 406.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.754e-06/0.5224, allocations: 0 / 406.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5224, allocations: 0 / 406.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.5225, allocations: 15.27 kB / 406.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.526e-06/0.5226, allocations: 0 / 406.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.5226, allocations: 11.44 kB / 406.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.5227, allocations: 0 / 406.5 MB, free: 7.16 MB / 314.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 5.042e-05/0.5227, allocations: 116.4 kB / 406.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.5228, allocations: 0 / 406.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.5229, allocations: 77.64 kB / 406.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-06/0.523, allocations: 0 / 406.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.523, allocations: 0 / 406.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-06/0.523, allocations: 3.719 kB / 406.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.5233, allocations: 329.9 kB / 407.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-06/0.5233, allocations: 0 / 407.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.5234, allocations: 14.75 kB / 407.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.685e-06/0.5234, allocations: 0 / 407.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5235, allocations: 0 / 407.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.606e-06/0.5235, allocations: 7.828 kB / 407.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.296e-06/0.5235, allocations: 3.984 kB / 407.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.5236, allocations: 161.2 kB / 407.2 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.5237, allocations: 88.84 kB / 407.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.5237, allocations: 3.375 kB / 407.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5238, allocations: 7.688 kB / 407.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.5239, allocations: 3.984 kB / 407.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-06/0.5239, allocations: 3.844 kB / 407.4 MB, free: 6.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.807e-05/0.524, allocations: 94.12 kB / 407.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.524, allocations: 0 / 407.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.5244, allocations: 34.55 kB / 407.5 MB, free: 6.332 MB / 314.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.0008543/0.5252, allocations: 310.2 kB / 407.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.5254, allocations: 92.81 kB / 407.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5254, allocations: 0 / 407.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.5255, allocations: 11.16 kB / 407.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.5257, allocations: 18.61 kB / 407.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.526, allocations: 114.8 kB / 408 MB, free: 5.957 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.5262, allocations: 0.6885 MB / 408.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.5262, allocations: 22.89 kB / 408.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.48e-06/0.5263, allocations: 0 / 408.7 MB, free: 5.242 MB / 314.7 MB Notification: Performance of Templates: time 0.003301/0.5296, allocations: 1.436 MB / 410.2 MB, free: 4.512 MB / 314.7 MB