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.WiredX.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.WiredX,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.212/2.212, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.000556, allocations: 12 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2995, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.4438, allocations: 78.56 MB / 387.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4442, allocations: 75.95 kB / 387.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4868/0.931, allocations: 42.86 MB / 430.1 MB, free: 92.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.9311, allocations: 0 / 430.1 MB, free: 92.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.9311, allocations: 7.062 kB / 430.1 MB, free: 92.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001215/0.9323, allocations: 1.061 MB / 431.1 MB, free: 91.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.9324, allocations: 10.34 kB / 431.1 MB, free: 91.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.9325, allocations: 53.03 kB / 431.2 MB, free: 91.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.9327, allocations: 83.89 kB / 431.3 MB, free: 91.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.9333, allocations: 363.1 kB / 431.6 MB, free: 91.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.9334, allocations: 15.45 kB / 431.6 MB, free: 91.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.9335, allocations: 25.81 kB / 431.7 MB, free: 91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.9343, allocations: 294.6 kB / 432 MB, free: 90.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9343, allocations: 0 / 432 MB, free: 90.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.9344, allocations: 11.19 kB / 432 MB, free: 90.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.9345, allocations: 0 / 432 MB, free: 90.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.935, allocations: 159.5 kB / 432.1 MB, free: 90.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.9368, allocations: 0.7638 MB / 432.9 MB, free: 90.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.9374, allocations: 212 kB / 433.1 MB, free: 90.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.9374, allocations: 0 / 433.1 MB, free: 90.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007621/0.9382, allocations: 446.2 kB / 433.5 MB, free: 90.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/0.9382, allocations: 0 / 433.5 MB, free: 90.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002504/0.9407, allocations: 1.333 MB / 434.9 MB, free: 88.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.9409, allocations: 277.7 kB / 435.1 MB, free: 88.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.9425, allocations: 0.8428 MB / 436 MB, free: 87.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.9427, allocations: 37.7 kB / 436 MB, free: 87.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.9428, allocations: 123.8 kB / 436.1 MB, free: 87.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.9429, allocations: 62.92 kB / 436.2 MB, free: 87.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.943, allocations: 16 kB / 436.2 MB, free: 87.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.9431, allocations: 330.8 kB / 436.5 MB, free: 86.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.9435, allocations: 148.1 kB / 436.7 MB, free: 86.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.944, allocations: 179.7 kB / 436.9 MB, free: 86.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.9445, allocations: 361.5 kB / 437.2 MB, free: 86.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9445, allocations: 4 kB / 437.2 MB, free: 86.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001737/0.9463, allocations: 0.8199 MB / 438 MB, free: 85.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.9464, allocations: 241.6 kB / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9465, allocations: 0 / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.9465, allocations: 4 kB / 438.3 MB, free: 85.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.9465, allocations: 11.45 kB / 438.3 MB, free: 85.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.9466, allocations: 4 kB / 438.3 MB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.947, allocations: 24.08 kB / 438.3 MB, free: 85.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.9474, allocations: 283 kB / 438.6 MB, free: 84.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0009539/0.9483, allocations: 0.6126 MB / 439.2 MB, free: 84.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.9485, allocations: 79.06 kB / 439.3 MB, free: 84.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.9489, allocations: 130.9 kB / 439.4 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.9489, allocations: 0 / 439.4 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.9489, allocations: 0 / 439.4 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9489, allocations: 0 / 439.4 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.9517, allocations: 1.508 MB / 440.9 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.9518, allocations: 0 / 440.9 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.9518, allocations: 4 kB / 440.9 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.9518, allocations: 0 / 440.9 MB, free: 82.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.9519, allocations: 47.95 kB / 441 MB, free: 82.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.952, allocations: 4 kB / 441 MB, free: 82.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.952, allocations: 0 / 441 MB, free: 82.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.9539, allocations: 1.031 MB / 442 MB, free: 81.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.955, allocations: 431.7 kB / 442.4 MB, free: 80.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.9552, allocations: 19.98 kB / 442.4 MB, free: 80.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.9557, allocations: 29.55 kB / 442.5 MB, free: 80.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.956, allocations: 71.91 kB / 442.5 MB, free: 80.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003108/0.9563, allocations: 267.5 kB / 442.8 MB, free: 80.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001352/0.9576, allocations: 0.6938 MB / 443.5 MB, free: 79.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.9577, allocations: 0 / 443.5 MB, free: 79.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007254/0.9584, allocations: 99.95 kB / 443.6 MB, free: 79.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.002361/0.9608, allocations: 1.626 MB / 445.2 MB, free: 77.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.9635, allocations: 0.9085 MB / 446.1 MB, free: 76.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.9635, allocations: 4.188 kB / 446.1 MB, free: 76.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.9644, allocations: 0.7677 MB / 446.9 MB, free: 75.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.9662, allocations: 227.4 kB / 447.1 MB, free: 75.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.9731, allocations: 3.286 MB / 450.4 MB, free: 72.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.9738, allocations: 0.948 MB / 451.3 MB, free: 71.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003631/0.9742, allocations: 97.28 kB / 451.4 MB, free: 71.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.9744, allocations: 87.36 kB / 451.5 MB, free: 71.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9744, allocations: 0 / 451.5 MB, free: 71.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/1.019, allocations: 14.1 MB / 465.6 MB, free: 57.03 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/1.019, allocations: 173 kB / 465.8 MB, free: 56.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.759, allocations: 0 / 465.8 MB, free: 56.79 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX_res.mat does not exist to compare? outputFormat=mat