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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 54.87 MB / 369.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002289/0.2905, allocations: 1.349 MB / 370.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.292, allocations: 0.7241 MB / 371.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.2921, allocations: 0 / 371.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.2924, allocations: 27.84 kB / 371.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.2926, allocations: 31.95 kB / 371.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2928, allocations: 59.75 kB / 371.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.293, allocations: 63.92 kB / 371.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.2931, allocations: 4 kB / 371.5 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2932, allocations: 43.83 kB / 371.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.2933, allocations: 27.86 kB / 371.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2934, allocations: 4 kB / 371.5 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2935, allocations: 31.97 kB / 371.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.2935, allocations: 19.92 kB / 371.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.2936, allocations: 37.64 kB / 371.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2938, allocations: 91.8 kB / 371.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.639e-06/0.2938, allocations: 0 / 371.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2938, allocations: 0 / 371.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.032e-06/0.2939, allocations: 0 / 371.7 MB, free: 8.027 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.0006575/0.2945, allocations: 462.9 kB / 372.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2946, allocations: 8.031 kB / 372.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.2946, allocations: 15.91 kB / 372.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2949, allocations: 194.8 kB / 372.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.295, allocations: 7.938 kB / 372.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.295, allocations: 3.984 kB / 372.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.2952, allocations: 57.67 kB / 372.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2953, allocations: 0 / 372.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2953, allocations: 3.938 kB / 372.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2953, allocations: 3.953 kB / 372.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.2954, allocations: 23.98 kB / 372.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.2959, allocations: 288.9 kB / 372.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.2961, allocations: 62.56 kB / 372.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2962, allocations: 3.984 kB / 372.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.2964, allocations: 83.25 kB / 372.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.71e-06/0.2964, allocations: 0 / 372.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007412/0.2972, allocations: 181.2 kB / 373.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.2973, allocations: 51.41 kB / 373.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.2975, allocations: 195.2 kB / 373.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.2976, allocations: 37.69 kB / 373.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2977, allocations: 162.4 kB / 373.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2977, allocations: 23.66 kB / 373.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.2978, allocations: 4 kB / 373.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2979, allocations: 322.8 kB / 373.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2981, allocations: 27.98 kB / 373.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2982, allocations: 57.02 kB / 373.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2984, allocations: 61.69 kB / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-06/0.2984, allocations: 0 / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003749/0.2988, allocations: 155.6 kB / 374.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.2988, allocations: 41.69 kB / 374.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.587e-06/0.2988, allocations: 0 / 374.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2989, allocations: 0 / 374.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.299, allocations: 23.98 kB / 374.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.554e-06/0.299, allocations: 0 / 374.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.2991, allocations: 8 kB / 374.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.2992, allocations: 4 kB / 374.2 MB, free: 5.258 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.0001533/0.2993, allocations: 125.8 kB / 374.3 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.2994, allocations: 7.906 kB / 374.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.2994, allocations: 25.34 kB / 374.4 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2994, allocations: 7.938 kB / 374.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2995, allocations: 0 / 374.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-06/0.2995, allocations: 3.938 kB / 374.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.3001, allocations: 395.4 kB / 374.8 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3002, allocations: 3.938 kB / 374.8 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.3002, allocations: 8 kB / 374.8 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3002, allocations: 4.031 kB / 374.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3003, allocations: 8 kB / 374.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.997e-06/0.3003, allocations: 0 / 374.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-06/0.3003, allocations: 0 / 374.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3006, allocations: 204.2 kB / 375 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3007, allocations: 92.95 kB / 375.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3008, allocations: 11.98 kB / 375.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3009, allocations: 8.094 kB / 375.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.3009, allocations: 11.86 kB / 375.1 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.301, allocations: 4 kB / 375.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.3012, allocations: 144 kB / 375.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.3012, allocations: 0 / 375.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.3016, allocations: 27.98 kB / 375.3 MB, free: 4.086 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.001519/0.3031, allocations: 442.9 kB / 375.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.3035, allocations: 155.3 kB / 375.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.927e-06/0.3035, allocations: 0 / 375.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3036, allocations: 28 kB / 375.9 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3039, allocations: 15.98 kB / 375.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.3045, allocations: 287.9 kB / 376.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3049, allocations: 0.7082 MB / 376.9 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.305, allocations: 11.44 kB / 376.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of SimCode: time 1.68e-06/0.305, allocations: 4 kB / 376.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of Templates: time 0.004666/0.3097, allocations: 1.898 MB / 378.8 MB, free: 0.5703 MB / 298.7 MB