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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.956e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.44, allocations: 81.36 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4403, allocations: 71.97 kB / 439.5 MB, free: 13.39 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.01824/0.4586, allocations: 4.427 MB / 443.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.4586, allocations: 0 / 443.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4586, allocations: 8 kB / 443.9 MB, free: 8.953 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.0005686/0.4592, allocations: 454.2 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4592, allocations: 8.031 kB / 444.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.4593, allocations: 15.91 kB / 444.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.4597, allocations: 203.4 kB / 444.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4597, allocations: 0 / 444.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.4597, allocations: 7.984 kB / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.774e-05/0.4598, allocations: 23.98 kB / 444.6 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.46, allocations: 49.67 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.46, allocations: 3.953 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.46, allocations: 0 / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-06/0.46, allocations: 4 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.4605, allocations: 297.3 kB / 445 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.4606, allocations: 50.62 kB / 445 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.4607, allocations: 16.98 kB / 445 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.4607, allocations: 4 kB / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.4609, allocations: 75.34 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.553e-06/0.4609, allocations: 0 / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000547/0.4615, allocations: 149.3 kB / 445.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4615, allocations: 51.41 kB / 445.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.4617, allocations: 166 kB / 445.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4618, allocations: 25.7 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.4619, allocations: 166.5 kB / 445.6 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.4619, allocations: 19.7 kB / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-06/0.462, allocations: 0 / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4621, allocations: 323.5 kB / 446 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.4622, allocations: 28 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.4623, allocations: 52.09 kB / 446.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.4625, allocations: 35.98 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-06/0.4625, allocations: 7.938 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003033/0.4628, allocations: 117.7 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.4628, allocations: 41.69 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.602e-06/0.4629, allocations: 7.984 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4629, allocations: 4 kB / 446.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.463, allocations: 15.94 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.017e-06/0.463, allocations: 0 / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.4631, allocations: 12.02 kB / 446.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4632, allocations: 11.94 kB / 446.3 MB, free: 6.332 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 9.864e-05/0.4633, allocations: 105 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4633, allocations: 11.81 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4636, allocations: 114.2 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-06/0.4636, allocations: 7.953 kB / 446.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.804e-06/0.4637, allocations: 0 / 446.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4637, allocations: 0 / 446.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.4642, allocations: 375.8 kB / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-06/0.4643, allocations: 0 / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.4643, allocations: 8 kB / 446.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.293e-06/0.4643, allocations: 7.938 kB / 446.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4644, allocations: 12.03 kB / 446.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4644, allocations: 0 / 446.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4644, allocations: 0 / 446.9 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.4647, allocations: 213.9 kB / 447.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.4648, allocations: 96.95 kB / 447.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4649, allocations: 4 kB / 447.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.465, allocations: 4 kB / 447.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.465, allocations: 11.98 kB / 447.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4651, allocations: 4 kB / 447.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.4652, allocations: 139.3 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.4652, allocations: 0 / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.4656, allocations: 28 kB / 447.4 MB, free: 5.105 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.001235/0.4669, allocations: 399.1 kB / 447.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.4672, allocations: 151.3 kB / 448 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4672, allocations: 0 / 448 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.4673, allocations: 35.97 kB / 448 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.4676, allocations: 16.59 kB / 448 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4681, allocations: 188.1 kB / 448.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.4685, allocations: 0.7159 MB / 448.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.4685, allocations: 15.44 kB / 448.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.4686, allocations: 3.938 kB / 448.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of Templates: time 0.004605/0.4732, allocations: 1.914 MB / 450.8 MB, free: 1.664 MB / 378.7 MB