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.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.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.183e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2788, allocations: 54.86 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4006, allocations: 80.26 MB / 438.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4008, allocations: 67.95 kB / 438.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.414, allocations: 3.385 MB / 441.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.414, allocations: 7.938 kB / 441.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.414, allocations: 4 kB / 441.8 MB, free: 11.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004985/0.4146, allocations: 408 kB / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4146, allocations: 8.031 kB / 442.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.4147, allocations: 11.86 kB / 442.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.415, allocations: 214.7 kB / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-06/0.415, allocations: 3.938 kB / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.4151, allocations: 4 kB / 442.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.4152, allocations: 27.92 kB / 442.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.4153, allocations: 45.69 kB / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4153, allocations: 4 kB / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4153, allocations: 0 / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.066e-06/0.4154, allocations: 7.938 kB / 442.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.4158, allocations: 269.5 kB / 442.7 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4159, allocations: 54.5 kB / 442.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.416, allocations: 18.8 kB / 442.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.416, allocations: 4 kB / 442.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.4161, allocations: 30.56 kB / 442.9 MB, free: 9.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.477e-06/0.4161, allocations: 0 / 442.9 MB, free: 9.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005797/0.4167, allocations: 145.2 kB / 443 MB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.4167, allocations: 55.41 kB / 443 MB, free: 9.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.417, allocations: 202.3 kB / 443.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.417, allocations: 29.7 kB / 443.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4172, allocations: 162.8 kB / 443.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.4172, allocations: 19.66 kB / 443.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-06/0.4172, allocations: 0 / 443.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4174, allocations: 318.8 kB / 443.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.4175, allocations: 16 kB / 443.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.4175, allocations: 16 kB / 443.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.4176, allocations: 24 kB / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-06/0.4176, allocations: 0 / 443.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002033/0.4178, allocations: 85.52 kB / 443.9 MB, free: 8.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.4179, allocations: 33.98 kB / 443.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-06/0.4179, allocations: 3.938 kB / 443.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4179, allocations: 3.953 kB / 443.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4181, allocations: 23.92 kB / 444 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.723e-06/0.4181, allocations: 0 / 444 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.4182, allocations: 12 kB / 444 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4182, allocations: 4 kB / 444 MB, free: 8.672 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 (9): * Single equations (assignments): 8 * 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.329e-05/0.4183, allocations: 108.9 kB / 444.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.4184, allocations: 7.906 kB / 444.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.4186, allocations: 99.41 kB / 444.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.258e-06/0.4186, allocations: 3.953 kB / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/0.4187, allocations: 0 / 444.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-06/0.4187, allocations: 4 kB / 444.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.4192, allocations: 363 kB / 444.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-06/0.4193, allocations: 0 / 444.6 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4194, allocations: 19.98 kB / 444.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-06/0.4194, allocations: 4 kB / 444.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4194, allocations: 3.953 kB / 444.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.739e-06/0.4194, allocations: 0 / 444.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-06/0.4194, allocations: 0 / 444.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4197, allocations: 187.6 kB / 444.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.4198, allocations: 92.91 kB / 444.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.4198, allocations: 4 kB / 444.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.42, allocations: 7.953 kB / 444.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.42, allocations: 7.984 kB / 444.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-06/0.42, allocations: 0 / 444.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.4202, allocations: 160 kB / 445 MB, free: 7.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.4203, allocations: 4 kB / 445 MB, free: 7.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.4206, allocations: 23.98 kB / 445.1 MB, free: 7.504 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 (8): * Single equations (assignments): 8 * 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.0008211/0.4214, allocations: 251.3 kB / 445.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4217, allocations: 103.3 kB / 445.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.814e-06/0.4217, allocations: 3.938 kB / 445.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.358e-05/0.4218, allocations: 24 kB / 445.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.422, allocations: 12.12 kB / 445.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.4225, allocations: 210.2 kB / 445.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.423, allocations: 0.7163 MB / 446.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.4231, allocations: 15.44 kB / 446.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.566e-06/0.4231, allocations: 0 / 446.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of Templates: time 0.004166/0.4272, allocations: 1.557 MB / 447.9 MB, free: 4.59 MB / 378.7 MB