Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.174e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3849, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.5583, allocations: 75.11 MB / 395.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.5586, allocations: 63.97 kB / 395.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.5757, allocations: 4.034 MB / 399.2 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.5758, allocations: 0 / 399.2 MB, free: 1.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5758, allocations: 0 / 399.2 MB, free: 1.242 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.0005048/0.5763, allocations: 415.9 kB / 399.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5764, allocations: 8.031 kB / 399.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.5764, allocations: 7.906 kB / 399.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.5767, allocations: 203.5 kB / 399.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5768, allocations: 4 kB / 399.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.5768, allocations: 4 kB / 399.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.276e-05/0.5769, allocations: 15.98 kB / 399.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.577, allocations: 37.69 kB / 399.9 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.577, allocations: 3.938 kB / 399.9 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5771, allocations: 3.984 kB / 399.9 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-06/0.5771, allocations: 3.938 kB / 399.9 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.5775, allocations: 277.4 kB / 400.2 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5777, allocations: 46.56 kB / 400.2 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.5778, allocations: 8.859 kB / 400.2 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.5778, allocations: 0 / 400.2 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/0.5779, allocations: 55.5 kB / 400.3 MB, free: 8 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.292e-06/0.5779, allocations: 0 / 400.3 MB, free: 8 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004396/0.5784, allocations: 113.2 kB / 400.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5785, allocations: 55.41 kB / 400.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5787, allocations: 166.8 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.5787, allocations: 29.7 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.5788, allocations: 158.6 kB / 400.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.5789, allocations: 15.8 kB / 400.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-06/0.5789, allocations: 0 / 400.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.579, allocations: 318.8 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.5791, allocations: 20 kB / 401.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.5792, allocations: 31.92 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/0.5793, allocations: 16 kB / 401.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-06/0.5793, allocations: 0 / 401.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002301/0.5795, allocations: 89.67 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.5796, allocations: 34.48 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-06/0.5796, allocations: 4 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5796, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.5797, allocations: 15.92 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.253e-06/0.5797, allocations: 0 / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.5798, allocations: 3.938 kB / 401.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.5798, allocations: 8 kB / 401.4 MB, free: 14.89 MB / 346.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 () * 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 9.588e-05/0.5799, allocations: 112.3 kB / 401.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.58, allocations: 11.84 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.5802, allocations: 86.14 kB / 401.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-06/0.5803, allocations: 0 / 401.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5803, allocations: 0 / 401.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.339e-06/0.5803, allocations: 3.984 kB / 401.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.5807, allocations: 339 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5808, allocations: 3.938 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.5808, allocations: 4 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.612e-06/0.5808, allocations: 4 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5809, allocations: 0 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-06/0.5809, allocations: 0 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-06/0.5809, allocations: 160 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.5811, allocations: 183.2 kB / 402.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.5812, allocations: 85.02 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.5813, allocations: 8 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.5814, allocations: 3.984 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.5814, allocations: 4 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.5814, allocations: 0 / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.5816, allocations: 135.2 kB / 402.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.5816, allocations: 0 / 402.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003718/0.582, allocations: 35.94 kB / 402.3 MB, free: 13.81 MB / 346.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) * 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.0009335/0.5829, allocations: 312.3 kB / 402.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.5832, allocations: 111.3 kB / 402.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.608e-06/0.5832, allocations: 0 / 402.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.615e-05/0.5833, allocations: 19.98 kB / 402.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.5835, allocations: 15.95 kB / 402.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.584, allocations: 171.8 kB / 403 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.5844, allocations: 0.7116 MB / 403.7 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.5844, allocations: 15.42 kB / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.514e-06/0.5845, allocations: 3.938 kB / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.00424/0.5887, allocations: 1.732 MB / 405.4 MB, free: 10.72 MB / 346.7 MB