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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.096e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2621, allocations: 48.7 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.3926, allocations: 75.14 MB / 395.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/0.3931, allocations: 75.95 kB / 395.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03544/0.4286, allocations: 4.572 MB / 399.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.308e-06/0.4286, allocations: 0 / 399.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.319e-05/0.4287, allocations: 0 / 399.8 MB, free: 0.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001/0.4297, allocations: 435.8 kB / 400.2 MB, free: 152 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.103e-05/0.4298, allocations: 8.031 kB / 400.2 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4299, allocations: 15.81 kB / 400.3 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.4306, allocations: 210.8 kB / 400.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4307, allocations: 4 kB / 400.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.4307, allocations: 4 kB / 400.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002147/0.431, allocations: 23.98 kB / 400.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.4312, allocations: 61.61 kB / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.4313, allocations: 0 / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.4313, allocations: 4 kB / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.052e-06/0.4314, allocations: 0 / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.4323, allocations: 313.2 kB / 400.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.4326, allocations: 50.56 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.4328, allocations: 16.98 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4328, allocations: 8.047 kB / 400.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.4331, allocations: 63.34 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.437e-06/0.4332, allocations: 0 / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001057/0.4342, allocations: 145.2 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.4343, allocations: 63.36 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.435, allocations: 209.7 kB / 401.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.4351, allocations: 29.69 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.4353, allocations: 166.8 kB / 401.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.4354, allocations: 23.66 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.4355, allocations: 0 / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.4357, allocations: 318.8 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.436, allocations: 39.88 kB / 402 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.4362, allocations: 28 kB / 402 MB, free: 14.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.4364, allocations: 32.09 kB / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.705e-06/0.4364, allocations: 0 / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006564/0.4371, allocations: 125.5 kB / 402.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.4372, allocations: 38.42 kB / 402.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.093e-06/0.4372, allocations: 0 / 402.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4373, allocations: 0 / 402.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.4375, allocations: 15.98 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.141e-06/0.4376, allocations: 0 / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.4377, allocations: 7.953 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.4378, allocations: 12 kB / 402.2 MB, free: 13.98 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 (10): * Single equations (assignments): 9 * 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.000179/0.438, allocations: 105 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.4381, allocations: 7.906 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.4388, allocations: 135.4 kB / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.084e-06/0.4389, allocations: 3.938 kB / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.062e-06/0.4389, allocations: 0 / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-06/0.4389, allocations: 0 / 402.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.4402, allocations: 403 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.636e-06/0.4402, allocations: 0 / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.4404, allocations: 15.94 kB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.7e-06/0.4404, allocations: 0 / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.4405, allocations: 4 kB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.505e-06/0.4405, allocations: 3.984 kB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.374e-06/0.4405, allocations: 384 / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.4412, allocations: 211.5 kB / 403.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4414, allocations: 92.95 kB / 403.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.4415, allocations: 8 kB / 403.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.4418, allocations: 3.984 kB / 403.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.4418, allocations: 8 kB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.4419, allocations: 4 kB / 403.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.4424, allocations: 172.2 kB / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.161e-06/0.4424, allocations: 0 / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009643/0.4434, allocations: 39.98 kB / 403.4 MB, free: 12.7 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 (10): * Single equations (assignments): 9 * 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.001573/0.445, allocations: 319.1 kB / 403.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4453, allocations: 131.3 kB / 403.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4453, allocations: 0 / 403.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.4454, allocations: 31.94 kB / 403.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.4457, allocations: 17.59 kB / 403.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.4462, allocations: 234.8 kB / 404.1 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4467, allocations: 0.7158 MB / 404.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.4467, allocations: 23.42 kB / 404.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.424e-06/0.4468, allocations: 0 / 404.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of Templates: time 0.00492/0.4517, allocations: 2.087 MB / 407 MB, free: 9.148 MB / 346.7 MB