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.Test27.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.Test27,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.Test27") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.3e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08514, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4291, allocations: 75.74 MB / 402.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.4293, allocations: 79.12 kB / 402.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.4445, allocations: 3.915 MB / 406.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.721e-06/0.4445, allocations: 0 / 406.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4446, allocations: 3.938 kB / 406.3 MB, free: 8.391 MB / 314.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.0003487/0.4449, allocations: 414.1 kB / 406.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.445, allocations: 7.594 kB / 406.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.445, allocations: 7.719 kB / 406.7 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.4452, allocations: 197.2 kB / 406.9 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4453, allocations: 4 kB / 406.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4453, allocations: 11.34 kB / 406.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.4454, allocations: 45.22 kB / 407 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4455, allocations: 3.844 kB / 407 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4455, allocations: 0 / 407 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-06/0.4455, allocations: 0 / 407 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.4456, allocations: 14.73 kB / 407 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.4459, allocations: 285.9 kB / 407.2 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4461, allocations: 52.66 kB / 407.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.4462, allocations: 16.53 kB / 407.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4462, allocations: 0 / 407.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.4463, allocations: 53.75 kB / 407.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.35e-06/0.4463, allocations: 3.984 kB / 407.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003651/0.4467, allocations: 118.3 kB / 407.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.4467, allocations: 55.41 kB / 407.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4469, allocations: 153.9 kB / 407.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4469, allocations: 25.7 kB / 407.7 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.447, allocations: 165.4 kB / 407.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.447, allocations: 11.62 kB / 407.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-06/0.4471, allocations: 7.844 kB / 407.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.4471, allocations: 314.8 kB / 408.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.4472, allocations: 22.34 kB / 408.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.4473, allocations: 23.31 kB / 408.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.4473, allocations: 55.56 kB / 408.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-06/0.4474, allocations: 0 / 408.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002226/0.4476, allocations: 126.6 kB / 408.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.4476, allocations: 37.27 kB / 408.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-06/0.4477, allocations: 0 / 408.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4477, allocations: 0 / 408.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.4477, allocations: 11.67 kB / 408.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-06/0.4478, allocations: 3.953 kB / 408.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.4478, allocations: 7.344 kB / 408.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4479, allocations: 11.78 kB / 408.5 MB, free: 6.402 MB / 314.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 5.285e-05/0.4479, allocations: 104.8 kB / 408.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.448, allocations: 7.625 kB / 408.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.4482, allocations: 89.7 kB / 408.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-06/0.4482, allocations: 0 / 408.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.523e-06/0.4482, allocations: 128 / 408.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-06/0.4482, allocations: 11.94 kB / 408.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.4486, allocations: 353.2 kB / 409.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4486, allocations: 3.875 kB / 409.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.4487, allocations: 3.875 kB / 409.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.374e-06/0.4487, allocations: 0 / 409.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4487, allocations: 7.375 kB / 409.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4487, allocations: 4.047 kB / 409.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-06/0.4487, allocations: 3.938 kB / 409.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.4489, allocations: 175.4 kB / 409.2 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.449, allocations: 84.89 kB / 409.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.449, allocations: 7.812 kB / 409.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.4491, allocations: 7.859 kB / 409.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.4491, allocations: 3.953 kB / 409.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4492, allocations: 3.562 kB / 409.4 MB, free: 5.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4493, allocations: 131.4 kB / 409.5 MB, free: 5.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4493, allocations: 0 / 409.5 MB, free: 5.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.4497, allocations: 32.97 kB / 409.5 MB, free: 5.566 MB / 314.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.00104/0.4507, allocations: 347.1 kB / 409.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.4509, allocations: 111.1 kB / 410 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.451, allocations: 3.938 kB / 410 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.451, allocations: 14.78 kB / 410 MB, free: 5.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4513, allocations: 15.64 kB / 410 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.4516, allocations: 168.1 kB / 410.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.4518, allocations: 0.7036 MB / 410.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.4519, allocations: 15.09 kB / 410.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of SimCode: time 2.221e-06/0.4519, allocations: 0 / 410.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of Templates: time 0.003564/0.4554, allocations: 1.702 MB / 412.6 MB, free: 3.582 MB / 314.7 MB