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.Test38.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.Test38,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.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.04e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.4131, allocations: 74.94 MB / 395 MB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4134, allocations: 71.95 kB / 395 MB, free: 5.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.4289, allocations: 3.799 MB / 398.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.4289, allocations: 0 / 398.8 MB, free: 1.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4289, allocations: 0 / 398.8 MB, free: 1.629 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.0004826/0.4294, allocations: 400 kB / 399.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4295, allocations: 8.031 kB / 399.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.4295, allocations: 8 kB / 399.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.4298, allocations: 209.8 kB / 399.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4299, allocations: 0 / 399.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.4299, allocations: 4 kB / 399.4 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.383e-05/0.43, allocations: 11.98 kB / 399.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.4301, allocations: 37.69 kB / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-06/0.4301, allocations: 0 / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4301, allocations: 0 / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-06/0.4301, allocations: 0 / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.4303, allocations: 170.1 kB / 399.7 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.4304, allocations: 34.5 kB / 399.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.4305, allocations: 8.922 kB / 399.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.4305, allocations: 7.938 kB / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.4307, allocations: 55.41 kB / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.207e-06/0.4307, allocations: 0 / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001935/0.4309, allocations: 61.58 kB / 399.8 MB, free: 484 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4309, allocations: 55.41 kB / 399.9 MB, free: 416 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.4311, allocations: 150.2 kB / 400 MB, free: 260 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4312, allocations: 25.7 kB / 400 MB, free: 228 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.4313, allocations: 162.6 kB / 400.2 MB, free: 64 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.4313, allocations: 3.906 kB / 400.2 MB, free: 60 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-06/0.4313, allocations: 4 kB / 400.2 MB, free: 56 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4315, allocations: 314.8 kB / 400.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.4316, allocations: 15.98 kB / 400.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.4316, allocations: 23.94 kB / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.741e-05/0.4317, allocations: 23.94 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/0.4317, allocations: 0 / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001909/0.4319, allocations: 69.69 kB / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.432, allocations: 38.48 kB / 400.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-06/0.432, allocations: 0 / 400.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.432, allocations: 0 / 400.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.4321, allocations: 7.984 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.346e-06/0.4321, allocations: 0 / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.4322, allocations: 7.938 kB / 400.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4322, allocations: 8 kB / 400.7 MB, free: 15.54 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 9.036e-05/0.4323, allocations: 104.9 kB / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.4324, allocations: 8.031 kB / 400.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.4326, allocations: 73.86 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.148e-06/0.4326, allocations: 12.03 kB / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-06/0.4326, allocations: 0 / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-06/0.4326, allocations: 3.984 kB / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.4328, allocations: 158.2 kB / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.4328, allocations: 0 / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.4329, allocations: 8 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.519e-06/0.4329, allocations: 3.953 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4329, allocations: 3.984 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.202e-06/0.4329, allocations: 8.016 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.55e-06/0.4329, allocations: 3.984 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.4331, allocations: 84.97 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.4332, allocations: 93 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4332, allocations: 7.953 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.657e-05/0.4333, allocations: 4 kB / 401.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.4333, allocations: 0 / 401.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4334, allocations: 4 kB / 401.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.4335, allocations: 127.8 kB / 401.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.4335, allocations: 0 / 401.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.4338, allocations: 20 kB / 401.4 MB, free: 14.73 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.0008456/0.4347, allocations: 267.9 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4349, allocations: 107.3 kB / 401.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.435, allocations: 0 / 401.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.435, allocations: 8 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4352, allocations: 21.34 kB / 401.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.4356, allocations: 147 kB / 402 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.436, allocations: 0.6963 MB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4361, allocations: 15.44 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.516e-06/0.4361, allocations: 4 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of Templates: time 0.003806/0.4399, allocations: 1.514 MB / 404.2 MB, free: 11.95 MB / 346.7 MB