Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.717e-05, allocations: 4 kB / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 38.76 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.3197, allocations: 71.21 MB / 338.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.3199, allocations: 63.97 kB / 338.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04348/0.3634, allocations: 13.35 MB / 352.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3635, allocations: 0 / 352.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.3635, allocations: 12 kB / 352.2 MB, free: 4.668 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001424/0.365, allocations: 1.018 MB / 353.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.365, allocations: 8.031 kB / 353.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.3652, allocations: 102.8 kB / 353.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.3659, allocations: 416.8 kB / 353.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.366, allocations: 16 kB / 353.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.3661, allocations: 20 kB / 353.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.3668, allocations: 336 kB / 354.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.515e-06/0.3669, allocations: 0 / 354.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.3669, allocations: 8 kB / 354.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.367, allocations: 4 kB / 354.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.3674, allocations: 191.8 kB / 354.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.3694, allocations: 0.9702 MB / 355.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.37, allocations: 303.9 kB / 355.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.3705, allocations: 258.5 kB / 355.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3706, allocations: 11.92 kB / 355.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009321/0.3715, allocations: 0.5701 MB / 356.4 MB, free: 168 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.67e-06/0.3715, allocations: 0 / 356.4 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.1809/0.5525, allocations: 0.8882 MB / 357.3 MB, free: 79.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5526, allocations: 278 kB / 357.6 MB, free: 79.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.5553, allocations: 1.274 MB / 358.8 MB, free: 79.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.5554, allocations: 43.56 kB / 358.9 MB, free: 79.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.5555, allocations: 179.4 kB / 359.1 MB, free: 79.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.5556, allocations: 64.98 kB / 359.1 MB, free: 78.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.5557, allocations: 14.8 kB / 359.1 MB, free: 78.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.5558, allocations: 322.6 kB / 359.5 MB, free: 78.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.5562, allocations: 201.6 kB / 359.6 MB, free: 78.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.5566, allocations: 233.5 kB / 359.9 MB, free: 78.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.5571, allocations: 360.6 kB / 360.2 MB, free: 78.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5571, allocations: 7.375 kB / 360.2 MB, free: 78.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001465/0.5586, allocations: 0.8149 MB / 361.1 MB, free: 78.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5587, allocations: 192.3 kB / 361.2 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5587, allocations: 3.188 kB / 361.2 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5588, allocations: 0 / 361.2 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.822e-05/0.5588, allocations: 2.594 kB / 361.2 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.836e-06/0.5588, allocations: 4.422 kB / 361.2 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5593, allocations: 38.48 kB / 361.3 MB, free: 78.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.5594, allocations: 85.91 kB / 361.4 MB, free: 78.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.000291/0.5597, allocations: 358.2 kB / 361.7 MB, free: 77.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.5599, allocations: 103.2 kB / 361.8 MB, free: 77.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005514/0.5604, allocations: 193.3 kB / 362 MB, free: 77.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-06/0.5605, allocations: 3.844 kB / 362 MB, free: 77.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5605, allocations: 3.844 kB / 362 MB, free: 77.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.007e-06/0.5605, allocations: 3.562 kB / 362 MB, free: 77.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.5633, allocations: 1.835 MB / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-06/0.5633, allocations: 0 / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.5633, allocations: 3.531 kB / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.087e-06/0.5633, allocations: 3.938 kB / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.5634, allocations: 29.14 kB / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.156e-06/0.5634, allocations: 0 / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.165e-06/0.5635, allocations: 4.047 kB / 363.9 MB, free: 76.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.5652, allocations: 1.266 MB / 365.2 MB, free: 76.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.5665, allocations: 0.5935 MB / 365.8 MB, free: 75.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.5667, allocations: 55.67 kB / 365.8 MB, free: 75.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.5673, allocations: 40.14 kB / 365.8 MB, free: 75.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.5676, allocations: 78.19 kB / 365.9 MB, free: 75.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.5677, allocations: 103.7 kB / 366 MB, free: 75.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.5697, allocations: 1.073 MB / 367.1 MB, free: 75.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.8e-07/0.5697, allocations: 0 / 367.1 MB, free: 75.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00151/0.5712, allocations: 104.6 kB / 367.2 MB, free: 75.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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 Backend phase and start with SimCode phase: time 0.0004709/0.5717, allocations: 184.8 kB / 367.4 MB, free: 75.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.5744, allocations: 0.9765 MB / 368.4 MB, free: 74.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7e-06/0.5745, allocations: 3.531 kB / 368.4 MB, free: 74.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.5761, allocations: 0.7942 MB / 369.2 MB, free: 73.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.5786, allocations: 214.2 kB / 369.4 MB, free: 73.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.586, allocations: 1.882 MB / 371.2 MB, free: 71.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.5881, allocations: 1.101 MB / 372.3 MB, free: 70.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.5882, allocations: 11.44 kB / 372.4 MB, free: 70.86 MB / 298.7 MB Notification: Performance of SimCode: time 3.011e-06/0.5882, allocations: 3.125 kB / 372.4 MB, free: 70.86 MB / 298.7 MB Notification: Performance of Templates: time 0.01692/0.6052, allocations: 5.114 MB / 377.5 MB, free: 66.54 MB / 298.7 MB