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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 234.9 MB / 250.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004525, allocations: 16 kB / 314.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2901, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002241/0.2924, allocations: 1.353 MB / 370.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2939, allocations: 0.7163 MB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.2939, allocations: 7.938 kB / 371.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.2942, allocations: 23.84 kB / 371.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2944, allocations: 27.95 kB / 371.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.2946, allocations: 55.81 kB / 371.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2947, allocations: 67.86 kB / 371.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.2948, allocations: 4 kB / 371.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.295, allocations: 43.84 kB / 371.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.295, allocations: 35.83 kB / 371.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2951, allocations: 0 / 371.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.2952, allocations: 24 kB / 371.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.2952, allocations: 15.92 kB / 371.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.2953, allocations: 41.69 kB / 371.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2955, allocations: 83.75 kB / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.581e-06/0.2955, allocations: 0 / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.147e-06/0.2955, allocations: 0 / 371.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2955, allocations: 0 / 371.7 MB, free: 10.23 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.0006136/0.2962, allocations: 451 kB / 372.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2962, allocations: 12.03 kB / 372.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2963, allocations: 7.906 kB / 372.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2965, allocations: 197.3 kB / 372.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2966, allocations: 4 kB / 372.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.2966, allocations: 3.984 kB / 372.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.2968, allocations: 57.67 kB / 372.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2968, allocations: 0 / 372.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2969, allocations: 3.938 kB / 372.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-06/0.2969, allocations: 11.89 kB / 372.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.297, allocations: 19.98 kB / 372.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.2975, allocations: 296.8 kB / 372.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2977, allocations: 58.67 kB / 372.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2977, allocations: 0 / 372.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.2979, allocations: 87.2 kB / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.402e-06/0.298, allocations: 0 / 372.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006652/0.2986, allocations: 173.3 kB / 373 MB, free: 8.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2987, allocations: 51.41 kB / 373.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2989, allocations: 169.6 kB / 373.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.299, allocations: 33.69 kB / 373.3 MB, free: 8.426 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2991, allocations: 166.5 kB / 373.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2991, allocations: 23.66 kB / 373.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.2992, allocations: 4 kB / 373.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2993, allocations: 318.8 kB / 373.8 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2994, allocations: 27.98 kB / 373.8 MB, free: 7.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2996, allocations: 45.7 kB / 373.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2997, allocations: 65.69 kB / 373.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-06/0.2998, allocations: 4 kB / 373.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003547/0.3001, allocations: 155.3 kB / 374.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.3002, allocations: 33.66 kB / 374.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3002, allocations: 0 / 374.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3002, allocations: 4 kB / 374.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.3004, allocations: 23.92 kB / 374.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.018e-06/0.3004, allocations: 0 / 374.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.3005, allocations: 4 kB / 374.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.3005, allocations: 4 kB / 374.1 MB, free: 7.523 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.0001465/0.3006, allocations: 135.1 kB / 374.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.3007, allocations: 11.81 kB / 374.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.3007, allocations: 16.67 kB / 374.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3008, allocations: 0 / 374.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.3008, allocations: 3.984 kB / 374.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3008, allocations: 7.922 kB / 374.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.3014, allocations: 387.3 kB / 374.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-06/0.3014, allocations: 4.031 kB / 374.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.3015, allocations: 11.98 kB / 374.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-06/0.3015, allocations: 0 / 374.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3015, allocations: 8 kB / 374.7 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.523e-06/0.3016, allocations: 0 / 374.7 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.443e-06/0.3016, allocations: 3.938 kB / 374.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.3019, allocations: 204.8 kB / 374.9 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.302, allocations: 96.95 kB / 375 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3021, allocations: 8 kB / 375 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3022, allocations: 7.984 kB / 375 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3022, allocations: 4 kB / 375 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.3023, allocations: 4.094 kB / 375 MB, free: 6.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3024, allocations: 131.2 kB / 375.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.3024, allocations: 0 / 375.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00036/0.3028, allocations: 28 kB / 375.2 MB, free: 6.367 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.001507/0.3043, allocations: 449.1 kB / 375.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3047, allocations: 151.3 kB / 375.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.791e-06/0.3047, allocations: 0 / 375.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3048, allocations: 31.94 kB / 375.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3051, allocations: 22.62 kB / 375.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.3057, allocations: 260.1 kB / 376.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3061, allocations: 0.7043 MB / 376.8 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.3062, allocations: 15.44 kB / 376.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of SimCode: time 1.446e-06/0.3062, allocations: 0 / 376.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of Templates: time 0.004521/0.3107, allocations: 1.851 MB / 378.7 MB, free: 2.926 MB / 298.7 MB