Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.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) 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_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09589, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.495, allocations: 71.28 MB / 343.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.4953, allocations: 74.91 kB / 344 MB, free: 2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04626/0.5416, allocations: 13.3 MB / 357.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5417, allocations: 0 / 357.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.651e-05/0.5417, allocations: 12 kB / 357.3 MB, free: 6.648 MB / 282.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.001837/0.5436, allocations: 1.168 MB / 358.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.5436, allocations: 12.03 kB / 358.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.5438, allocations: 102.7 kB / 358.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.5446, allocations: 418.5 kB / 359 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.5447, allocations: 15.88 kB / 359 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.5448, allocations: 12 kB / 359 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.5458, allocations: 350.2 kB / 359.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5458, allocations: 0 / 359.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.5459, allocations: 11.69 kB / 359.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.5459, allocations: 4 kB / 359.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.5466, allocations: 211.3 kB / 359.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.5487, allocations: 0.9583 MB / 360.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.5496, allocations: 311.2 kB / 360.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5496, allocations: 3.953 kB / 360.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.5508, allocations: 0.5844 MB / 361.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/0.5509, allocations: 0 / 361.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.003336/0.5542, allocations: 1.368 MB / 362.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002485/0.5545, allocations: 276.8 kB / 363.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.5578, allocations: 1.456 MB / 364.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.558, allocations: 45.12 kB / 364.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5581, allocations: 118.8 kB / 364.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5583, allocations: 69.38 kB / 364.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.5583, allocations: 11.88 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5585, allocations: 333.8 kB / 365.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.5592, allocations: 199.5 kB / 365.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.5598, allocations: 243.1 kB / 365.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.5605, allocations: 362.7 kB / 365.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5606, allocations: 0 / 365.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002162/0.5627, allocations: 0.8532 MB / 366.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.5629, allocations: 192 kB / 366.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.563, allocations: 0 / 366.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.563, allocations: 8.094 kB / 366.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.563, allocations: 10.81 kB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5631, allocations: 0 / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.5636, allocations: 39.81 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.5638, allocations: 99.23 kB / 367.1 MB, free: 13.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * Number of discrete states: 0 () * Number of clocked 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.001556/0.5654, allocations: 0.7925 MB / 367.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.5656, allocations: 98.83 kB / 368 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.5661, allocations: 200.5 kB / 368.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5661, allocations: 4 kB / 368.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.5661, allocations: 3.984 kB / 368.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5662, allocations: 0 / 368.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.57, allocations: 1.872 MB / 370 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5701, allocations: 7.953 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.5701, allocations: 3.984 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.5701, allocations: 3.984 kB / 370 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.5702, allocations: 30.55 kB / 370.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.5702, allocations: 4 kB / 370.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5702, allocations: 3.984 kB / 370.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.5729, allocations: 1.279 MB / 371.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.5746, allocations: 0.5987 MB / 372 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.5749, allocations: 53.58 kB / 372 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/0.5755, allocations: 43 kB / 372.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.5758, allocations: 82.94 kB / 372.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.576, allocations: 91.23 kB / 372.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00246/0.5785, allocations: 1.081 MB / 373.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5785, allocations: 0 / 373.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007844/0.5793, allocations: 107.6 kB / 373.4 MB, free: 8.02 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) * Number of clocked states: 0 () * 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.0003401/0.5797, allocations: 181.6 kB / 373.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.5816, allocations: 1.001 MB / 374.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5817, allocations: 0 / 374.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.5829, allocations: 0.803 MB / 375.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.5849, allocations: 200.9 kB / 375.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.5918, allocations: 2.318 MB / 377.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.5937, allocations: 1.11 MB / 379 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.594, allocations: 25.91 kB / 379 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.594, allocations: 15.44 kB / 379.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.594, allocations: 0 / 379.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Templates: time 0.0246/0.6187, allocations: 8.181 MB / 387.2 MB, free: 10.75 MB / 314.7 MB