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.691/1.691, allocations: 171.2 MB / 186.8 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 11.98 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07097/0.07135, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3635, allocations: 71.29 MB / 343.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3638, allocations: 68.97 kB / 343.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04322/0.4071, allocations: 13.3 MB / 356.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4071, allocations: 0 / 356.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.4071, allocations: 12 kB / 356.7 MB, free: 7.246 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.00164/0.4088, allocations: 1.167 MB / 357.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4088, allocations: 8.031 kB / 357.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.4091, allocations: 102.7 kB / 358 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.4098, allocations: 419.8 kB / 358.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4099, allocations: 15.25 kB / 358.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.41, allocations: 15.62 kB / 358.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.4109, allocations: 346.5 kB / 358.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4109, allocations: 0 / 358.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.411, allocations: 11.56 kB / 358.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-06/0.411, allocations: 0 / 358.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.4116, allocations: 213.7 kB / 359 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4135, allocations: 0.963 MB / 359.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.4142, allocations: 313.1 kB / 360.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.4143, allocations: 3.953 kB / 360.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.4153, allocations: 0.5845 MB / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 3.207e-06/0.4153, allocations: 0 / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.003004/0.4183, allocations: 1.349 MB / 362.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/0.4186, allocations: 280.3 kB / 362.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.4214, allocations: 1.286 MB / 363.7 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4216, allocations: 37.69 kB / 363.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4217, allocations: 182.2 kB / 363.9 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.4219, allocations: 65.64 kB / 364 MB, free: 412 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.4219, allocations: 8 kB / 364 MB, free: 404 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.4221, allocations: 325.6 kB / 364.3 MB, free: 76 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.4227, allocations: 201 kB / 364.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.4233, allocations: 239 kB / 364.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.4239, allocations: 362.7 kB / 365.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.192e-06/0.4239, allocations: 0 / 365.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001896/0.4258, allocations: 0.8261 MB / 365.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.4261, allocations: 189.8 kB / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.847e-06/0.4261, allocations: 0 / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4261, allocations: 4 kB / 366.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.143e-05/0.4261, allocations: 11.61 kB / 366.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.721e-06/0.4262, allocations: 8.094 kB / 366.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.4266, allocations: 40.66 kB / 366.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.4268, allocations: 91.38 kB / 366.3 MB, free: 14.36 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.001436/0.4283, allocations: 0.7883 MB / 367.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.4285, allocations: 106.7 kB / 367.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006152/0.4291, allocations: 205.4 kB / 367.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-06/0.4291, allocations: 0 / 367.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-06/0.4292, allocations: 4.281 kB / 367.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.057e-06/0.4292, allocations: 4 kB / 367.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.4329, allocations: 1.845 MB / 369.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4329, allocations: 0 / 369.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.433, allocations: 7.891 kB / 369.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.142e-06/0.433, allocations: 4 kB / 369.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.4331, allocations: 30.05 kB / 369.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4331, allocations: 0 / 369.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4331, allocations: 4 kB / 369.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4355, allocations: 1.286 MB / 370.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.437, allocations: 0.5947 MB / 371.1 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.4372, allocations: 55.39 kB / 371.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.4377, allocations: 35.97 kB / 371.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.438, allocations: 82.77 kB / 371.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.4382, allocations: 91.23 kB / 371.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002355/0.4405, allocations: 1.081 MB / 372.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.4406, allocations: 0 / 372.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007882/0.4414, allocations: 107.9 kB / 372.6 MB, free: 8.758 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.0003027/0.4417, allocations: 182.7 kB / 372.8 MB, free: 8.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.4434, allocations: 0.9994 MB / 373.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.011e-06/0.4434, allocations: 0 / 373.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.4446, allocations: 0.7995 MB / 374.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4457, allocations: 216.6 kB / 374.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.4505, allocations: 2.391 MB / 377.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.4519, allocations: 1.104 MB / 378.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.452, allocations: 15.44 kB / 378.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of SimCode: time 1.562e-06/0.452, allocations: 0 / 378.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of Templates: time 0.01039/0.4624, allocations: 5.143 MB / 383.4 MB, free: 14.52 MB / 314.7 MB