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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004444, allocations: 19.94 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3784, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5146, allocations: 75.73 MB / 407.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.515, allocations: 71.95 kB / 407.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.5379, allocations: 5.446 MB / 413.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5379, allocations: 0 / 413.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/0.538, allocations: 4 kB / 413.1 MB, free: 13.19 MB / 346.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.001273/0.5393, allocations: 0.7422 MB / 413.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5393, allocations: 8.031 kB / 413.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.5395, allocations: 43.44 kB / 413.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.5408, allocations: 455.1 kB / 414.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.5408, allocations: 4 kB / 414.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5409, allocations: 4 kB / 414.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.5411, allocations: 67.39 kB / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.5411, allocations: 0 / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.5411, allocations: 0 / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5412, allocations: 0 / 414.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5413, allocations: 23.92 kB / 414.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006682/0.542, allocations: 382.3 kB / 414.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5422, allocations: 61.12 kB / 414.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.5422, allocations: 0 / 414.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.5424, allocations: 93.06 kB / 414.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.5425, allocations: 4 kB / 414.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005815/0.5431, allocations: 145.1 kB / 415.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.5431, allocations: 81.11 kB / 415.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.5452, allocations: 0.9517 MB / 416.1 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.5453, allocations: 33.69 kB / 416.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5455, allocations: 246.6 kB / 416.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.5456, allocations: 19.73 kB / 416.4 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.5456, allocations: 4 kB / 416.4 MB, free: 9.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5458, allocations: 330.7 kB / 416.7 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.5459, allocations: 35.98 kB / 416.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5461, allocations: 45.7 kB / 416.8 MB, free: 9.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5463, allocations: 103.4 kB / 416.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.5463, allocations: 0 / 416.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004543/0.5468, allocations: 193 kB / 417.1 MB, free: 8.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.5469, allocations: 67.39 kB / 417.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5469, allocations: 3.938 kB / 417.2 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5469, allocations: 4 kB / 417.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.547, allocations: 15.98 kB / 417.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5471, allocations: 0 / 417.2 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5472, allocations: 11.91 kB / 417.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.5473, allocations: 8 kB / 417.2 MB, free: 8.75 MB / 346.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003245/0.5476, allocations: 221.7 kB / 417.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5478, allocations: 47.44 kB / 417.5 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.5482, allocations: 153.1 kB / 417.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5482, allocations: 4 kB / 417.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5482, allocations: 4 kB / 417.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5482, allocations: 0 / 417.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.5487, allocations: 361.2 kB / 418 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5487, allocations: 7.984 kB / 418 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.5488, allocations: 7.938 kB / 418 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.5488, allocations: 4 kB / 418 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5489, allocations: 4 kB / 418 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5489, allocations: 128 / 418 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5489, allocations: 4 kB / 418 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.5493, allocations: 173.3 kB / 418.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.5497, allocations: 180.5 kB / 418.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.5498, allocations: 4 kB / 418.3 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5499, allocations: 8.094 kB / 418.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.55, allocations: 16.33 kB / 418.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.55, allocations: 4 kB / 418.4 MB, free: 7.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001365/0.5514, allocations: 0.7096 MB / 419.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5514, allocations: 0 / 419.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.5519, allocations: 99.92 kB / 419.2 MB, free: 6.656 MB / 346.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * 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.001353/0.5533, allocations: 484.2 kB / 419.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.5537, allocations: 206.7 kB / 419.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5537, allocations: 0 / 419.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.5538, allocations: 27.98 kB / 419.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.5543, allocations: 50.23 kB / 419.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5565, allocations: 0.9616 MB / 420.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.557, allocations: 0.839 MB / 421.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.5572, allocations: 35.44 kB / 421.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5572, allocations: 0 / 421.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of Templates: time 0.01358/0.5708, allocations: 5.37 MB / 427.1 MB, free: 14.69 MB / 362.7 MB