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.Test30.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.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.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.16/2.16, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.238e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2754, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.3991, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3994, allocations: 71.95 kB / 439.5 MB, free: 13.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.01906/0.4185, allocations: 4.528 MB / 444 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.386e-06/0.4185, allocations: 0 / 444 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.4186, allocations: 0 / 444 MB, free: 8.824 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005817/0.4192, allocations: 449.5 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4192, allocations: 12.03 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.4193, allocations: 11.89 kB / 444.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.4197, allocations: 211.4 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4197, allocations: 4 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.4197, allocations: 4 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.318e-05/0.4198, allocations: 27.92 kB / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.42, allocations: 45.67 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.42, allocations: 7.953 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.42, allocations: 0 / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-06/0.42, allocations: 0 / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.4205, allocations: 293.3 kB / 445.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.4207, allocations: 54.62 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.4208, allocations: 16.98 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.4208, allocations: 0 / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.421, allocations: 71.34 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.468e-06/0.421, allocations: 0 / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005519/0.4216, allocations: 153.3 kB / 445.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.4217, allocations: 55.41 kB / 445.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.4219, allocations: 162 kB / 445.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.4219, allocations: 29.7 kB / 445.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.422, allocations: 162.5 kB / 445.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.4221, allocations: 19.72 kB / 445.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.4221, allocations: 4 kB / 445.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4223, allocations: 315.5 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.4224, allocations: 32 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.4225, allocations: 49.7 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4226, allocations: 39.98 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-06/0.4226, allocations: 0 / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003153/0.423, allocations: 125.6 kB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.423, allocations: 42.78 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.98e-06/0.423, allocations: 3.953 kB / 446.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4231, allocations: 0 / 446.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4232, allocations: 20.03 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.918e-06/0.4232, allocations: 0 / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.4233, allocations: 4 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4234, allocations: 7.984 kB / 446.4 MB, free: 6.215 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 (11): * Single equations (assignments): 10 * 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.0001164/0.4235, allocations: 112.9 kB / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.4235, allocations: 11.81 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.4238, allocations: 122.2 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.678e-06/0.4239, allocations: 3.953 kB / 446.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-06/0.4239, allocations: 4 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-06/0.4239, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.4245, allocations: 375.8 kB / 447 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4245, allocations: 0 / 447 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.4246, allocations: 16 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.169e-06/0.4246, allocations: 3.953 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4246, allocations: 3.984 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.837e-06/0.4246, allocations: 4 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-06/0.4246, allocations: 4.031 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.425, allocations: 209.9 kB / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4251, allocations: 101 kB / 447.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.4251, allocations: 0 / 447.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.4253, allocations: 4 kB / 447.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4253, allocations: 15.98 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4253, allocations: 4 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4255, allocations: 135.3 kB / 447.5 MB, free: 5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4255, allocations: 0 / 447.5 MB, free: 5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.4259, allocations: 32 kB / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001262/0.4272, allocations: 393.8 kB / 447.9 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.4275, allocations: 151.4 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.84e-06/0.4276, allocations: 0 / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.4276, allocations: 27.94 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.428, allocations: 23.52 kB / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.4284, allocations: 180 kB / 448.3 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.4289, allocations: 0.7159 MB / 449 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.4289, allocations: 15.44 kB / 449.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.429, allocations: 0 / 449.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of Templates: time 0.004829/0.4338, allocations: 1.926 MB / 451 MB, free: 1.535 MB / 378.7 MB