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.626/1.626, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 8 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06962/0.07002, allocations: 38.77 MB / 271.9 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001851/0.07192, allocations: 1.171 MB / 273.1 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.074, allocations: 0.8401 MB / 273.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.07409, allocations: 4 kB / 273.9 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.07421, allocations: 11.92 kB / 274 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.07429, allocations: 15.97 kB / 274 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.07455, allocations: 43.81 kB / 274 MB, free: 10.12 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.07482, allocations: 155.8 kB / 274.2 MB, free: 9.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.075, allocations: 53.72 kB / 274.2 MB, free: 9.91 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.07545, allocations: 283.4 kB / 274.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.07571, allocations: 159.6 kB / 274.6 MB, free: 9.477 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.07579, allocations: 8 kB / 274.7 MB, free: 9.469 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.07587, allocations: 12 kB / 274.7 MB, free: 9.457 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.07608, allocations: 179.4 kB / 274.8 MB, free: 9.281 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.07627, allocations: 149.2 kB / 275 MB, free: 9.129 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009497/0.07723, allocations: 0.7912 MB / 275.8 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.07725, allocations: 0 / 275.8 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.233e-06/0.07726, allocations: 0 / 275.8 MB, free: 8.336 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.454e-06/0.07728, allocations: 0 / 275.8 MB, free: 8.336 MB / 234.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.001554/0.07884, allocations: 1.163 MB / 276.9 MB, free: 7.086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.07889, allocations: 8.031 kB / 276.9 MB, free: 7.078 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.07908, allocations: 98.78 kB / 277 MB, free: 6.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.07988, allocations: 440.7 kB / 277.5 MB, free: 6.496 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.07995, allocations: 19.94 kB / 277.5 MB, free: 6.477 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.08003, allocations: 16 kB / 277.5 MB, free: 6.461 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.08077, allocations: 304 kB / 277.8 MB, free: 6.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.0808, allocations: 0 / 277.8 MB, free: 6.148 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.189e-05/0.08087, allocations: 12 kB / 277.8 MB, free: 6.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.08089, allocations: 0 / 277.8 MB, free: 6.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.08134, allocations: 171.8 kB / 278 MB, free: 5.969 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.08305, allocations: 0.9389 MB / 278.9 MB, free: 4.973 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.08368, allocations: 271.9 kB / 279.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.08371, allocations: 4 kB / 279.2 MB, free: 4.676 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009129/0.08464, allocations: 0.5271 MB / 279.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=30): time 3.202e-06/0.08466, allocations: 0 / 279.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of matching and sorting (n=30): time 0.002528/0.0872, allocations: 1.251 MB / 281 MB, free: 2.738 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.08743, allocations: 281 kB / 281.2 MB, free: 2.402 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.09026, allocations: 1.446 MB / 282.7 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.09041, allocations: 33.7 kB / 282.7 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.09057, allocations: 188.9 kB / 282.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.09072, allocations: 67.42 kB / 283 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.09077, allocations: 12 kB / 283 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.09097, allocations: 322.8 kB / 283.3 MB, free: 312 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.0914, allocations: 159.8 kB / 283.5 MB, free: 152 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.09187, allocations: 209.1 kB / 283.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.09246, allocations: 346 kB / 284 MB, free: 15.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.206e-06/0.09248, allocations: 4 kB / 284 MB, free: 15.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001616/0.09411, allocations: 0.7571 MB / 284.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.09432, allocations: 191 kB / 285 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.09435, allocations: 4 kB / 285 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.09437, allocations: 0 / 285 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.155e-05/0.09441, allocations: 4 kB / 285 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.714e-06/0.09444, allocations: 8.078 kB / 285 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.09487, allocations: 35.92 kB / 285 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.09503, allocations: 87.89 kB / 285.1 MB, free: 14.38 MB / 250.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.001341/0.09639, allocations: 0.7976 MB / 285.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.09661, allocations: 102.8 kB / 286 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.09708, allocations: 199.9 kB / 286.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.265e-06/0.0971, allocations: 0 / 286.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-06/0.09711, allocations: 4 kB / 286.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-06/0.09713, allocations: 4 kB / 286.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.1004, allocations: 1.78 MB / 288 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-06/0.1005, allocations: 0 / 288 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.1005, allocations: 4 kB / 288 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-06/0.1005, allocations: 3.938 kB / 288 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.1006, allocations: 27.98 kB / 288 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.957e-06/0.1006, allocations: 3.984 kB / 288 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-06/0.1007, allocations: 8 kB / 288 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.1027, allocations: 1.194 MB / 289.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.1041, allocations: 0.5774 MB / 289.8 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.1044, allocations: 59.95 kB / 289.8 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.1048, allocations: 31.89 kB / 289.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.105, allocations: 43.94 kB / 289.9 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.1052, allocations: 103.8 kB / 290 MB, free: 9.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.002112/0.1073, allocations: 1.075 MB / 291.1 MB, free: 8.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.1074, allocations: 0 / 291.1 MB, free: 8.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.1081, allocations: 107.9 kB / 291.2 MB, free: 8.043 MB / 250.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.000306/0.1084, allocations: 175.4 kB / 291.4 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.11, allocations: 0.9492 MB / 292.3 MB, free: 6.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.588e-06/0.1101, allocations: 0 / 292.3 MB, free: 6.836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1111, allocations: 0.7736 MB / 293.1 MB, free: 5.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1123, allocations: 207.2 kB / 293.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.117, allocations: 2.383 MB / 295.7 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.1184, allocations: 1.109 MB / 296.8 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1184, allocations: 15.44 kB / 296.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of SimCode: time 1.587e-06/0.1185, allocations: 0 / 296.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of Templates: time 0.1823/0.3008, allocations: 4.881 MB / 301.7 MB, free: 29.72 MB / 250.7 MB