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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3194, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.4844, allocations: 76.61 MB / 385.2 MB, free: 52 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.4848, allocations: 68.05 kB / 385.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04803/0.5328, allocations: 13.33 MB / 398.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.638e-06/0.5329, allocations: 11.92 kB / 398.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.5329, allocations: 8 kB / 398.6 MB, free: 2.609 MB / 330.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.001863/0.5348, allocations: 1.18 MB / 399.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5349, allocations: 11.97 kB / 399.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.535, allocations: 50.56 kB / 399.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.5352, allocations: 94.88 kB / 399.9 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.536, allocations: 416.8 kB / 400.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.5361, allocations: 16 kB / 400.3 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/0.5362, allocations: 20 kB / 400.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5372, allocations: 343.9 kB / 400.7 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5372, allocations: 0 / 400.7 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.5373, allocations: 11.94 kB / 400.7 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5373, allocations: 4 kB / 400.7 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.538, allocations: 203.8 kB / 400.9 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.5401, allocations: 0.9705 MB / 401.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.541, allocations: 303.7 kB / 402.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.541, allocations: 3.938 kB / 402.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.5422, allocations: 0.5781 MB / 402.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 5.3e-06/0.5422, allocations: 0 / 402.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.003358/0.5456, allocations: 1.35 MB / 404.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.5458, allocations: 277 kB / 404.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.5489, allocations: 1.281 MB / 405.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.549, allocations: 41.62 kB / 405.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5492, allocations: 126.4 kB / 405.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.5493, allocations: 63.31 kB / 405.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5494, allocations: 8 kB / 405.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5496, allocations: 338.8 kB / 406.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.5503, allocations: 195.8 kB / 406.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.551, allocations: 248.9 kB / 406.7 MB, free: 10 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.5517, allocations: 358 kB / 407 MB, free: 9.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5517, allocations: 0 / 407 MB, free: 9.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002208/0.5539, allocations: 0.8388 MB / 407.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.5542, allocations: 190.2 kB / 408 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5542, allocations: 0 / 408 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.5542, allocations: 8.375 kB / 408 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.5543, allocations: 7.984 kB / 408.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5543, allocations: 3.938 kB / 408.1 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.5548, allocations: 39.83 kB / 408.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.555, allocations: 91.92 kB / 408.2 MB, free: 8.359 MB / 346.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.001601/0.5566, allocations: 0.7896 MB / 409 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5569, allocations: 102.7 kB / 409.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.5574, allocations: 203.9 kB / 409.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5574, allocations: 0 / 409.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5574, allocations: 4 kB / 409.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5574, allocations: 0 / 409.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/0.5621, allocations: 1.847 MB / 411.1 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5621, allocations: 3.938 kB / 411.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.5622, allocations: 4 kB / 411.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5622, allocations: 4 kB / 411.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.5623, allocations: 31.92 kB / 411.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5623, allocations: 0 / 411.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.5623, allocations: 7.938 kB / 411.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.5659, allocations: 1.294 MB / 412.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/0.5682, allocations: 0.5929 MB / 413.1 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.5685, allocations: 59.95 kB / 413.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/0.5694, allocations: 27.97 kB / 413.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003838/0.5698, allocations: 87.78 kB / 413.2 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/0.57, allocations: 95.92 kB / 413.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003351/0.5734, allocations: 1.079 MB / 414.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5734, allocations: 0 / 414.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001172/0.5746, allocations: 112 kB / 414.5 MB, free: 1.785 MB / 346.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.2609/0.8355, allocations: 2.04 MB / 416.6 MB, free: 97.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.838, allocations: 0.9962 MB / 417.6 MB, free: 97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8381, allocations: 3.719 kB / 417.6 MB, free: 97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.8393, allocations: 0.803 MB / 418.4 MB, free: 96.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.841, allocations: 208.7 kB / 418.6 MB, free: 96.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009308/0.8503, allocations: 4.846 MB / 423.4 MB, free: 94.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.8514, allocations: 1.101 MB / 424.5 MB, free: 93.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.8516, allocations: 28.14 kB / 424.5 MB, free: 93.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.8517, allocations: 61.22 kB / 424.6 MB, free: 93.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8517, allocations: 3.719 kB / 424.6 MB, free: 93.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.8922, allocations: 10.36 MB / 435 MB, free: 87.36 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.8925, allocations: 178.6 kB / 435.1 MB, free: 87.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.637, allocations: 4 kB / 435.1 MB, free: 87.12 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat