Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.VectorDelay.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) 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.2_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09489, allocations: 44.49 MB / 309 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4916, allocations: 76.6 MB / 385.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.492, allocations: 70.95 kB / 385.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04202/0.534, allocations: 13.33 MB / 399 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5341, allocations: 0 / 399 MB, free: 13.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.5341, allocations: 11.69 kB / 399 MB, free: 13.5 MB / 314.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.001611/0.5357, allocations: 1.174 MB / 400.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5358, allocations: 7.781 kB / 400.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.536, allocations: 93.53 kB / 400.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.5367, allocations: 425.3 kB / 400.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.5367, allocations: 11.31 kB / 400.7 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.5368, allocations: 22.73 kB / 400.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/0.5378, allocations: 351.4 kB / 401 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5378, allocations: 0 / 401 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.5379, allocations: 10.69 kB / 401.1 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5379, allocations: 7.781 kB / 401.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.5385, allocations: 208.6 kB / 401.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.5403, allocations: 0.9581 MB / 402.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.5412, allocations: 312.4 kB / 402.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5412, allocations: 3.812 kB / 402.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009841/0.5422, allocations: 0.5784 MB / 403.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.5422, allocations: 0 / 403.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002895/0.5451, allocations: 1.373 MB / 404.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5453, allocations: 279.8 kB / 404.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.5482, allocations: 1.446 MB / 406.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.5484, allocations: 44.78 kB / 406.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-05/0.5485, allocations: 178.4 kB / 406.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5486, allocations: 67.83 kB / 406.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.5487, allocations: 7.156 kB / 406.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.5488, allocations: 327.1 kB / 406.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.5494, allocations: 200.2 kB / 407 MB, free: 9.059 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.55, allocations: 238.7 kB / 407.2 MB, free: 8.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.5506, allocations: 365.9 kB / 407.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5506, allocations: 0 / 407.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001832/0.5524, allocations: 0.8475 MB / 408.4 MB, free: 8.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.5526, allocations: 188.2 kB / 408.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5526, allocations: 3.938 kB / 408.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5526, allocations: 3.875 kB / 408.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-05/0.5527, allocations: 11.73 kB / 408.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5527, allocations: 4.094 kB / 408.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.5533, allocations: 37.7 kB / 408.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5534, allocations: 96.61 kB / 408.8 MB, free: 8.172 MB / 314.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.001492/0.5549, allocations: 0.7928 MB / 409.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.5551, allocations: 96.72 kB / 409.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/0.5558, allocations: 196.5 kB / 409.9 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5559, allocations: 3.906 kB / 409.9 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5559, allocations: 4 kB / 409.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5559, allocations: 0 / 409.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.5606, allocations: 1.872 MB / 411.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5607, allocations: 7.828 kB / 411.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.5607, allocations: 0 / 411.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5607, allocations: 0 / 411.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.5608, allocations: 34.19 kB / 411.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5609, allocations: 7.938 kB / 411.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5609, allocations: 0 / 411.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.5644, allocations: 1.293 MB / 413.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/0.5668, allocations: 0.5858 MB / 413.7 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.5672, allocations: 57.58 kB / 413.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.5683, allocations: 39.03 kB / 413.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.5687, allocations: 83.48 kB / 413.8 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/0.5689, allocations: 92.83 kB / 413.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003218/0.5721, allocations: 1.084 MB / 415 MB, free: 5.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.5722, allocations: 0 / 415 MB, free: 5.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001294/0.5735, allocations: 108.3 kB / 415.1 MB, free: 5.012 MB / 314.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.0003813/0.5739, allocations: 175.9 kB / 415.3 MB, free: 4.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.5763, allocations: 1.003 MB / 416.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5763, allocations: 0 / 416.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.5779, allocations: 0.8062 MB / 417.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.58, allocations: 221.6 kB / 417.3 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.5868, allocations: 2.394 MB / 419.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.5884, allocations: 1.093 MB / 420.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.5885, allocations: 15.03 kB / 420.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of SimCode: time 2.905e-06/0.5885, allocations: 0 / 420.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of Templates: time 0.01473/0.6032, allocations: 5.138 MB / 426 MB, free: 15.27 MB / 330.7 MB