Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.3 MB / 225.4 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 16 kB / 283.1 MB, free: 9.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.71 MB / 331.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.5073, allocations: 75.82 MB / 407.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5077, allocations: 71.97 kB / 407.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.5254, allocations: 3.925 MB / 411.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5255, allocations: 0 / 411.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.5255, allocations: 3.984 kB / 411.6 MB, free: 5.457 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005775/0.5261, allocations: 436.6 kB / 412.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5262, allocations: 8.031 kB / 412.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.5262, allocations: 7.906 kB / 412.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.5265, allocations: 197.7 kB / 412.3 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.5266, allocations: 7.984 kB / 412.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.5266, allocations: 8 kB / 412.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.5268, allocations: 41.69 kB / 412.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5268, allocations: 0 / 412.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5268, allocations: 7.984 kB / 412.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5268, allocations: 0 / 412.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.5269, allocations: 19.92 kB / 412.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.5274, allocations: 296.9 kB / 412.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.5277, allocations: 38.56 kB / 412.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.5277, allocations: 0 / 412.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.5278, allocations: 71.42 kB / 412.8 MB, free: 4.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5279, allocations: 0 / 412.8 MB, free: 4.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005111/0.5284, allocations: 121.2 kB / 412.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.5284, allocations: 51.41 kB / 412.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.5287, allocations: 177.5 kB / 413.1 MB, free: 3.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.5287, allocations: 29.7 kB / 413.1 MB, free: 3.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.5288, allocations: 158.6 kB / 413.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.5289, allocations: 15.81 kB / 413.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5289, allocations: 7.938 kB / 413.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.529, allocations: 318.8 kB / 413.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.5291, allocations: 16 kB / 413.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.5292, allocations: 27.92 kB / 413.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.5293, allocations: 57.69 kB / 413.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5293, allocations: 0 / 413.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000282/0.5296, allocations: 123.3 kB / 413.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.5297, allocations: 37.69 kB / 413.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5297, allocations: 0 / 413.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5297, allocations: 8 kB / 413.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.5298, allocations: 11.95 kB / 413.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5298, allocations: 0 / 413.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.5299, allocations: 0 / 413.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.5299, allocations: 4 kB / 413.9 MB, free: 2.961 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001256/0.5301, allocations: 121.8 kB / 414 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.5301, allocations: 7.906 kB / 414 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.5304, allocations: 93.92 kB / 414.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5304, allocations: 4 kB / 414.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5304, allocations: 3.953 kB / 414.1 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5305, allocations: 3.984 kB / 414.1 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.531, allocations: 354.5 kB / 414.5 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.531, allocations: 4 kB / 414.5 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.5311, allocations: 4 kB / 414.5 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5311, allocations: 0 / 414.5 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5311, allocations: 7.953 kB / 414.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5311, allocations: 192 / 414.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5311, allocations: 8 kB / 414.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.5314, allocations: 175.4 kB / 414.7 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.5315, allocations: 92.95 kB / 414.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.5315, allocations: 0 / 414.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.5316, allocations: 7.953 kB / 414.8 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5317, allocations: 7.922 kB / 414.8 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5317, allocations: 4 kB / 414.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.5319, allocations: 131.8 kB / 414.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5319, allocations: 0 / 414.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.5323, allocations: 35.98 kB / 414.9 MB, free: 1.805 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001052/0.5333, allocations: 370.5 kB / 415.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.5336, allocations: 115.4 kB / 415.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5336, allocations: 4 kB / 415.4 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.5337, allocations: 19.94 kB / 415.4 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.5341, allocations: 15.98 kB / 415.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.5346, allocations: 231.3 kB / 415.7 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.535, allocations: 0.7043 MB / 416.4 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.5351, allocations: 11.44 kB / 416.4 MB, free: 360 kB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5351, allocations: 0 / 416.4 MB, free: 360 kB / 330.7 MB Notification: Performance of Templates: time 0.005122/0.5402, allocations: 1.714 MB / 418.1 MB, free: 14.64 MB / 346.7 MB