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.Multiplexer.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.Multiplexer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_Multiplexer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.31/2.31, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 44.52 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5302, allocations: 79.05 MB / 387.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5306, allocations: 67.97 kB / 387.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5041/1.035, allocations: 54.8 MB / 442.5 MB, free: 82.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.407e-06/1.035, allocations: 0 / 442.5 MB, free: 82.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.904e-05/1.035, allocations: 16 kB / 442.5 MB, free: 82.26 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003014/1.038, allocations: 1.019 MB / 443.5 MB, free: 81.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/1.038, allocations: 12.03 kB / 443.5 MB, free: 81.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005729/1.039, allocations: 103.1 kB / 443.6 MB, free: 81.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/1.039, allocations: 75.16 kB / 443.7 MB, free: 81.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/1.041, allocations: 473.6 kB / 444.2 MB, free: 80.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/1.041, allocations: 45.31 kB / 444.2 MB, free: 80.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/1.041, allocations: 56 kB / 444.3 MB, free: 80.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/1.044, allocations: 0.8316 MB / 445.1 MB, free: 79.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/1.044, allocations: 7.938 kB / 445.1 MB, free: 79.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/1.045, allocations: 28 kB / 445.1 MB, free: 79.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/1.045, allocations: 16 kB / 445.2 MB, free: 79.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/1.048, allocations: 0.6452 MB / 445.8 MB, free: 78.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/1.054, allocations: 1.678 MB / 447.5 MB, free: 77.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/1.057, allocations: 0.595 MB / 448.1 MB, free: 76.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/1.057, allocations: 12.56 kB / 448.1 MB, free: 76.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.059, allocations: 0.5572 MB / 448.6 MB, free: 76.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 5.571e-06/1.059, allocations: 0 / 448.6 MB, free: 76.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.005045/1.064, allocations: 1.303 MB / 449.9 MB, free: 74.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.065, allocations: 192.5 kB / 450.1 MB, free: 74.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/1.066, allocations: 372.4 kB / 450.5 MB, free: 74.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003791/1.066, allocations: 45.7 kB / 450.5 MB, free: 74.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/1.066, allocations: 240.4 kB / 450.8 MB, free: 73.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/1.067, allocations: 125.8 kB / 450.9 MB, free: 73.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.067, allocations: 19.94 kB / 450.9 MB, free: 73.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/1.067, allocations: 354.8 kB / 451.3 MB, free: 73.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/1.068, allocations: 305.1 kB / 451.6 MB, free: 73.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.07, allocations: 384.4 kB / 451.9 MB, free: 72.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.072, allocations: 463.6 kB / 452.4 MB, free: 72.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.072, allocations: 7.953 kB / 452.4 MB, free: 72.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004329/1.076, allocations: 1.137 MB / 453.5 MB, free: 71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.076, allocations: 144.5 kB / 453.7 MB, free: 70.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.076, allocations: 4 kB / 453.7 MB, free: 70.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/1.076, allocations: 4.062 kB / 453.7 MB, free: 70.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/1.077, allocations: 107.6 kB / 453.8 MB, free: 70.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.077, allocations: 4 kB / 453.8 MB, free: 70.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.078, allocations: 87.59 kB / 453.9 MB, free: 70.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009207/1.079, allocations: 0.5614 MB / 454.4 MB, free: 70.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.001123/1.08, allocations: 445.9 kB / 454.9 MB, free: 69.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/1.081, allocations: 51.39 kB / 454.9 MB, free: 69.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/1.081, allocations: 52.77 kB / 455 MB, free: 69.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.081, allocations: 7.984 kB / 455 MB, free: 69.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.081, allocations: 4 kB / 455 MB, free: 69.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.081, allocations: 3.984 kB / 455 MB, free: 69.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/1.083, allocations: 0.6555 MB / 455.6 MB, free: 68.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.083, allocations: 0 / 455.6 MB, free: 68.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/1.083, allocations: 103.6 kB / 455.7 MB, free: 68.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.083, allocations: 0 / 455.7 MB, free: 68.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.083, allocations: 99.83 kB / 455.8 MB, free: 68.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/1.083, allocations: 0 / 455.8 MB, free: 68.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.083, allocations: 0 / 455.8 MB, free: 68.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/1.087, allocations: 1.06 MB / 456.9 MB, free: 67.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009557/1.088, allocations: 256.5 kB / 457.2 MB, free: 67.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.089, allocations: 31.95 kB / 457.2 MB, free: 67.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009404/1.09, allocations: 63.7 kB / 457.2 MB, free: 67.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/1.09, allocations: 156.4 kB / 457.4 MB, free: 66.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009005/1.091, allocations: 0.558 MB / 458 MB, free: 66.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005554/1.092, allocations: 251.2 kB / 458.2 MB, free: 66.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.092, allocations: 0 / 458.2 MB, free: 66.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001391/1.093, allocations: 140 kB / 458.3 MB, free: 66.05 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: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (Enable.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.004223/1.097, allocations: 1.684 MB / 460 MB, free: 64.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00322/1.101, allocations: 1.032 MB / 461.1 MB, free: 63.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.101, allocations: 128 / 461.1 MB, free: 63.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/1.103, allocations: 0.6911 MB / 461.7 MB, free: 62.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.107, allocations: 479.8 kB / 462.2 MB, free: 62.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.119, allocations: 4.162 MB / 466.4 MB, free: 57.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.119, allocations: 0.8985 MB / 467.3 MB, free: 56.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005548/1.125, allocations: 1.5 MB / 468.8 MB, free: 55.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00387/1.129, allocations: 0.6115 MB / 469.4 MB, free: 54.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.354e-06/1.129, allocations: 0 / 469.4 MB, free: 54.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07568/1.205, allocations: 21.87 MB / 491.3 MB, free: 32.51 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.205, allocations: 178.5 kB / 491.4 MB, free: 32.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/4.446, allocations: 0 / 491.4 MB, free: 32.27 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer_res.mat does not exist to compare? outputFormat=mat