Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 2.298/2.298, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003627, allocations: 19.92 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1039, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5691, allocations: 76.6 MB / 385.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5694, allocations: 72.03 kB / 385.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04727/0.6167, allocations: 13.33 MB / 399.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6167, allocations: 5.25 kB / 399.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.219e-05/0.6168, allocations: 10.69 kB / 399.1 MB, free: 13.95 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.002774/0.6196, allocations: 1.18 MB / 400.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.6197, allocations: 11.78 kB / 400.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.62, allocations: 97.38 kB / 400.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6212, allocations: 418 kB / 400.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.6213, allocations: 18.88 kB / 400.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6214, allocations: 15 kB / 400.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6227, allocations: 347.6 kB / 401.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6227, allocations: 2.812 kB / 401.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.6228, allocations: 7.625 kB / 401.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6228, allocations: 0 / 401.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.6237, allocations: 202.1 kB / 401.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.6267, allocations: 0.9651 MB / 402.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.6282, allocations: 311.2 kB / 402.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6282, allocations: 0 / 402.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005518/0.6338, allocations: 0.5871 MB / 403.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 4.338e-06/0.6338, allocations: 0 / 403.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.004215/0.6381, allocations: 1.368 MB / 404.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.6383, allocations: 283.3 kB / 404.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/0.6513, allocations: 1.437 MB / 406.3 MB, free: 9.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.6515, allocations: 40.77 kB / 406.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6517, allocations: 124.7 kB / 406.4 MB, free: 9.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6519, allocations: 67.86 kB / 406.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.652, allocations: 11.75 kB / 406.5 MB, free: 9.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6521, allocations: 343.2 kB / 406.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.6529, allocations: 192.5 kB / 407 MB, free: 9.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.6574, allocations: 243.6 kB / 407.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.6585, allocations: 364.6 kB / 407.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6585, allocations: 0 / 407.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003112/0.6617, allocations: 0.8546 MB / 408.5 MB, free: 8.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.6619, allocations: 189.2 kB / 408.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6619, allocations: 0 / 408.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.662, allocations: 3.906 kB / 408.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.662, allocations: 7.859 kB / 408.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.6621, allocations: 3.938 kB / 408.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.663, allocations: 46.09 kB / 408.7 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.6632, allocations: 92.19 kB / 408.8 MB, free: 8.387 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.002112/0.6654, allocations: 0.797 MB / 409.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.6657, allocations: 104.9 kB / 409.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.6665, allocations: 190.5 kB / 409.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.6666, allocations: 0 / 409.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6666, allocations: 3.906 kB / 409.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6666, allocations: 0 / 409.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.6721, allocations: 1.88 MB / 411.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.6722, allocations: 0 / 411.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.6722, allocations: 0 / 411.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6722, allocations: 7.781 kB / 411.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.6723, allocations: 26.36 kB / 411.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6724, allocations: 3.938 kB / 411.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6724, allocations: 3.969 kB / 411.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.6756, allocations: 1.291 MB / 413.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/0.678, allocations: 0.5905 MB / 413.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003814/0.6784, allocations: 57.14 kB / 413.8 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.6794, allocations: 39.16 kB / 413.8 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.6799, allocations: 85.38 kB / 413.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/0.6801, allocations: 100.1 kB / 414 MB, free: 5.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003314/0.6834, allocations: 1.083 MB / 415.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.403e-06/0.6835, allocations: 0 / 415.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001312/0.6848, allocations: 107.9 kB / 415.2 MB, free: 5.219 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.0003959/0.6852, allocations: 172.1 kB / 415.3 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.6877, allocations: 1.009 MB / 416.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6878, allocations: 0 / 416.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.6893, allocations: 0.7969 MB / 417.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.6915, allocations: 217 kB / 417.4 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.6984, allocations: 2.311 MB / 419.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.7001, allocations: 1.105 MB / 420.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.7004, allocations: 32.69 kB / 420.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.7005, allocations: 15.19 kB / 420.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7005, allocations: 0 / 420.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of Templates: time 0.02583/0.7263, allocations: 8.174 MB / 429 MB, free: 13.94 MB / 330.7 MB