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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.0925, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5356, allocations: 76.6 MB / 385.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.5359, allocations: 68.17 kB / 385.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03964/0.5755, allocations: 13.33 MB / 398.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5756, allocations: 0 / 398.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5756, allocations: 11.78 kB / 398.6 MB, free: 13.55 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.001426/0.577, allocations: 1.18 MB / 399.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5771, allocations: 11.62 kB / 399.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.043e-05/0.5772, allocations: 55.45 kB / 399.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.5773, allocations: 96.56 kB / 399.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.5779, allocations: 415.4 kB / 400.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.578, allocations: 18.88 kB / 400.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.5781, allocations: 14.94 kB / 400.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/0.579, allocations: 349.7 kB / 400.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.579, allocations: 0 / 400.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.5791, allocations: 11.31 kB / 400.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5791, allocations: 5.312 kB / 400.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.5797, allocations: 200 kB / 400.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.5814, allocations: 0.9661 MB / 401.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.5821, allocations: 312 kB / 402.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.5821, allocations: 0 / 402.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009084/0.583, allocations: 0.5786 MB / 402.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.5831, allocations: 0 / 402.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002762/0.5858, allocations: 1.346 MB / 404.1 MB, free: 10.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.729e-05/0.586, allocations: 276.5 kB / 404.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.5884, allocations: 1.277 MB / 405.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.5885, allocations: 49.34 kB / 405.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.5886, allocations: 175 kB / 405.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5887, allocations: 63.44 kB / 405.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.5888, allocations: 11.23 kB / 405.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.5889, allocations: 322.2 kB / 406.2 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.5895, allocations: 202.1 kB / 406.4 MB, free: 9.062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.59, allocations: 250.1 kB / 406.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.5906, allocations: 362.5 kB / 407 MB, free: 8.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5906, allocations: 0 / 407 MB, free: 8.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0018/0.5924, allocations: 0.8317 MB / 407.9 MB, free: 8.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.5926, allocations: 193.2 kB / 408.1 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5926, allocations: 3.75 kB / 408.1 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5926, allocations: 4.094 kB / 408.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.5927, allocations: 7.812 kB / 408.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5927, allocations: 0 / 408.1 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.5932, allocations: 38.84 kB / 408.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.5933, allocations: 92.47 kB / 408.2 MB, free: 8.176 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.001263/0.5946, allocations: 0.7978 MB / 409 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.5948, allocations: 97.41 kB / 409.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.5952, allocations: 195 kB / 409.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5952, allocations: 3.906 kB / 409.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5952, allocations: 0 / 409.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5952, allocations: 0 / 409.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.5984, allocations: 1.854 MB / 411.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5984, allocations: 3.938 kB / 411.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.5984, allocations: 3.906 kB / 411.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.5984, allocations: 4 kB / 411.1 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.5985, allocations: 31.23 kB / 411.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5985, allocations: 4 kB / 411.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5985, allocations: 3.906 kB / 411.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.6007, allocations: 1.29 MB / 412.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.6021, allocations: 0.5895 MB / 413.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.6023, allocations: 57.45 kB / 413.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.6029, allocations: 42.69 kB / 413.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.6032, allocations: 84.42 kB / 413.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.6033, allocations: 93.86 kB / 413.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002042/0.6054, allocations: 1.077 MB / 414.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6054, allocations: 0 / 414.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007241/0.6061, allocations: 112.2 kB / 414.5 MB, free: 4.984 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.002543/0.6087, allocations: 2.043 MB / 416.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.6104, allocations: 1 MB / 417.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6104, allocations: 0 / 417.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009942/0.6114, allocations: 0.7973 MB / 418.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6128, allocations: 213.3 kB / 418.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.6215, allocations: 4.919 MB / 423.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.6228, allocations: 1.101 MB / 424.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.6229, allocations: 55.11 kB / 424.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6229, allocations: 4 kB / 424.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.405, allocations: 6.081 MB / 430.7 MB, free: 12.07 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat