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.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 12 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3033, allocations: 54.87 MB / 369.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002188/0.3055, allocations: 1.303 MB / 370.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.307, allocations: 0.7007 MB / 371.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.3071, allocations: 7.938 kB / 371.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3074, allocations: 55.86 kB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3076, allocations: 43.88 kB / 371.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3078, allocations: 51.81 kB / 371.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3079, allocations: 63.86 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.308, allocations: 7.859 kB / 371.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.3081, allocations: 39.83 kB / 371.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3082, allocations: 39.83 kB / 371.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3083, allocations: 4 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.3084, allocations: 20 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.3084, allocations: 15.98 kB / 371.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3085, allocations: 37.64 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3087, allocations: 71.89 kB / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.738e-06/0.3087, allocations: 0 / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.728e-06/0.3087, allocations: 0 / 371.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.607e-06/0.3087, allocations: 3.938 kB / 371.7 MB, free: 10.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006008/0.3093, allocations: 447 kB / 372.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3094, allocations: 8.031 kB / 372.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3095, allocations: 7.906 kB / 372.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3097, allocations: 206.8 kB / 372.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3098, allocations: 3.984 kB / 372.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3098, allocations: 4 kB / 372.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.31, allocations: 53.61 kB / 372.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.31, allocations: 0 / 372.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.31, allocations: 0 / 372.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3101, allocations: 7.953 kB / 372.4 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.3102, allocations: 12 kB / 372.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.3104, allocations: 189.6 kB / 372.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.3106, allocations: 62.55 kB / 372.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3107, allocations: 0 / 372.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.3109, allocations: 59.39 kB / 372.7 MB, free: 9.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.321e-06/0.3109, allocations: 0 / 372.7 MB, free: 9.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003493/0.3113, allocations: 105.5 kB / 372.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.3113, allocations: 55.36 kB / 372.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3116, allocations: 190 kB / 373 MB, free: 8.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3116, allocations: 25.7 kB / 373.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3117, allocations: 162.6 kB / 373.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3118, allocations: 19.73 kB / 373.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-06/0.3118, allocations: 0 / 373.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.312, allocations: 322.8 kB / 373.6 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.3121, allocations: 23.98 kB / 373.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3122, allocations: 37.7 kB / 373.6 MB, free: 8.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3123, allocations: 53.7 kB / 373.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3124, allocations: 4 kB / 373.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000325/0.3127, allocations: 127.2 kB / 373.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.3128, allocations: 41.69 kB / 373.8 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.916e-06/0.3128, allocations: 0 / 373.8 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3128, allocations: 4.031 kB / 373.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.3129, allocations: 15.94 kB / 373.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-06/0.3129, allocations: 0 / 373.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.313, allocations: 11.89 kB / 373.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3131, allocations: 7.984 kB / 373.9 MB, free: 7.789 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 (8): * Single equations (assignments): 7 * 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.0001369/0.3132, allocations: 121.8 kB / 374 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3133, allocations: 16.16 kB / 374 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.3133, allocations: 12.3 kB / 374 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-06/0.3133, allocations: 0 / 374 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.408e-06/0.3133, allocations: 8 kB / 374 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-06/0.3134, allocations: 0 / 374 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3136, allocations: 189.5 kB / 374.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-06/0.3136, allocations: 0 / 374.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.3136, allocations: 4 kB / 374.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.077e-06/0.3136, allocations: 0 / 374.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-06/0.3137, allocations: 0 / 374.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-06/0.3137, allocations: 0 / 374.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3137, allocations: 0 / 374.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.314, allocations: 120.9 kB / 374.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.3141, allocations: 93 kB / 374.4 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3141, allocations: 4 kB / 374.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.3142, allocations: 0 / 374.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3142, allocations: 11.97 kB / 374.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3143, allocations: 3.938 kB / 374.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3144, allocations: 139.2 kB / 374.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.3144, allocations: 0 / 374.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.3147, allocations: 20 kB / 374.6 MB, free: 6.969 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001319/0.3161, allocations: 391.7 kB / 375 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.3164, allocations: 139.3 kB / 375.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.853e-06/0.3164, allocations: 0 / 375.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.3165, allocations: 19.98 kB / 375.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.3168, allocations: 19.94 kB / 375.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.3173, allocations: 235.1 kB / 375.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3177, allocations: 0.7082 MB / 376.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.3178, allocations: 11.44 kB / 376.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.586e-06/0.3178, allocations: 3.938 kB / 376.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of Templates: time 0.004203/0.322, allocations: 1.635 MB / 377.8 MB, free: 3.844 MB / 298.7 MB