Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.833e-05, allocations: 8 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2723, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.4614, allocations: 81.25 MB / 439.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4616, allocations: 63.97 kB / 439.4 MB, free: 13.52 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02675/0.4884, allocations: 5.918 MB / 445.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.537e-06/0.4884, allocations: 0 / 445.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.4885, allocations: 4 kB / 445.3 MB, free: 7.586 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009789/0.4894, allocations: 0.7308 MB / 446 MB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4895, allocations: 12.03 kB / 446 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.4896, allocations: 51.44 kB / 446.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.4906, allocations: 475 kB / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4907, allocations: 0 / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4907, allocations: 8 kB / 446.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.4908, allocations: 27.98 kB / 446.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.491, allocations: 95.25 kB / 446.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-06/0.4911, allocations: 0 / 446.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4911, allocations: 4 kB / 446.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4911, allocations: 0 / 446.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.4916, allocations: 378.9 kB / 447 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.4919, allocations: 105.3 kB / 447.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.492, allocations: 33.72 kB / 447.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.492, allocations: 0 / 447.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.4922, allocations: 109.8 kB / 447.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/0.4923, allocations: 4 kB / 447.3 MB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004377/0.4927, allocations: 169 kB / 447.5 MB, free: 5.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.4928, allocations: 89.05 kB / 447.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.4944, allocations: 0.8965 MB / 448.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.4945, allocations: 29.7 kB / 448.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4947, allocations: 250.8 kB / 448.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.4948, allocations: 27.7 kB / 448.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.4948, allocations: 0 / 448.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.495, allocations: 322.8 kB / 449.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4951, allocations: 55.92 kB / 449.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.4953, allocations: 83.97 kB / 449.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4955, allocations: 63.91 kB / 449.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-06/0.4955, allocations: 0 / 449.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004931/0.496, allocations: 189.5 kB / 449.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/0.4961, allocations: 71.39 kB / 449.5 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-06/0.4961, allocations: 3.984 kB / 449.5 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4962, allocations: 0 / 449.5 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4963, allocations: 20 kB / 449.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.27e-06/0.4963, allocations: 0 / 449.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4965, allocations: 27.78 kB / 449.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.4966, allocations: 12 kB / 449.6 MB, free: 3.008 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.00012/0.4967, allocations: 116.9 kB / 449.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4969, allocations: 55.34 kB / 449.7 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.4973, allocations: 189.9 kB / 449.9 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-06/0.4973, allocations: 0 / 449.9 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4973, allocations: 4 kB / 449.9 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.271e-06/0.4974, allocations: 0 / 449.9 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.4978, allocations: 365.8 kB / 450.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-06/0.4979, allocations: 0 / 450.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.4979, allocations: 11.98 kB / 450.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.45e-06/0.498, allocations: 4 kB / 450.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.498, allocations: 4 kB / 450.3 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.498, allocations: 4.312 kB / 450.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.026e-06/0.498, allocations: 4 kB / 450.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.4984, allocations: 218.9 kB / 450.5 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.4988, allocations: 204.3 kB / 450.7 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.151e-05/0.4989, allocations: 4 kB / 450.7 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4991, allocations: 8 kB / 450.7 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.4991, allocations: 15.98 kB / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4992, allocations: 4 kB / 450.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.5003, allocations: 0.7019 MB / 451.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.5003, allocations: 0 / 451.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.5008, allocations: 107.9 kB / 451.6 MB, free: 0.9141 MB / 378.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001622/0.5024, allocations: 484.2 kB / 452 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.5029, allocations: 282.8 kB / 452.3 MB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.732e-06/0.5029, allocations: 3.938 kB / 452.3 MB, free: 216 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.5031, allocations: 40 kB / 452.4 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5035, allocations: 54.75 kB / 452.4 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.5051, allocations: 0.8115 MB / 453.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.5058, allocations: 0.8547 MB / 454.1 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5059, allocations: 39.42 kB / 454.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.541e-06/0.5059, allocations: 0 / 454.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01192/0.5179, allocations: 5.87 MB / 460 MB, free: 8.477 MB / 394.7 MB