Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.834/1.834, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08603, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/0.4219, allocations: 76.6 MB / 385.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4222, allocations: 68.25 kB / 385.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03569/0.4579, allocations: 13.33 MB / 398.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.563e-06/0.4579, allocations: 3.906 kB / 398.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.458, allocations: 7.75 kB / 398.5 MB, free: 17.45 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.001192/0.4592, allocations: 1.177 MB / 399.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4592, allocations: 7.75 kB / 399.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.4594, allocations: 93.09 kB / 399.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.46, allocations: 417.6 kB / 400.1 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.46, allocations: 15.31 kB / 400.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.4601, allocations: 22.75 kB / 400.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.4608, allocations: 346.5 kB / 400.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4608, allocations: 3.938 kB / 400.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.4609, allocations: 15.17 kB / 400.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4609, allocations: 1.75 kB / 400.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.4614, allocations: 204.2 kB / 400.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.4629, allocations: 0.9671 MB / 401.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.4634, allocations: 297.5 kB / 402 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4635, allocations: 7.75 kB / 402 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007825/0.4643, allocations: 0.5794 MB / 402.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.083e-06/0.4643, allocations: 3.938 kB / 402.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002297/0.4666, allocations: 1.344 MB / 403.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.4667, allocations: 279 kB / 404.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.4688, allocations: 1.28 MB / 405.5 MB, free: 14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.4689, allocations: 41.17 kB / 405.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.469, allocations: 180.9 kB / 405.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.514e-05/0.4691, allocations: 60.95 kB / 405.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.4692, allocations: 6.109 kB / 405.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.4692, allocations: 326.5 kB / 406.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.4697, allocations: 195.3 kB / 406.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.4702, allocations: 249.3 kB / 406.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.4706, allocations: 364.3 kB / 406.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.951e-06/0.4707, allocations: 3.938 kB / 406.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001567/0.4722, allocations: 0.8297 MB / 407.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4723, allocations: 192.3 kB / 407.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4724, allocations: 0 / 407.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.4724, allocations: 4.156 kB / 407.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.4724, allocations: 3.938 kB / 407.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.87e-06/0.4725, allocations: 7.812 kB / 407.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.4729, allocations: 42.38 kB / 408 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.473, allocations: 89.23 kB / 408 MB, free: 12.7 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.001124/0.4742, allocations: 0.8042 MB / 408.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.4743, allocations: 96.75 kB / 408.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.4747, allocations: 194.6 kB / 409.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.945e-06/0.4747, allocations: 7.734 kB / 409.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-06/0.4747, allocations: 0 / 409.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-06/0.4747, allocations: 0 / 409.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.4775, allocations: 1.841 MB / 411 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.4776, allocations: 7.938 kB / 411 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.4776, allocations: 3.984 kB / 411 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.4776, allocations: 0 / 411 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.4777, allocations: 30.92 kB / 411 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.4777, allocations: 7.938 kB / 411 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.469e-06/0.4777, allocations: 3.938 kB / 411 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4795, allocations: 1.296 MB / 412.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.4808, allocations: 0.584 MB / 412.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.481, allocations: 60.36 kB / 413 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.4815, allocations: 35.22 kB / 413 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.4818, allocations: 94.86 kB / 413.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.4819, allocations: 95.83 kB / 413.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001767/0.4837, allocations: 1.075 MB / 414.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.4837, allocations: 0 / 414.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007558/0.4845, allocations: 107.8 kB / 414.4 MB, free: 9.512 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.000236/0.4847, allocations: 176.6 kB / 414.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.4861, allocations: 1.003 MB / 415.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.517e-06/0.4862, allocations: 0 / 415.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000835/0.487, allocations: 0.809 MB / 416.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4881, allocations: 210.3 kB / 416.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.4918, allocations: 2.388 MB / 418.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.4928, allocations: 1.1 MB / 420 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.4928, allocations: 15.25 kB / 420.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of SimCode: time 2.323e-06/0.4929, allocations: 0 / 420.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Templates: time 0.007852/0.5007, allocations: 5.132 MB / 425.2 MB, free: 3.762 MB / 314.7 MB