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.Test60.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.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004414, allocations: 12 kB / 314.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002245/0.2786, allocations: 1.353 MB / 370.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2808, allocations: 1.283 MB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.2809, allocations: 0 / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.2812, allocations: 23.86 kB / 371.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2814, allocations: 43.88 kB / 371.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2816, allocations: 55.81 kB / 372 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.2818, allocations: 67.86 kB / 372 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.2819, allocations: 4 kB / 372 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.282, allocations: 39.84 kB / 372.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2822, allocations: 35.83 kB / 372.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.2822, allocations: 3.938 kB / 372.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2824, allocations: 43.92 kB / 372.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.2824, allocations: 15.92 kB / 372.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2825, allocations: 45.69 kB / 372.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.2827, allocations: 91.8 kB / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2827, allocations: 0 / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.2827, allocations: 0 / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.882e-06/0.2827, allocations: 0 / 372.3 MB, free: 7.574 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.0006158/0.2834, allocations: 455 kB / 372.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2834, allocations: 12.03 kB / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.2835, allocations: 7.906 kB / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.2838, allocations: 199 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2838, allocations: 4 kB / 373 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.2838, allocations: 4 kB / 373 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.284, allocations: 71.33 kB / 373 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2841, allocations: 0 / 373 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2841, allocations: 7.984 kB / 373 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2841, allocations: 3.953 kB / 373 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.2842, allocations: 23.92 kB / 373.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.2847, allocations: 292.8 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2849, allocations: 54.69 kB / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.285, allocations: 0 / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.2852, allocations: 75.28 kB / 373.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.476e-06/0.2852, allocations: 4 kB / 373.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006718/0.2859, allocations: 173.2 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.286, allocations: 81.11 kB / 373.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.2862, allocations: 147 kB / 373.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2863, allocations: 29.7 kB / 373.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2864, allocations: 166.5 kB / 374.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.2864, allocations: 27.64 kB / 374.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.2864, allocations: 4 kB / 374.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2866, allocations: 318.8 kB / 374.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.2867, allocations: 27.98 kB / 374.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.2869, allocations: 58.06 kB / 374.5 MB, free: 5.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.287, allocations: 61.7 kB / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-06/0.287, allocations: 0 / 374.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.2874, allocations: 163.3 kB / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.2875, allocations: 37.75 kB / 374.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.541e-06/0.2875, allocations: 4 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2875, allocations: 0 / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2877, allocations: 19.92 kB / 374.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.502e-06/0.2877, allocations: 4 kB / 374.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.2878, allocations: 8.094 kB / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2878, allocations: 7.938 kB / 374.8 MB, free: 4.809 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.0001354/0.2879, allocations: 117.8 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.288, allocations: 11.86 kB / 374.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.288, allocations: 16.7 kB / 374.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-06/0.2881, allocations: 7.938 kB / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.272e-06/0.2881, allocations: 384 / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-06/0.2881, allocations: 0 / 374.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.2887, allocations: 395.2 kB / 375.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.016e-06/0.2888, allocations: 4 kB / 375.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.2888, allocations: 8 kB / 375.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.845e-06/0.2888, allocations: 0 / 375.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2889, allocations: 12.02 kB / 375.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2889, allocations: 0 / 375.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-06/0.2889, allocations: 3.938 kB / 375.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.2892, allocations: 204.4 kB / 375.6 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.2893, allocations: 93 kB / 375.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.2894, allocations: 4 kB / 375.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.2895, allocations: 12 kB / 375.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2895, allocations: 11.97 kB / 375.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.2896, allocations: 0 / 375.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.2897, allocations: 117.5 kB / 375.8 MB, free: 3.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.2897, allocations: 0 / 375.8 MB, free: 3.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.2901, allocations: 32 kB / 375.8 MB, free: 3.676 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.001839/0.292, allocations: 0.5244 MB / 376.3 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.2924, allocations: 151.4 kB / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2924, allocations: 0 / 376.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2926, allocations: 35.92 kB / 376.5 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2929, allocations: 23.88 kB / 376.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.2935, allocations: 235.9 kB / 376.8 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.2939, allocations: 0.7043 MB / 377.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.294, allocations: 19.44 kB / 377.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of SimCode: time 4.171e-06/0.294, allocations: 0 / 377.5 MB, free: 2.008 MB / 298.7 MB Notification: Performance of Templates: time 0.005044/0.299, allocations: 2.126 MB / 379.6 MB, free: 15.88 MB / 314.7 MB