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.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.2 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 15.98 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 48.71 MB / 331.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.405, allocations: 75.66 MB / 406.9 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4053, allocations: 67.97 kB / 407 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.4213, allocations: 3.887 MB / 410.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.24e-06/0.4213, allocations: 0 / 410.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.4213, allocations: 4 kB / 410.9 MB, free: 14.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000578/0.4219, allocations: 420.7 kB / 411.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.422, allocations: 12.03 kB / 411.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.422, allocations: 11.81 kB / 411.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.4224, allocations: 202.9 kB / 411.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4224, allocations: 0 / 411.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4224, allocations: 4 kB / 411.5 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4226, allocations: 45.61 kB / 411.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.83e-06/0.4226, allocations: 0 / 411.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4226, allocations: 3.984 kB / 411.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-06/0.4226, allocations: 4 kB / 411.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.4227, allocations: 4 kB / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.423, allocations: 197.5 kB / 411.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.056e-05/0.4231, allocations: 26.58 kB / 411.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.4231, allocations: 0 / 411.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.4232, allocations: 59.39 kB / 411.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.313e-06/0.4232, allocations: 0 / 411.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002438/0.4235, allocations: 69.58 kB / 411.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.4236, allocations: 63.41 kB / 412 MB, free: 13.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.4238, allocations: 174.2 kB / 412.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4239, allocations: 25.7 kB / 412.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.424, allocations: 166.6 kB / 412.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.424, allocations: 3.906 kB / 412.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-06/0.424, allocations: 0 / 412.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4242, allocations: 318.8 kB / 412.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.4243, allocations: 15.98 kB / 412.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.4244, allocations: 23.94 kB / 412.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.4245, allocations: 49.69 kB / 412.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.109e-06/0.4245, allocations: 3.953 kB / 412.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002289/0.4247, allocations: 107.4 kB / 412.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.4248, allocations: 37.69 kB / 412.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4248, allocations: 3.938 kB / 412.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4248, allocations: 0 / 412.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.4249, allocations: 4 kB / 412.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.16e-06/0.4249, allocations: 7.938 kB / 412.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.425, allocations: 3.906 kB / 412.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.425, allocations: 12 kB / 412.9 MB, free: 12.36 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001353/0.4252, allocations: 125.8 kB / 413.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4252, allocations: 11.86 kB / 413.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4254, allocations: 73.86 kB / 413.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-06/0.4255, allocations: 0 / 413.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-06/0.4255, allocations: 0 / 413.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-06/0.4255, allocations: 3.984 kB / 413.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.4257, allocations: 181.6 kB / 413.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4257, allocations: 4 kB / 413.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.4258, allocations: 7.953 kB / 413.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.2e-06/0.4258, allocations: 0 / 413.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4258, allocations: 0 / 413.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.203e-06/0.4258, allocations: 0 / 413.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-06/0.4258, allocations: 128 / 413.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.426, allocations: 96.95 kB / 413.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.4261, allocations: 100.9 kB / 413.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.4262, allocations: 7.938 kB / 413.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.4262, allocations: 8.281 kB / 413.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.4263, allocations: 4 kB / 413.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4263, allocations: 0 / 413.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4265, allocations: 152 kB / 413.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.4265, allocations: 0 / 413.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.4268, allocations: 27.98 kB / 413.7 MB, free: 11.47 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.001046/0.4279, allocations: 325.9 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4281, allocations: 107.3 kB / 414.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.888e-06/0.4282, allocations: 0 / 414.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.4282, allocations: 15.98 kB / 414.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.4285, allocations: 15.98 kB / 414.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.429, allocations: 235.3 kB / 414.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4294, allocations: 0.711 MB / 415.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.4295, allocations: 11.44 kB / 415.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.474e-06/0.4295, allocations: 0 / 415.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of Templates: time 0.00404/0.4335, allocations: 1.573 MB / 416.7 MB, free: 8.488 MB / 346.7 MB