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.Test68.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.2/2.2, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.156e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4858, allocations: 81.92 MB / 446.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4861, allocations: 68.56 kB / 446.5 MB, free: 14.48 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.02392/0.51, allocations: 5.937 MB / 452.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.928e-06/0.51, allocations: 0 / 452.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.5101, allocations: 8 kB / 452.5 MB, free: 8.566 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.0009849/0.5111, allocations: 0.7147 MB / 453.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5111, allocations: 12.03 kB / 453.2 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.5113, allocations: 47.44 kB / 453.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.5123, allocations: 463.1 kB / 453.7 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.5123, allocations: 8 kB / 453.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.5124, allocations: 11.94 kB / 453.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.5126, allocations: 91.31 kB / 453.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5126, allocations: 0 / 453.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5126, allocations: 0 / 453.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-06/0.5126, allocations: 0 / 453.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.5128, allocations: 35.97 kB / 453.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.5134, allocations: 410.2 kB / 454.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.5136, allocations: 101.5 kB / 454.4 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.5138, allocations: 33.72 kB / 454.4 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.5138, allocations: 7.922 kB / 454.4 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.514, allocations: 113.2 kB / 454.5 MB, free: 6.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.54e-06/0.5141, allocations: 0 / 454.5 MB, free: 6.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004804/0.5145, allocations: 180.9 kB / 454.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.5146, allocations: 77.11 kB / 454.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.5164, allocations: 0.8991 MB / 455.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.5165, allocations: 37.69 kB / 455.7 MB, free: 5.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.5167, allocations: 254.8 kB / 455.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.5168, allocations: 27.66 kB / 456 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-05/0.5168, allocations: 4 kB / 456 MB, free: 4.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.517, allocations: 318.8 kB / 456.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5172, allocations: 55.98 kB / 456.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.5174, allocations: 91.36 kB / 456.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.5176, allocations: 135.3 kB / 456.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-06/0.5176, allocations: 0 / 456.6 MB, free: 4.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005913/0.5182, allocations: 264.8 kB / 456.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.5183, allocations: 67.39 kB / 456.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.274e-06/0.5183, allocations: 4 kB / 456.9 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.5184, allocations: 7.938 kB / 456.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5186, allocations: 23.98 kB / 456.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.955e-06/0.5186, allocations: 3.938 kB / 456.9 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.5188, allocations: 31.89 kB / 457 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.5189, allocations: 8 kB / 457 MB, free: 3.762 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.0001293/0.519, allocations: 116.9 kB / 457.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5192, allocations: 51.34 kB / 457.1 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.5197, allocations: 201.6 kB / 457.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-06/0.5197, allocations: 0 / 457.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.004e-06/0.5197, allocations: 3.953 kB / 457.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.5197, allocations: 8 kB / 457.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.5203, allocations: 381.3 kB / 457.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-06/0.5203, allocations: 0 / 457.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.5204, allocations: 11.94 kB / 457.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.606e-06/0.5204, allocations: 3.938 kB / 457.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.5204, allocations: 7.984 kB / 457.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-06/0.5204, allocations: 0 / 457.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-06/0.5204, allocations: 0 / 457.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.5209, allocations: 227 kB / 458 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.5213, allocations: 188.5 kB / 458.1 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.5214, allocations: 7.984 kB / 458.1 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.5215, allocations: 12 kB / 458.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.5216, allocations: 15.88 kB / 458.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.5216, allocations: 4 kB / 458.2 MB, free: 2.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.5229, allocations: 0.7123 MB / 458.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.5229, allocations: 4 kB / 458.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005437/0.5235, allocations: 103.9 kB / 459 MB, free: 1.617 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.001983/0.5255, allocations: 0.5338 MB / 459.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.5261, allocations: 286.7 kB / 459.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.644e-06/0.5261, allocations: 4 kB / 459.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5262, allocations: 44.31 kB / 459.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.5267, allocations: 53.11 kB / 459.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.5285, allocations: 0.7881 MB / 460.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.5291, allocations: 0.8546 MB / 461.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.5293, allocations: 35.44 kB / 461.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.195e-06/0.5293, allocations: 0 / 461.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of Templates: time 0.01241/0.5417, allocations: 5.778 MB / 467.4 MB, free: 9.234 MB / 394.7 MB