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.Test46.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.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.000456, allocations: 16 kB / 282.5 MB, free: 9.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.08924, allocations: 48.71 MB / 331.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002181/0.09147, allocations: 1.298 MB / 332.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.09246, allocations: 416.6 kB / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.09254, allocations: 0 / 332.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.09279, allocations: 27.84 kB / 332.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.09299, allocations: 39.94 kB / 333 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.09323, allocations: 59.75 kB / 333 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.09341, allocations: 55.92 kB / 333.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.09351, allocations: 11.97 kB / 333.1 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.0936, allocations: 31.86 kB / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.09369, allocations: 31.89 kB / 333.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.09372, allocations: 4 kB / 333.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09384, allocations: 31.94 kB / 333.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.09391, allocations: 27.91 kB / 333.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.09397, allocations: 37.64 kB / 333.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.09419, allocations: 88.09 kB / 333.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.541e-06/0.0942, allocations: 0 / 333.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.09421, allocations: 0 / 333.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.376e-06/0.09423, allocations: 0 / 333.3 MB, free: 6.785 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.0006087/0.09485, allocations: 432.5 kB / 333.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.0949, allocations: 12.03 kB / 333.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.09496, allocations: 11.91 kB / 333.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.09523, allocations: 202.7 kB / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.09527, allocations: 15.92 kB / 334 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.0953, allocations: 0 / 334 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.09544, allocations: 41.69 kB / 334 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.09546, allocations: 0 / 334 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.09548, allocations: 0 / 334 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.0955, allocations: 4 kB / 334 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.09557, allocations: 11.98 kB / 334.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.09603, allocations: 300.8 kB / 334.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.09627, allocations: 42.5 kB / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.0963, allocations: 0 / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.09647, allocations: 51.5 kB / 334.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.508e-06/0.09649, allocations: 4 kB / 334.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004571/0.09696, allocations: 125.2 kB / 334.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.09702, allocations: 55.41 kB / 334.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.09736, allocations: 235.5 kB / 334.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.09741, allocations: 29.7 kB / 334.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.09754, allocations: 174.5 kB / 335.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.09758, allocations: 11.84 kB / 335.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.0976, allocations: 4 kB / 335.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.09777, allocations: 314.8 kB / 335.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.09785, allocations: 27.98 kB / 335.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.09791, allocations: 15.94 kB / 335.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.09801, allocations: 49.69 kB / 335.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-06/0.09803, allocations: 0 / 335.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002404/0.09828, allocations: 119.3 kB / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.09833, allocations: 29.7 kB / 335.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-06/0.09835, allocations: 0 / 335.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.09837, allocations: 96 / 335.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.09845, allocations: 23.8 kB / 335.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.09847, allocations: 0 / 335.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.09854, allocations: 8.281 kB / 335.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.09857, allocations: 4 kB / 335.6 MB, free: 4.23 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.0001528/0.09873, allocations: 133.8 kB / 335.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.09877, allocations: 15.89 kB / 335.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.09884, allocations: 20.98 kB / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-06/0.09886, allocations: 0 / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.09887, allocations: 0 / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-06/0.09888, allocations: 0 / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.09937, allocations: 362.4 kB / 336.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-06/0.0994, allocations: 0 / 336.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.09944, allocations: 4 kB / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-06/0.09946, allocations: 0 / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.25e-06/0.09948, allocations: 0 / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-06/0.09949, allocations: 0 / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-06/0.0995, allocations: 4 kB / 336.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.09973, allocations: 171.4 kB / 336.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.09982, allocations: 96.92 kB / 336.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.09986, allocations: 0 / 336.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.09996, allocations: 0 / 336.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1, allocations: 11.92 kB / 336.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.1, allocations: 4 kB / 336.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.1003, allocations: 189.1 kB / 336.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.74e-07/0.1003, allocations: 0 / 336.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.1007, allocations: 31.95 kB / 336.7 MB, free: 3.109 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.001168/0.1019, allocations: 374 kB / 337 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.1021, allocations: 99.39 kB / 337.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.154e-06/0.1021, allocations: 4 kB / 337.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.604e-05/0.1022, allocations: 19.88 kB / 337.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.1025, allocations: 16.17 kB / 337.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.1031, allocations: 287 kB / 337.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1035, allocations: 0.716 MB / 338.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.1036, allocations: 15.44 kB / 338.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of SimCode: time 1.486e-06/0.1036, allocations: 0 / 338.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of Templates: time 0.2084/0.312, allocations: 1.789 MB / 340 MB, free: 15.03 MB / 282.7 MB