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.Test19.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.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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000624/0.0006243, allocations: 16 kB / 282.5 MB, free: 9.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08642, allocations: 48.71 MB / 331.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00212/0.08859, allocations: 1.294 MB / 332.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.08953, allocations: 408.8 kB / 332.9 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.0896, allocations: 7.875 kB / 332.9 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.08984, allocations: 23.95 kB / 332.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.09, allocations: 27.91 kB / 333 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.09024, allocations: 63.8 kB / 333 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.09039, allocations: 59.86 kB / 333.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.09049, allocations: 7.984 kB / 333.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.09057, allocations: 23.92 kB / 333.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.09066, allocations: 27.84 kB / 333.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.09069, allocations: 0 / 333.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.09081, allocations: 35.92 kB / 333.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.09086, allocations: 11.98 kB / 333.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.09092, allocations: 41.64 kB / 333.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.09112, allocations: 76.11 kB / 333.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.291e-06/0.09113, allocations: 0 / 333.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.09114, allocations: 4 kB / 333.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.339e-06/0.09116, allocations: 0 / 333.3 MB, free: 6.879 MB / 282.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.00055/0.09172, allocations: 408.7 kB / 333.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.09176, allocations: 8.031 kB / 333.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.09182, allocations: 7.906 kB / 333.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.09208, allocations: 202.1 kB / 333.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.09211, allocations: 0 / 333.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.09215, allocations: 4 kB / 333.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.09229, allocations: 49.67 kB / 334 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.09232, allocations: 0 / 334 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-06/0.09234, allocations: 0 / 334 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-06/0.09235, allocations: 0 / 334 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/0.09241, allocations: 8 kB / 334 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.09285, allocations: 284.8 kB / 334.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.09308, allocations: 46.5 kB / 334.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.09312, allocations: 3.984 kB / 334.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.09329, allocations: 59.48 kB / 334.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.09331, allocations: 0 / 334.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000447/0.09376, allocations: 117.3 kB / 334.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.09383, allocations: 59.36 kB / 334.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.09407, allocations: 174.3 kB / 334.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.09411, allocations: 25.7 kB / 334.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.09422, allocations: 154.6 kB / 334.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.09427, allocations: 23.73 kB / 334.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-06/0.09428, allocations: 0 / 334.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.09446, allocations: 318.8 kB / 335.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.09453, allocations: 19.92 kB / 335.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.09459, allocations: 23.94 kB / 335.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.09469, allocations: 49.7 kB / 335.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-06/0.0947, allocations: 0 / 335.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002315/0.09494, allocations: 111.4 kB / 335.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.095, allocations: 33.7 kB / 335.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.833e-06/0.09502, allocations: 3.938 kB / 335.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.09504, allocations: 4 kB / 335.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.09512, allocations: 15.92 kB / 335.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.393e-06/0.09514, allocations: 0 / 335.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.09521, allocations: 4.234 kB / 335.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.09523, allocations: 4 kB / 335.5 MB, free: 4.465 MB / 282.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 () * Number of clocked 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 0.0001268/0.09537, allocations: 121.8 kB / 335.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.09541, allocations: 11.89 kB / 335.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.09547, allocations: 16.3 kB / 335.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-06/0.09549, allocations: 0 / 335.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0955, allocations: 0 / 335.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-06/0.09551, allocations: 4 kB / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.09597, allocations: 334.5 kB / 336 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-06/0.09599, allocations: 0 / 336 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.09605, allocations: 15.98 kB / 336 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-06/0.09606, allocations: 0 / 336 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-06/0.09608, allocations: 0 / 336 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-06/0.0961, allocations: 4 kB / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.392e-06/0.09611, allocations: 3.953 kB / 336 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.09633, allocations: 163.5 kB / 336.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.09641, allocations: 85.09 kB / 336.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.09645, allocations: 7.938 kB / 336.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.09655, allocations: 4 kB / 336.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.09661, allocations: 12.08 kB / 336.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.09664, allocations: 8 kB / 336.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001432/0.09679, allocations: 134.6 kB / 336.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.0968, allocations: 0 / 336.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.09717, allocations: 28 kB / 336.4 MB, free: 3.43 MB / 282.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.001197/0.09838, allocations: 369 kB / 336.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.09863, allocations: 107.3 kB / 336.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.009e-06/0.09865, allocations: 0 / 336.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.264e-05/0.09871, allocations: 19.94 kB / 336.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.09899, allocations: 15.98 kB / 336.9 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.0995, allocations: 222.8 kB / 337.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.09991, allocations: 0.6965 MB / 337.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.09997, allocations: 15.44 kB / 337.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of SimCode: time 1.486e-06/0.09999, allocations: 0 / 337.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of Templates: time 0.004251/0.1042, allocations: 1.653 MB / 339.5 MB, free: 368 kB / 282.7 MB