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.CombiTimeTable.Test61.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.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.224e-05, allocations: 8 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3929, allocations: 81.23 MB / 439.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3932, allocations: 71.95 kB / 439.3 MB, free: 13.52 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.4117, allocations: 4.66 MB / 444 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4117, allocations: 0 / 444 MB, free: 8.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4118, allocations: 0 / 444 MB, free: 8.855 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005805/0.4124, allocations: 465.4 kB / 444.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4124, allocations: 12.03 kB / 444.5 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.4125, allocations: 11.81 kB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.4128, allocations: 214.9 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4129, allocations: 4 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.4129, allocations: 11.98 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.311e-05/0.413, allocations: 15.98 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.4131, allocations: 45.62 kB / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4132, allocations: 7.891 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.4132, allocations: 0 / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-06/0.4132, allocations: 4 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.4134, allocations: 182.2 kB / 445 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4136, allocations: 50.62 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.4137, allocations: 20.94 kB / 445 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4137, allocations: 0 / 445 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.4139, allocations: 67.25 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.319e-06/0.4139, allocations: 0 / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002643/0.4141, allocations: 81.58 kB / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.4142, allocations: 51.41 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.4145, allocations: 230.9 kB / 445.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.4146, allocations: 29.7 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4147, allocations: 166.6 kB / 445.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.4147, allocations: 15.83 kB / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-06/0.4148, allocations: 0 / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4149, allocations: 318.8 kB / 446 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.415, allocations: 20 kB / 446 MB, free: 6.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.4151, allocations: 41.7 kB / 446 MB, free: 6.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.4152, allocations: 39.92 kB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.128e-06/0.4152, allocations: 0 / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000278/0.4155, allocations: 113.5 kB / 446.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.4156, allocations: 29.7 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.94e-06/0.4156, allocations: 4 kB / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4156, allocations: 0 / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4157, allocations: 15.92 kB / 446.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-06/0.4158, allocations: 0 / 446.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.4159, allocations: 11.94 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4159, allocations: 12.08 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 0.0001009/0.416, allocations: 106.5 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4161, allocations: 11.91 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.4163, allocations: 95.28 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.574e-06/0.4163, allocations: 0 / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.189e-06/0.4164, allocations: 7.875 kB / 446.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-06/0.4164, allocations: 4 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.4166, allocations: 194 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-06/0.4166, allocations: 4 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.4167, allocations: 4 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.091e-06/0.4167, allocations: 0 / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4167, allocations: 4 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-06/0.4167, allocations: 0 / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.36e-06/0.4167, allocations: 0 / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4169, allocations: 113.6 kB / 446.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4171, allocations: 104.9 kB / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4171, allocations: 0 / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.144e-05/0.4172, allocations: 4 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.4172, allocations: 7.984 kB / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4173, allocations: 4 kB / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4175, allocations: 187 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.4175, allocations: 0 / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.4179, allocations: 32 kB / 447.1 MB, free: 5.43 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001139/0.419, allocations: 336.3 kB / 447.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.4193, allocations: 143.4 kB / 447.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.983e-06/0.4193, allocations: 4.062 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.4194, allocations: 19.94 kB / 447.6 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4197, allocations: 22.8 kB / 447.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.4202, allocations: 227.5 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4206, allocations: 0.7236 MB / 448.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.4207, allocations: 15.38 kB / 448.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.387e-06/0.4207, allocations: 4 kB / 448.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of Templates: time 0.004642/0.4254, allocations: 1.915 MB / 450.5 MB, free: 2.012 MB / 378.7 MB