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.Test1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.95e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3182, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4426, allocations: 82.06 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4429, allocations: 75.95 kB / 446.7 MB, free: 14.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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.02055/0.4635, allocations: 4.857 MB / 451.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.816e-06/0.4635, allocations: 0 / 451.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4635, allocations: 8 kB / 451.5 MB, free: 9.52 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.0006157/0.4641, allocations: 465.6 kB / 452 MB, free: 9.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4642, allocations: 15.97 kB / 452 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.4643, allocations: 19.75 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.4647, allocations: 222.7 kB / 452.2 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4647, allocations: 0 / 452.2 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.4647, allocations: 8 kB / 452.3 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.4649, allocations: 53.67 kB / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4649, allocations: 0 / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.4649, allocations: 3.953 kB / 452.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.465e-06/0.465, allocations: 0 / 452.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.4651, allocations: 20 kB / 452.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.4656, allocations: 332.8 kB / 452.7 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.4658, allocations: 54.69 kB / 452.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.4658, allocations: 21.83 kB / 452.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.4659, allocations: 3.953 kB / 452.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.466, allocations: 76.33 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.667e-06/0.4661, allocations: 0 / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005688/0.4666, allocations: 165.1 kB / 453 MB, free: 7.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4667, allocations: 59.34 kB / 453 MB, free: 7.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.4671, allocations: 229.8 kB / 453.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.4671, allocations: 37.69 kB / 453.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4672, allocations: 170.5 kB / 453.5 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4673, allocations: 24.41 kB / 453.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.4673, allocations: 4 kB / 453.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4675, allocations: 322.8 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4676, allocations: 32 kB / 453.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4677, allocations: 53.7 kB / 453.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4679, allocations: 69.69 kB / 453.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-06/0.4679, allocations: 0 / 453.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003653/0.4682, allocations: 172 kB / 454.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.4683, allocations: 41.72 kB / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.949e-06/0.4683, allocations: 192 / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4683, allocations: 0 / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4685, allocations: 23.97 kB / 454.2 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.795e-06/0.4685, allocations: 4 kB / 454.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.4686, allocations: 8 kB / 454.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4686, allocations: 4 kB / 454.2 MB, free: 6.609 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.0001117/0.4688, allocations: 115.5 kB / 454.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4688, allocations: 19.77 kB / 454.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4692, allocations: 127.1 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-06/0.4692, allocations: 1.406 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.101e-06/0.4692, allocations: 0 / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-06/0.4692, allocations: 0 / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.4699, allocations: 435.2 kB / 454.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.322e-06/0.4699, allocations: 3.984 kB / 454.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.47, allocations: 8 kB / 454.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.387e-06/0.47, allocations: 8.031 kB / 454.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.47, allocations: 0 / 454.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-06/0.47, allocations: 0 / 454.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-06/0.4701, allocations: 4 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.4704, allocations: 223.2 kB / 455.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4705, allocations: 109 kB / 455.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.4706, allocations: 8 kB / 455.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4707, allocations: 0 / 455.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.4708, allocations: 15.91 kB / 455.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4708, allocations: 8 kB / 455.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.4711, allocations: 192 kB / 455.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4711, allocations: 0 / 455.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004086/0.4715, allocations: 43.84 kB / 455.5 MB, free: 5.199 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.00143/0.4729, allocations: 428.9 kB / 455.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.4733, allocations: 159.3 kB / 456.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.262e-06/0.4733, allocations: 4 kB / 456.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.4734, allocations: 35.92 kB / 456.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.4737, allocations: 20.12 kB / 456.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.4743, allocations: 256.3 kB / 456.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4748, allocations: 0.7199 MB / 457.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.4748, allocations: 23.42 kB / 457.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of SimCode: time 1.605e-06/0.4749, allocations: 0 / 457.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of Templates: time 0.005012/0.4799, allocations: 2.142 MB / 459.3 MB, free: 1.438 MB / 378.7 MB