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 1.902/1.902, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003527/0.2919, allocations: 2.152 MB / 310.7 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.2959, allocations: 1.245 MB / 312 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.2962, allocations: 11.88 kB / 312 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.2964, allocations: 51.61 kB / 312 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2966, allocations: 55.83 kB / 312.1 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.2974, allocations: 167.7 kB / 312.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000766/0.2982, allocations: 424.4 kB / 312.6 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.2986, allocations: 204.7 kB / 312.8 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.2998, allocations: 0.6354 MB / 313.5 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.3006, allocations: 447.1 kB / 313.9 MB, free: 7.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.3009, allocations: 16 kB / 313.9 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.3012, allocations: 16 kB / 314 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.3016, allocations: 207.5 kB / 314.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3018, allocations: 133.3 kB / 314.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.3034, allocations: 1.348 MB / 315.6 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3034, allocations: 0 / 315.6 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3034, allocations: 0 / 315.6 MB, free: 5.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.3034, allocations: 0 / 315.6 MB, free: 5.664 MB / 250.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.002114/0.3056, allocations: 1.02 MB / 316.7 MB, free: 4.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3056, allocations: 12.03 kB / 316.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002788/0.3059, allocations: 102.5 kB / 316.8 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.3062, allocations: 87.11 kB / 316.8 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3073, allocations: 449 kB / 317.3 MB, free: 3.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.3073, allocations: 45.25 kB / 317.3 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.3076, allocations: 60 kB / 317.4 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.31, allocations: 0.826 MB / 318.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.31, allocations: 0 / 318.2 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.3102, allocations: 24 kB / 318.2 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3102, allocations: 16 kB / 318.3 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.3124, allocations: 0.6414 MB / 318.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008022/0.3204, allocations: 1.728 MB / 320.6 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.3238, allocations: 0.6107 MB / 321.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3241, allocations: 8.547 kB / 321.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.3256, allocations: 0.5689 MB / 321.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 4.578e-06/0.3256, allocations: 0 / 321.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.003957/0.3296, allocations: 1.327 MB / 323.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.3298, allocations: 196.5 kB / 323.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.3305, allocations: 413.2 kB / 323.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.3306, allocations: 49.7 kB / 323.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3309, allocations: 236.8 kB / 324 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.3312, allocations: 130.5 kB / 324.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3313, allocations: 12 kB / 324.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3315, allocations: 362.7 kB / 324.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3326, allocations: 313.1 kB / 324.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3337, allocations: 396.3 kB / 325.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.335, allocations: 476.3 kB / 325.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.335, allocations: 3.984 kB / 325.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00323/0.3382, allocations: 1.149 MB / 326.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.3384, allocations: 144.5 kB / 327 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3384, allocations: 4 kB / 327 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3385, allocations: 4 kB / 327 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.3388, allocations: 103.8 kB / 327.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.3389, allocations: 4 kB / 327.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/0.3398, allocations: 87.62 kB / 327.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008147/0.3406, allocations: 0.5736 MB / 327.7 MB, free: 9.105 MB / 266.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[1],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,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],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,$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[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],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.x[1],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.0008468/0.3415, allocations: 446 kB / 328.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.3417, allocations: 47.53 kB / 328.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.3418, allocations: 48.77 kB / 328.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3419, allocations: 8 kB / 328.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3419, allocations: 0 / 328.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3419, allocations: 3.984 kB / 328.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3434, allocations: 0.6695 MB / 328.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3434, allocations: 0 / 328.9 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3437, allocations: 95.88 kB / 329 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.3437, allocations: 0 / 329 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.344, allocations: 87.95 kB / 329.1 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/0.344, allocations: 8 kB / 329.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.344, allocations: 4.094 kB / 329.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.3469, allocations: 1.079 MB / 330.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/0.3477, allocations: 264.4 kB / 330.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.3479, allocations: 24 kB / 330.5 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.3486, allocations: 67.78 kB / 330.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/0.3492, allocations: 160.4 kB / 330.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008143/0.35, allocations: 0.558 MB / 331.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004107/0.3504, allocations: 251.2 kB / 331.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3504, allocations: 0 / 331.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009261/0.3514, allocations: 167.6 kB / 331.7 MB, free: 4.992 MB / 266.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.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.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],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[1],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[1],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.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (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,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,Enable.y,D3.y,D2.y,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.0035/0.3549, allocations: 1.7 MB / 333.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3576, allocations: 1.071 MB / 334.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3577, allocations: 0 / 334.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.3592, allocations: 0.6914 MB / 335.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.3623, allocations: 482.8 kB / 335.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/0.3712, allocations: 3.302 MB / 338.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.372, allocations: 0.9063 MB / 339.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.004225/0.3762, allocations: 1.504 MB / 341.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/0.3787, allocations: 0.6076 MB / 341.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3787, allocations: 0 / 341.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/0.4589, allocations: 21.65 MB / 363.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/0.4593, allocations: 174.5 kB / 363.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/3.475, allocations: 0 / 363.8 MB, free: 4.125 MB / 298.7 MB