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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 234.9 MB / 250.5 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 16 kB / 314.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2932, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002301/0.2955, allocations: 1.353 MB / 370.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2971, allocations: 0.7164 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.2972, allocations: 0 / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.2975, allocations: 27.86 kB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2977, allocations: 35.89 kB / 371.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.2979, allocations: 51.83 kB / 371.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.298, allocations: 71.84 kB / 371.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.2981, allocations: 7.984 kB / 371.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.2983, allocations: 39.84 kB / 371.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.2983, allocations: 31.84 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.2984, allocations: 4 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.2985, allocations: 24 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.2986, allocations: 19.91 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.2986, allocations: 37.64 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2988, allocations: 87.81 kB / 371.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.877e-06/0.2988, allocations: 0 / 371.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.2989, allocations: 0 / 371.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2989, allocations: 0 / 371.7 MB, free: 10.24 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.0006207/0.2995, allocations: 447 kB / 372.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2996, allocations: 8.031 kB / 372.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.2996, allocations: 23.81 kB / 372.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.2999, allocations: 198.8 kB / 372.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2999, allocations: 3.984 kB / 372.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3, allocations: 8 kB / 372.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3002, allocations: 57.67 kB / 372.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3002, allocations: 7.891 kB / 372.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3002, allocations: 7.875 kB / 372.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-06/0.3003, allocations: 3.953 kB / 372.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3004, allocations: 19.98 kB / 372.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3008, allocations: 296.9 kB / 372.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3011, allocations: 50.69 kB / 372.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.3011, allocations: 3.938 kB / 372.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3014, allocations: 83.33 kB / 372.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/0.3014, allocations: 0 / 372.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006947/0.3021, allocations: 173.2 kB / 373 MB, free: 8.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3021, allocations: 55.41 kB / 373.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3024, allocations: 190 kB / 373.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3024, allocations: 25.7 kB / 373.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3026, allocations: 162.6 kB / 373.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3026, allocations: 23.7 kB / 373.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-06/0.3026, allocations: 4 kB / 373.5 MB, free: 8.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3028, allocations: 318.8 kB / 373.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3029, allocations: 31.98 kB / 373.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3031, allocations: 46.95 kB / 373.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3032, allocations: 61.7 kB / 373.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3032, allocations: 0 / 373.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003645/0.3036, allocations: 159.2 kB / 374.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.3037, allocations: 41.67 kB / 374.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3037, allocations: 4 kB / 374.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3037, allocations: 0 / 374.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3039, allocations: 19.92 kB / 374.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.758e-06/0.3039, allocations: 4 kB / 374.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.304, allocations: 4 kB / 374.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.304, allocations: 8 kB / 374.2 MB, free: 7.488 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.0001454/0.3042, allocations: 125.8 kB / 374.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3042, allocations: 11.91 kB / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.3043, allocations: 16.67 kB / 374.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-06/0.3043, allocations: 4 kB / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3043, allocations: 0 / 374.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-06/0.3043, allocations: 3.938 kB / 374.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.305, allocations: 399.6 kB / 374.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-06/0.305, allocations: 96 / 374.7 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.3051, allocations: 15.94 kB / 374.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.429e-06/0.3051, allocations: 4.031 kB / 374.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3051, allocations: 11.98 kB / 374.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-06/0.3051, allocations: 0 / 374.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.3051, allocations: 3.938 kB / 374.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.3055, allocations: 200.4 kB / 375 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.3056, allocations: 92.95 kB / 375.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3056, allocations: 8 kB / 375.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3057, allocations: 4 kB / 375.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3058, allocations: 7.984 kB / 375.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3058, allocations: 4 kB / 375.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.306, allocations: 139.2 kB / 375.2 MB, free: 6.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.306, allocations: 0 / 375.2 MB, free: 6.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000379/0.3064, allocations: 28 kB / 375.2 MB, free: 6.324 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.001531/0.3079, allocations: 456.4 kB / 375.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.3083, allocations: 151.4 kB / 375.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.584e-06/0.3084, allocations: 0 / 375.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3085, allocations: 23.94 kB / 375.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3088, allocations: 23.23 kB / 375.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3094, allocations: 272 kB / 376.1 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3098, allocations: 0.7043 MB / 376.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.3099, allocations: 19.38 kB / 376.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.657e-06/0.3099, allocations: 4 kB / 376.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of Templates: time 0.004709/0.3146, allocations: 1.869 MB / 378.7 MB, free: 2.852 MB / 298.7 MB