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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.121/2.121, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.000465, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3606, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002185/0.3628, allocations: 1.345 MB / 370.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3643, allocations: 0.7164 MB / 371.3 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.3644, allocations: 7.938 kB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3646, allocations: 27.84 kB / 371.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3648, allocations: 31.95 kB / 371.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3649, allocations: 51.83 kB / 371.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3651, allocations: 71.84 kB / 371.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.3652, allocations: 7.984 kB / 371.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.3653, allocations: 35.86 kB / 371.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.3654, allocations: 35.83 kB / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3654, allocations: 0 / 371.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-05/0.3655, allocations: 24 kB / 371.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.3656, allocations: 19.92 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.3656, allocations: 45.58 kB / 371.6 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3658, allocations: 83.86 kB / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.703e-06/0.3658, allocations: 0 / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.652e-06/0.3659, allocations: 0 / 371.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.48e-06/0.3659, allocations: 0 / 371.7 MB, free: 8.184 MB / 298.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.0006008/0.3665, allocations: 447 kB / 372.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3665, allocations: 15.97 kB / 372.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.3666, allocations: 11.81 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3669, allocations: 201.7 kB / 372.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3669, allocations: 4 kB / 372.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3669, allocations: 7.984 kB / 372.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3671, allocations: 57.61 kB / 372.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3672, allocations: 7.844 kB / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3672, allocations: 0 / 372.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-06/0.3672, allocations: 3.953 kB / 372.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.3673, allocations: 19.98 kB / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3678, allocations: 300.9 kB / 372.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.368, allocations: 58.62 kB / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.368, allocations: 0 / 372.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.3682, allocations: 75.34 kB / 372.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.459e-06/0.3683, allocations: 0 / 372.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006738/0.3689, allocations: 181.4 kB / 373.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.369, allocations: 51.41 kB / 373.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3692, allocations: 186 kB / 373.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3693, allocations: 29.7 kB / 373.3 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3694, allocations: 158.6 kB / 373.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3694, allocations: 23.7 kB / 373.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.3695, allocations: 8 kB / 373.5 MB, free: 6.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3696, allocations: 314.8 kB / 373.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3698, allocations: 31.98 kB / 373.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3699, allocations: 49.69 kB / 373.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.37, allocations: 61.7 kB / 373.9 MB, free: 5.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-06/0.3701, allocations: 3.938 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003507/0.3704, allocations: 151.5 kB / 374.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.3705, allocations: 41.64 kB / 374.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.359e-06/0.3705, allocations: 4.031 kB / 374.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3705, allocations: 4 kB / 374.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3706, allocations: 23.94 kB / 374.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.07e-06/0.3707, allocations: 3.984 kB / 374.2 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.3707, allocations: 4 kB / 374.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3708, allocations: 4 kB / 374.2 MB, free: 5.441 MB / 298.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 () * Number of clocked 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.0001393/0.3709, allocations: 125.8 kB / 374.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.371, allocations: 19.88 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.371, allocations: 16.75 kB / 374.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-06/0.371, allocations: 4 kB / 374.3 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-06/0.3711, allocations: 3.938 kB / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3711, allocations: 96 / 374.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.3717, allocations: 407.1 kB / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3717, allocations: 0 / 374.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.3718, allocations: 8 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3718, allocations: 0 / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3718, allocations: 7.984 kB / 374.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.603e-06/0.3718, allocations: 7.969 kB / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-06/0.3718, allocations: 0 / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3722, allocations: 200.3 kB / 375 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3723, allocations: 101 kB / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.3723, allocations: 0 / 375.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3724, allocations: 4 kB / 375.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.3725, allocations: 11.98 kB / 375.1 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3725, allocations: 4 kB / 375.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3727, allocations: 135.2 kB / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.125e-06/0.3727, allocations: 0 / 375.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.3732, allocations: 28 kB / 375.2 MB, free: 4.273 MB / 298.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001491/0.3747, allocations: 449.8 kB / 375.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.3751, allocations: 151.4 kB / 375.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-06/0.3751, allocations: 0 / 375.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3752, allocations: 27.94 kB / 375.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3755, allocations: 20.17 kB / 375.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.3761, allocations: 271.7 kB / 376.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3765, allocations: 0.7004 MB / 376.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.3766, allocations: 19.42 kB / 376.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.518e-06/0.3766, allocations: 3.938 kB / 376.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of Templates: time 0.004519/0.3811, allocations: 1.873 MB / 378.7 MB, free: 0.7969 MB / 298.7 MB