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.CombiTimeTable.Test30.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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 222.4 MB, free: 7.715 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.05e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 48.71 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4981, allocations: 75.77 MB / 402.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4983, allocations: 75.36 kB / 402.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.5136, allocations: 4.005 MB / 406.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.762e-06/0.5137, allocations: 0 / 406.4 MB, free: 8.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.5137, allocations: 3.844 kB / 406.4 MB, free: 8.559 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003893/0.5141, allocations: 413.7 kB / 406.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5142, allocations: 7.625 kB / 406.8 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.5142, allocations: 7.719 kB / 406.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.5144, allocations: 197.7 kB / 407 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5145, allocations: 4 kB / 407 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5145, allocations: 14.64 kB / 407 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.5146, allocations: 49.06 kB / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5146, allocations: 0 / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.5147, allocations: 0 / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-06/0.5147, allocations: 0 / 407.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.5147, allocations: 14.89 kB / 407.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.5151, allocations: 288 kB / 407.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.5153, allocations: 51.31 kB / 407.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.5153, allocations: 12.02 kB / 407.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.5154, allocations: 0 / 407.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.5155, allocations: 60.02 kB / 407.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.098e-06/0.5155, allocations: 3.984 kB / 407.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00039/0.5159, allocations: 111.1 kB / 407.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.516, allocations: 58.03 kB / 407.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5161, allocations: 155.5 kB / 407.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.5162, allocations: 29.2 kB / 407.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.5162, allocations: 163.5 kB / 408 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.5163, allocations: 11.31 kB / 408 MB, free: 7.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-06/0.5163, allocations: 3.969 kB / 408 MB, free: 7.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.5163, allocations: 314.5 kB / 408.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.5164, allocations: 22.36 kB / 408.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.5165, allocations: 24.69 kB / 408.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.5166, allocations: 57.41 kB / 408.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-06/0.5166, allocations: 0 / 408.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002293/0.5168, allocations: 128.5 kB / 408.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5169, allocations: 41.31 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.335e-06/0.5169, allocations: 0 / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5169, allocations: 0 / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.517, allocations: 11.69 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.094e-06/0.517, allocations: 3.953 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.5171, allocations: 3.812 kB / 408.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.5171, allocations: 7.859 kB / 408.6 MB, free: 6.574 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.802e-05/0.5172, allocations: 109.9 kB / 408.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.5172, allocations: 11.59 kB / 408.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5174, allocations: 88.53 kB / 408.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-06/0.5174, allocations: 0 / 408.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5175, allocations: 3.969 kB / 408.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.811e-06/0.5175, allocations: 3.953 kB / 408.8 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.5178, allocations: 352.3 kB / 409.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.5179, allocations: 4 kB / 409.2 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.5179, allocations: 7.828 kB / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.561e-06/0.5179, allocations: 3.844 kB / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.518, allocations: 0 / 409.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.703e-06/0.518, allocations: 3.953 kB / 409.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.115e-06/0.518, allocations: 0 / 409.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.5181, allocations: 179.7 kB / 409.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.5182, allocations: 84.92 kB / 409.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.5182, allocations: 7.688 kB / 409.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.5183, allocations: 3.906 kB / 409.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.5184, allocations: 11.88 kB / 409.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.5184, allocations: 3.875 kB / 409.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.5185, allocations: 128 kB / 409.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.5186, allocations: 0 / 409.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.5189, allocations: 38.48 kB / 409.7 MB, free: 5.727 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001041/0.52, allocations: 335 kB / 410 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5202, allocations: 112.1 kB / 410.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.093e-06/0.5202, allocations: 7.875 kB / 410.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.5203, allocations: 18.81 kB / 410.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.5206, allocations: 18.73 kB / 410.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.5209, allocations: 164.6 kB / 410.3 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.5211, allocations: 0.6997 MB / 411 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.5212, allocations: 15.27 kB / 411 MB, free: 4.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.596e-06/0.5212, allocations: 3.844 kB / 411 MB, free: 4.602 MB / 314.7 MB Notification: Performance of Templates: time 0.003608/0.5248, allocations: 1.702 MB / 412.7 MB, free: 3.746 MB / 314.7 MB