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.Test31.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.Test31,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.CombiTable1D.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.05e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2744, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.3987, allocations: 80.22 MB / 438.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.399, allocations: 75.95 kB / 438.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4116, allocations: 3.321 MB / 441.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4117, allocations: 0 / 441.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4117, allocations: 0 / 441.6 MB, free: 11.2 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.0005098/0.4122, allocations: 431.8 kB / 442.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4123, allocations: 8.031 kB / 442.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.4124, allocations: 15.75 kB / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.4127, allocations: 210.9 kB / 442.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-06/0.4127, allocations: 0 / 442.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.4127, allocations: 0 / 442.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.374e-05/0.4128, allocations: 19.98 kB / 442.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.4129, allocations: 37.69 kB / 442.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4129, allocations: 7.953 kB / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.413, allocations: 0 / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.413, allocations: 0 / 442.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.4135, allocations: 285.4 kB / 442.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4137, allocations: 42.5 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.4137, allocations: 16.94 kB / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4138, allocations: 0 / 442.7 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.4138, allocations: 36.33 kB / 442.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.089e-06/0.4138, allocations: 8 kB / 442.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004944/0.4143, allocations: 125.2 kB / 442.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4144, allocations: 51.41 kB / 442.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.4147, allocations: 226.6 kB / 443.1 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4148, allocations: 25.7 kB / 443.2 MB, free: 9.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4149, allocations: 170.5 kB / 443.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.4149, allocations: 15.75 kB / 443.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-06/0.4149, allocations: 0 / 443.3 MB, free: 9.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4151, allocations: 318.8 kB / 443.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.4152, allocations: 12 kB / 443.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.4152, allocations: 12 kB / 443.7 MB, free: 8.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.4153, allocations: 15.98 kB / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-06/0.4153, allocations: 0 / 443.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001675/0.4154, allocations: 69.62 kB / 443.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.4155, allocations: 33.7 kB / 443.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.702e-06/0.4155, allocations: 3.953 kB / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4155, allocations: 0 / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4157, allocations: 19.98 kB / 443.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4157, allocations: 0 / 443.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.4158, allocations: 4 kB / 443.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4158, allocations: 4 kB / 443.8 MB, free: 8.805 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.43e-05/0.4159, allocations: 102.5 kB / 443.9 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.4159, allocations: 19.8 kB / 443.9 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.4162, allocations: 87.23 kB / 444 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4162, allocations: 7.953 kB / 444 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-06/0.4162, allocations: 0 / 444 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-06/0.4162, allocations: 0 / 444 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.4168, allocations: 343.1 kB / 444.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4168, allocations: 3.938 kB / 444.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.4169, allocations: 15.98 kB / 444.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.552e-06/0.4169, allocations: 3.938 kB / 444.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4169, allocations: 3.953 kB / 444.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.974e-06/0.417, allocations: 8.312 kB / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.417, allocations: 0 / 444.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.4172, allocations: 167.5 kB / 444.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.4173, allocations: 96.91 kB / 444.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.4173, allocations: 4 kB / 444.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4175, allocations: 7.953 kB / 444.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.4175, allocations: 11.98 kB / 444.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-06/0.4175, allocations: 4 kB / 444.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.4178, allocations: 180.1 kB / 444.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.4178, allocations: 0 / 444.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.4182, allocations: 20 kB / 444.9 MB, free: 7.652 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.0008153/0.419, allocations: 249.2 kB / 445.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4192, allocations: 91.34 kB / 445.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.915e-06/0.4192, allocations: 0 / 445.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.4193, allocations: 19.98 kB / 445.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.4196, allocations: 12.19 kB / 445.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.4201, allocations: 234.1 kB / 445.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4206, allocations: 0.7158 MB / 446.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.4206, allocations: 19.44 kB / 446.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of SimCode: time 4.099e-06/0.4207, allocations: 0 / 446.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of Templates: time 0.00416/0.4248, allocations: 1.553 MB / 447.8 MB, free: 4.73 MB / 378.7 MB