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.Test4.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.327e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2809, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3962, allocations: 75.11 MB / 395.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.3965, allocations: 75.94 kB / 395.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.4132, allocations: 4.091 MB / 399.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.086e-06/0.4133, allocations: 7.984 kB / 399.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4133, allocations: 4 kB / 399.3 MB, free: 1.141 MB / 330.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.0005414/0.4139, allocations: 416 kB / 399.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4139, allocations: 12.03 kB / 399.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.414, allocations: 7.906 kB / 399.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4143, allocations: 212.1 kB / 399.9 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4143, allocations: 0 / 399.9 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.4144, allocations: 7.984 kB / 399.9 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.596e-05/0.4144, allocations: 8 kB / 399.9 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4146, allocations: 49.67 kB / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4146, allocations: 0 / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4146, allocations: 0 / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-06/0.4146, allocations: 0 / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.4151, allocations: 269.5 kB / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4153, allocations: 46.5 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.4154, allocations: 12.95 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.4154, allocations: 7.984 kB / 400.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.4155, allocations: 55.41 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.468e-06/0.4155, allocations: 0 / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004196/0.416, allocations: 113.2 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.416, allocations: 59.39 kB / 400.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.4163, allocations: 174.2 kB / 400.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4163, allocations: 25.7 kB / 400.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4164, allocations: 166.6 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.4165, allocations: 15.8 kB / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-06/0.4165, allocations: 0 / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4167, allocations: 322.8 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.4167, allocations: 16 kB / 401.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.4168, allocations: 27.92 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.4169, allocations: 16 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-06/0.4169, allocations: 0 / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002317/0.4171, allocations: 93.61 kB / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.4172, allocations: 42.48 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.467e-06/0.4172, allocations: 0 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4172, allocations: 0 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.4173, allocations: 11.98 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.4173, allocations: 0 / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.4174, allocations: 4 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4174, allocations: 0 / 401.4 MB, free: 14.79 MB / 346.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 9.842e-05/0.4175, allocations: 112.9 kB / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4176, allocations: 11.81 kB / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4178, allocations: 90.02 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-06/0.4179, allocations: 4 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.325e-06/0.4179, allocations: 3.984 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4179, allocations: 0 / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.4184, allocations: 335 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-06/0.4184, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.4184, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-06/0.4185, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4185, allocations: 7.984 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-06/0.4185, allocations: 0 / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-06/0.4185, allocations: 0 / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.4188, allocations: 171.4 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.737e-05/0.4189, allocations: 93.16 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.4189, allocations: 4.141 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.419, allocations: 4 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4191, allocations: 12.08 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4191, allocations: 7.938 kB / 402.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4193, allocations: 147.2 kB / 402.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.4193, allocations: 0 / 402.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.4197, allocations: 35.92 kB / 402.5 MB, free: 13.67 MB / 346.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.0009345/0.4206, allocations: 303.2 kB / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4209, allocations: 107.4 kB / 402.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4209, allocations: 0 / 402.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.421, allocations: 23.88 kB / 402.9 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.4213, allocations: 24.06 kB / 402.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.4217, allocations: 185.6 kB / 403.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4222, allocations: 0.7041 MB / 403.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.4222, allocations: 19.42 kB / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4222, allocations: 4 kB / 403.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of Templates: time 0.004347/0.4266, allocations: 1.766 MB / 405.6 MB, free: 10.53 MB / 346.7 MB