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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 1.85/1.85, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.923e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08723/0.08728, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4312, allocations: 75.74 MB / 402.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4314, allocations: 74.86 kB / 402.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.4464, allocations: 3.864 MB / 406.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.151e-06/0.4464, allocations: 0 / 406.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4465, allocations: 8 kB / 406.2 MB, free: 8.551 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.0003709/0.4468, allocations: 406.8 kB / 406.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4469, allocations: 7.781 kB / 406.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.4469, allocations: 11.56 kB / 406.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.4472, allocations: 193.2 kB / 406.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4472, allocations: 0 / 406.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.4e-05/0.4472, allocations: 7.719 kB / 406.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.722e-05/0.4473, allocations: 48.2 kB / 406.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4474, allocations: 4 kB / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4474, allocations: 3.844 kB / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-06/0.4474, allocations: 0 / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.4475, allocations: 11.44 kB / 406.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.4478, allocations: 289.2 kB / 407.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.448, allocations: 48.75 kB / 407.2 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.4481, allocations: 16.08 kB / 407.2 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.4481, allocations: 7.594 kB / 407.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.4482, allocations: 54.3 kB / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.614e-06/0.4482, allocations: 0 / 407.3 MB, free: 7.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003783/0.4486, allocations: 116.3 kB / 407.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4487, allocations: 51.41 kB / 407.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4488, allocations: 150.2 kB / 407.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4489, allocations: 33.52 kB / 407.7 MB, free: 7.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.4489, allocations: 162.3 kB / 407.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.449, allocations: 11.66 kB / 407.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-06/0.449, allocations: 3.438 kB / 407.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.449, allocations: 314.8 kB / 408.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.4491, allocations: 22.31 kB / 408.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.4492, allocations: 21.81 kB / 408.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.4493, allocations: 56.03 kB / 408.2 MB, free: 6.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-06/0.4493, allocations: 3.938 kB / 408.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002211/0.4495, allocations: 122.2 kB / 408.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.4496, allocations: 36.95 kB / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.622e-06/0.4496, allocations: 0 / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4496, allocations: 0 / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.4497, allocations: 15.67 kB / 408.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.545e-06/0.4497, allocations: 11.94 kB / 408.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.4498, allocations: 0 / 408.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4498, allocations: 3.844 kB / 408.4 MB, free: 6.574 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.657e-05/0.4499, allocations: 108.3 kB / 408.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.4499, allocations: 11.88 kB / 408.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.4501, allocations: 82.3 kB / 408.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.755e-06/0.4502, allocations: 3.875 kB / 408.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.035e-06/0.4502, allocations: 0 / 408.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-06/0.4502, allocations: 7.938 kB / 408.6 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.4505, allocations: 348.4 kB / 409 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.845e-06/0.4506, allocations: 3.984 kB / 409 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.4506, allocations: 7.688 kB / 409 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.334e-06/0.4506, allocations: 4.094 kB / 409 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4507, allocations: 7.781 kB / 409 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.269e-06/0.4507, allocations: 3.953 kB / 409 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-06/0.4507, allocations: 0 / 409 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.4509, allocations: 178 kB / 409.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.4509, allocations: 88.58 kB / 409.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.451, allocations: 3.844 kB / 409.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.4511, allocations: 0 / 409.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.4511, allocations: 15.78 kB / 409.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4511, allocations: 0 / 409.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.4513, allocations: 125.7 kB / 409.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.4513, allocations: 0 / 409.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.4516, allocations: 35.17 kB / 409.4 MB, free: 5.727 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.0009928/0.4526, allocations: 359 kB / 409.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.4529, allocations: 109.3 kB / 409.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.654e-06/0.4529, allocations: 3.812 kB / 409.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.528e-05/0.4529, allocations: 18.03 kB / 409.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4532, allocations: 17.58 kB / 409.9 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.4536, allocations: 150.3 kB / 410.1 MB, free: 5.316 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.4537, allocations: 0.6959 MB / 410.8 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.4538, allocations: 19.27 kB / 410.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of SimCode: time 1.594e-06/0.4538, allocations: 0 / 410.8 MB, free: 4.598 MB / 314.7 MB Notification: Performance of Templates: time 0.003549/0.4574, allocations: 1.66 MB / 412.4 MB, free: 3.77 MB / 314.7 MB