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.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.182e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3755, allocations: 74.95 MB / 395 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3758, allocations: 67.95 kB / 395 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.392, allocations: 4.106 MB / 399.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.392, allocations: 0 / 399.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.3921, allocations: 7.984 kB / 399.1 MB, free: 1.223 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005083/0.3926, allocations: 419.2 kB / 399.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3926, allocations: 8.031 kB / 399.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.3927, allocations: 7.906 kB / 399.6 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.393, allocations: 218.7 kB / 399.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3931, allocations: 7.922 kB / 399.8 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3931, allocations: 4 kB / 399.8 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.112e-05/0.3932, allocations: 12 kB / 399.8 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.3933, allocations: 33.69 kB / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.292e-06/0.3933, allocations: 0 / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-06/0.3933, allocations: 0 / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.755e-06/0.3933, allocations: 4 kB / 399.8 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.3936, allocations: 178.1 kB / 400 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.3937, allocations: 26.58 kB / 400 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.3937, allocations: 12.92 kB / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3937, allocations: 3.984 kB / 400.1 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.3939, allocations: 55.34 kB / 400.1 MB, free: 100 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.319e-06/0.3939, allocations: 0 / 400.1 MB, free: 100 kB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002031/0.3941, allocations: 61.62 kB / 400.2 MB, free: 32 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3942, allocations: 51.41 kB / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3945, allocations: 226.5 kB / 400.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3946, allocations: 29.7 kB / 400.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.3948, allocations: 170.6 kB / 400.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3948, allocations: 11.83 kB / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-06/0.3948, allocations: 0 / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.395, allocations: 314.8 kB / 401 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.3951, allocations: 16 kB / 401 MB, free: 15.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.3951, allocations: 15.94 kB / 401 MB, free: 15.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.3952, allocations: 19.98 kB / 401 MB, free: 15.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-06/0.3952, allocations: 0 / 401 MB, free: 15.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002016/0.3954, allocations: 81.64 kB / 401.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.3955, allocations: 34.47 kB / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-06/0.3955, allocations: 0 / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3955, allocations: 0 / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.3956, allocations: 8 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.053e-06/0.3956, allocations: 0 / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.3957, allocations: 4 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3957, allocations: 0 / 401.1 MB, free: 15.02 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 (5): * Single equations (assignments): 4 * 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.0001022/0.3958, allocations: 109 kB / 401.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.3959, allocations: 23.77 kB / 401.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.3961, allocations: 75.17 kB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-06/0.3961, allocations: 8.062 kB / 401.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.817e-06/0.3962, allocations: 4 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-06/0.3962, allocations: 0 / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3964, allocations: 170.2 kB / 401.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-06/0.3964, allocations: 0 / 401.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.3964, allocations: 0 / 401.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.3965, allocations: 4 kB / 401.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3965, allocations: 7.891 kB / 401.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.282e-06/0.3965, allocations: 7.984 kB / 401.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.49e-06/0.3965, allocations: 0 / 401.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3967, allocations: 92.88 kB / 401.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.3968, allocations: 93 kB / 401.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.3969, allocations: 4 kB / 401.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3969, allocations: 7.953 kB / 401.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.397, allocations: 4 kB / 401.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-06/0.397, allocations: 0 / 401.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002295/0.3972, allocations: 177.2 kB / 401.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.3972, allocations: 0 / 401.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.3976, allocations: 39.92 kB / 401.9 MB, free: 14.12 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 (4): * Single equations (assignments): 3 * 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.0008339/0.3984, allocations: 274.2 kB / 402.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.3986, allocations: 91.39 kB / 402.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.639e-06/0.3987, allocations: 0 / 402.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.3987, allocations: 15.94 kB / 402.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.399, allocations: 25.53 kB / 402.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.3995, allocations: 210.5 kB / 402.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3999, allocations: 0.7119 MB / 403.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.4, allocations: 11.44 kB / 403.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.647e-06/0.4, allocations: 0 / 403.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of Templates: time 0.004218/0.4042, allocations: 1.712 MB / 405 MB, free: 11.05 MB / 346.7 MB