Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.72/2.72, allocations: 234.9 MB / 251.1 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 15.98 kB / 314.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3842, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5491, allocations: 82 MB / 451.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5495, allocations: 75.95 kB / 451.9 MB, free: 10.61 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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.04427/0.5938, allocations: 6.011 MB / 457.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.558e-06/0.5939, allocations: 0 / 457.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.5942, allocations: 11.94 kB / 457.9 MB, free: 4.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.002176/0.5963, allocations: 0.8367 MB / 458.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.5964, allocations: 8.031 kB / 458.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.5967, allocations: 47.44 kB / 458.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.5981, allocations: 471.2 kB / 459.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.5982, allocations: 8 kB / 459.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.5983, allocations: 4 kB / 459.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.5986, allocations: 92.06 kB / 459.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5986, allocations: 7.891 kB / 459.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.5987, allocations: 7.984 kB / 459.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.5987, allocations: 4 kB / 459.4 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.5989, allocations: 35.97 kB / 459.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.5997, allocations: 414.2 kB / 459.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.6003, allocations: 109.2 kB / 459.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.6004, allocations: 11.98 kB / 459.9 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.6007, allocations: 109 kB / 460 MB, free: 2.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.016e-06/0.6008, allocations: 0 / 460 MB, free: 2.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009457/0.6017, allocations: 221.3 kB / 460.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.6018, allocations: 81.11 kB / 460.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.6044, allocations: 0.9988 MB / 461.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.6045, allocations: 29.7 kB / 461.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.6048, allocations: 262.7 kB / 461.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.6049, allocations: 23.7 kB / 461.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.6049, allocations: 11.94 kB / 461.7 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6051, allocations: 322.8 kB / 462 MB, free: 232 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.6054, allocations: 59.97 kB / 462 MB, free: 172 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.6057, allocations: 95.39 kB / 462.1 MB, free: 64 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.6061, allocations: 131.4 kB / 462.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6061, allocations: 0 / 462.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008185/0.6069, allocations: 280.8 kB / 462.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.607, allocations: 67.39 kB / 462.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6071, allocations: 4.062 kB / 462.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.6071, allocations: 4 kB / 462.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.6073, allocations: 27.94 kB / 462.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6074, allocations: 4 kB / 462.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.6077, allocations: 27.77 kB / 462.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.6078, allocations: 12 kB / 462.7 MB, free: 15.47 MB / 394.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 () * Number of clocked 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.0004655/0.6083, allocations: 221.7 kB / 462.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6085, allocations: 55.34 kB / 462.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.6092, allocations: 205.6 kB / 463.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6092, allocations: 3.938 kB / 463.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6093, allocations: 3.953 kB / 463.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6093, allocations: 0 / 463.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.6099, allocations: 377.4 kB / 463.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.61, allocations: 3.984 kB / 463.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.6101, allocations: 12 kB / 463.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.6101, allocations: 0 / 463.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6101, allocations: 0 / 463.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.6101, allocations: 8 kB / 463.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6102, allocations: 0 / 463.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.6109, allocations: 237 kB / 463.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.6114, allocations: 204.3 kB / 464 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6116, allocations: 4 kB / 464 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.6118, allocations: 8.312 kB / 464 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.6118, allocations: 11.98 kB / 464 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.6119, allocations: 8 kB / 464 MB, free: 14.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00161/0.6135, allocations: 0.7447 MB / 464.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.6135, allocations: 0 / 464.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006366/0.6142, allocations: 107.9 kB / 464.9 MB, free: 13.18 MB / 394.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) * Number of clocked states: 0 () * 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.001871/0.6161, allocations: 0.5937 MB / 465.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008325/0.617, allocations: 298.6 kB / 465.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.617, allocations: 0 / 465.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.6172, allocations: 47.97 kB / 465.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.6178, allocations: 57.86 kB / 465.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.6204, allocations: 1.035 MB / 466.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.6211, allocations: 0.8585 MB / 467.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.6214, allocations: 35.44 kB / 467.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6214, allocations: 4 kB / 467.8 MB, free: 10.26 MB / 394.7 MB Notification: Performance of Templates: time 0.0161/0.6375, allocations: 5.897 MB / 473.7 MB, free: 4.355 MB / 394.7 MB