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.005/2.005, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003499, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 44.51 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002802/0.1451, allocations: 1.169 MB / 310.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1489, allocations: 0.863 MB / 311.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1491, allocations: 4 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1492, allocations: 11.92 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1494, allocations: 11.98 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1497, allocations: 43.81 kB / 311.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.1502, allocations: 159.7 kB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1504, allocations: 57.58 kB / 311.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.1511, allocations: 287.4 kB / 311.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.1515, allocations: 151.6 kB / 311.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1516, allocations: 8 kB / 311.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1518, allocations: 8 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1521, allocations: 183.4 kB / 312 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.1524, allocations: 149.2 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1538, allocations: 0.7912 MB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1538, allocations: 0 / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1538, allocations: 0 / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1538, allocations: 0 / 312.9 MB, free: 12.46 MB / 266.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.002269/0.1561, allocations: 1.146 MB / 314.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.1562, allocations: 8.031 kB / 314.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.1565, allocations: 102.7 kB / 314.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1578, allocations: 456.5 kB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.1579, allocations: 16 kB / 314.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1581, allocations: 16 kB / 314.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.1592, allocations: 300 kB / 315 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1593, allocations: 3.938 kB / 315 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.1594, allocations: 15.98 kB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1594, allocations: 3.938 kB / 315 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.1602, allocations: 159.9 kB / 315.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.1627, allocations: 0.9471 MB / 316.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.1637, allocations: 263.7 kB / 316.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1638, allocations: 7.938 kB / 316.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/0.1652, allocations: 0.5155 MB / 316.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 8.115e-06/0.1652, allocations: 0 / 316.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.004012/0.1693, allocations: 1.251 MB / 318.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.1695, allocations: 281 kB / 318.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004371/0.1739, allocations: 1.446 MB / 319.8 MB, free: 5.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.1741, allocations: 37.69 kB / 319.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1743, allocations: 118.6 kB / 320 MB, free: 4.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.1745, allocations: 75.33 kB / 320.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.1746, allocations: 12.84 kB / 320.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1748, allocations: 334.8 kB / 320.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.1756, allocations: 159.9 kB / 320.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.1763, allocations: 205 kB / 320.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.1772, allocations: 353.9 kB / 321.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1773, allocations: 0 / 321.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002668/0.18, allocations: 0.7765 MB / 321.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.1802, allocations: 186.2 kB / 322.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1803, allocations: 4 kB / 322.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1803, allocations: 7.891 kB / 322.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.1803, allocations: 7.984 kB / 322.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1804, allocations: 0 / 322.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.1811, allocations: 36.02 kB / 322.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.1813, allocations: 91.88 kB / 322.2 MB, free: 2.547 MB / 266.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.001942/0.1833, allocations: 0.7976 MB / 323 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.1836, allocations: 102.8 kB / 323.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.1843, allocations: 195.9 kB / 323.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1843, allocations: 3.953 kB / 323.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.1843, allocations: 3.984 kB / 323.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/0.1864, allocations: 0.5852 MB / 323.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.1868, allocations: 51.97 kB / 323.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.1874, allocations: 27.98 kB / 324 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/0.1877, allocations: 47.88 kB / 324 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003365/0.191, allocations: 1.435 MB / 325.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00332/0.1944, allocations: 1.283 MB / 326.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001216/0.1956, allocations: 431.8 kB / 327.2 MB, free: 13.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003475/0.1991, allocations: 1.082 MB / 328.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of Backend: time 1.493e-06/0.1992, allocations: 0 / 328.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.2017, allocations: 0.8346 MB / 329.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of SimCode: time 0.007488/0.2092, allocations: 2.95 MB / 332 MB, free: 8.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01975/0.229, allocations: 6.53 MB / 338.6 MB, free: 1.754 MB / 282.7 MB "" Variables in the reference: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 Variables in the result:delay.inertialDelaySensitive[1].tHL,delay.inertialDelaySensitive[1].tLH,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y0,delay.inertialDelaySensitive[2].tHL,delay.inertialDelaySensitive[2].tLH,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y0,delay.inertialDelaySensitive[3].tHL,delay.inertialDelaySensitive[3].tLH,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y0,delay.n,delay.tHL,delay.tLH,table.n,table.t[1],table.t[2],table.t[3],table.t[4],table.t[5],table.x[1],table.x[2],table.x[3],table.x[4],table.x[5],table.y0,table1.n,table1.t[1],table1.t[2],table1.x[1],table1.x[2],table1.y0,table2.n,table2.t[1],table2.t[2],table2.t[3],table2.x[1],table2.x[2],table2.x[3],table2.y0,time