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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 234.9 MB / 250.5 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004472, allocations: 12 kB / 314.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2956, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002317/0.298, allocations: 1.353 MB / 370.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2995, allocations: 0.7163 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.2996, allocations: 3.938 kB / 371.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.3, allocations: 91.73 kB / 371.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.3002, allocations: 63.89 kB / 371.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.3004, allocations: 51.83 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3006, allocations: 91.81 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.3007, allocations: 12 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3008, allocations: 47.83 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.301, allocations: 59.81 kB / 371.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.301, allocations: 0 / 371.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.3011, allocations: 27.98 kB / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.3012, allocations: 23.91 kB / 371.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.3013, allocations: 49.62 kB / 371.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3015, allocations: 104.5 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.742e-06/0.3015, allocations: 0 / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.3016, allocations: 4 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.486e-06/0.3016, allocations: 0 / 371.9 MB, free: 10.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006676/0.3023, allocations: 478 kB / 372.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3023, allocations: 12.03 kB / 372.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.3024, allocations: 7.906 kB / 372.4 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3027, allocations: 218.7 kB / 372.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.3027, allocations: 7.984 kB / 372.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3028, allocations: 4 kB / 372.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.303, allocations: 65.67 kB / 372.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.303, allocations: 0 / 372.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.303, allocations: 0 / 372.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-06/0.303, allocations: 7.953 kB / 372.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3032, allocations: 35.91 kB / 372.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.3037, allocations: 308.8 kB / 373 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.304, allocations: 74.67 kB / 373.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.304, allocations: 0 / 373.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.3043, allocations: 79.28 kB / 373.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.623e-06/0.3043, allocations: 0 / 373.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008064/0.3051, allocations: 225.2 kB / 373.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.3052, allocations: 55.39 kB / 373.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.3055, allocations: 240.1 kB / 373.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3056, allocations: 29.7 kB / 373.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3057, allocations: 174.5 kB / 373.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3058, allocations: 23.66 kB / 373.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.3058, allocations: 4 kB / 373.9 MB, free: 7.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.306, allocations: 318.8 kB / 374.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3061, allocations: 35.98 kB / 374.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.3063, allocations: 45.7 kB / 374.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3064, allocations: 77.69 kB / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.261e-06/0.3065, allocations: 3.938 kB / 374.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004319/0.3069, allocations: 163.3 kB / 374.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.307, allocations: 37.64 kB / 374.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-06/0.307, allocations: 4.234 kB / 374.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.307, allocations: 0 / 374.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3071, allocations: 27.92 kB / 374.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.449e-06/0.3072, allocations: 3.984 kB / 374.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.3073, allocations: 8.031 kB / 374.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3073, allocations: 4 kB / 374.6 MB, free: 7.078 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 (12): * Single equations (assignments): 11 * 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.0001624/0.3075, allocations: 139 kB / 374.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3075, allocations: 15.81 kB / 374.7 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.123e-05/0.3076, allocations: 25.34 kB / 374.8 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-06/0.3076, allocations: 4 kB / 374.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/0.3076, allocations: 0 / 374.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3076, allocations: 0 / 374.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.3084, allocations: 427.3 kB / 375.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-06/0.3084, allocations: 0 / 375.2 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.3085, allocations: 15.92 kB / 375.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.296e-06/0.3085, allocations: 4 kB / 375.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3085, allocations: 0 / 375.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.19e-06/0.3085, allocations: 0 / 375.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-06/0.3085, allocations: 0 / 375.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.3089, allocations: 224.4 kB / 375.4 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.309, allocations: 104.9 kB / 375.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3091, allocations: 7.938 kB / 375.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3092, allocations: 4 kB / 375.5 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3093, allocations: 15.97 kB / 375.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3093, allocations: 8 kB / 375.6 MB, free: 6.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.3095, allocations: 176.4 kB / 375.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.3096, allocations: 0 / 375.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.3099, allocations: 32 kB / 375.8 MB, free: 5.801 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 (9): * Single equations (assignments): 7 * 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.001542/0.3115, allocations: 448.5 kB / 376.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.312, allocations: 159.3 kB / 376.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.394e-06/0.312, allocations: 0 / 376.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3121, allocations: 35.92 kB / 376.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3125, allocations: 20.3 kB / 376.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3132, allocations: 332.6 kB / 376.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.3136, allocations: 0.7238 MB / 377.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.3137, allocations: 19.42 kB / 377.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of SimCode: time 1.736e-06/0.3137, allocations: 0 / 377.5 MB, free: 4.105 MB / 298.7 MB Notification: Performance of Templates: time 0.005042/0.3188, allocations: 2.098 MB / 379.6 MB, free: 2.012 MB / 298.7 MB