Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.541/1.541, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.000475, allocations: 8 kB / 233.3 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.07907, allocations: 38.78 MB / 272.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.4136, allocations: 71.3 MB / 343.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4139, allocations: 67.97 kB / 343.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04579/0.4597, allocations: 13.29 MB / 356.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4598, allocations: 0 / 356.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.4598, allocations: 12 kB / 356.8 MB, free: 14.2 MB / 298.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.001729/0.4616, allocations: 1.176 MB / 357.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4616, allocations: 12.03 kB / 358 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.4618, allocations: 50.55 kB / 358 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.462, allocations: 98.83 kB / 358.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.4627, allocations: 416.9 kB / 358.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.4628, allocations: 12 kB / 358.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.4629, allocations: 16 kB / 358.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/0.4639, allocations: 351.9 kB / 358.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4639, allocations: 0 / 358.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.464, allocations: 12 kB / 358.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.464, allocations: 3.953 kB / 358.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.4647, allocations: 203.8 kB / 359.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.4666, allocations: 0.9705 MB / 360.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/0.4675, allocations: 307.7 kB / 360.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4675, allocations: 8 kB / 360.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.4687, allocations: 0.5894 MB / 361 MB, free: 9.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.4687, allocations: 0 / 361 MB, free: 9.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.003326/0.472, allocations: 1.341 MB / 362.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.4722, allocations: 281 kB / 362.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.4752, allocations: 1.281 MB / 363.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.4754, allocations: 45.69 kB / 363.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4755, allocations: 177.1 kB / 364.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4757, allocations: 67.19 kB / 364.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.4757, allocations: 8 kB / 364.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4759, allocations: 322.8 kB / 364.5 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.4765, allocations: 207.7 kB / 364.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.4772, allocations: 244.9 kB / 364.9 MB, free: 5.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.4779, allocations: 350 kB / 365.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4779, allocations: 4 kB / 365.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002144/0.4801, allocations: 0.832 MB / 366.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.4803, allocations: 190.2 kB / 366.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4803, allocations: 4 kB / 366.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4803, allocations: 0 / 366.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.507e-05/0.4804, allocations: 7.938 kB / 366.3 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.4804, allocations: 7.984 kB / 366.3 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.4809, allocations: 35.83 kB / 366.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.4811, allocations: 95.86 kB / 366.4 MB, free: 3.902 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.001504/0.4826, allocations: 0.7897 MB / 367.2 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.4828, allocations: 110.7 kB / 367.3 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.4834, allocations: 195.9 kB / 367.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4834, allocations: 4 kB / 367.5 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4834, allocations: 4 kB / 367.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4834, allocations: 288 / 367.5 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.4873, allocations: 1.855 MB / 369.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4874, allocations: 7.953 kB / 369.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.4874, allocations: 0 / 369.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.4874, allocations: 0 / 369.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.4875, allocations: 27.98 kB / 369.4 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.4875, allocations: 4 kB / 369.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4875, allocations: 0 / 369.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.4902, allocations: 1.29 MB / 370.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.4919, allocations: 0.5891 MB / 371.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.4921, allocations: 55.97 kB / 371.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.4927, allocations: 27.97 kB / 371.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.493, allocations: 87.78 kB / 371.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.4932, allocations: 99.92 kB / 371.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002501/0.4957, allocations: 1.075 MB / 372.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4958, allocations: 0 / 372.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007573/0.4965, allocations: 108.1 kB / 372.7 MB, free: 13.34 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.003388/0.4999, allocations: 2.052 MB / 374.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.5021, allocations: 0.9999 MB / 375.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5021, allocations: 3.938 kB / 375.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.5035, allocations: 0.8009 MB / 376.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.505, allocations: 212.1 kB / 376.8 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.5162, allocations: 4.912 MB / 381.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.5175, allocations: 1.101 MB / 382.8 MB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.5177, allocations: 51.42 kB / 382.9 MB, free: 2.859 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5177, allocations: 4 kB / 382.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.496/3.014, allocations: 6.096 MB / 389 MB, free: 12.76 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat