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.MUX2x1.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.MUX2x1,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 19.94 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 44.49 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002069/0.2885, allocations: 1.228 MB / 309.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2912, allocations: 0.8552 MB / 310.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.2913, allocations: 0 / 310.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.2914, allocations: 7.922 kB / 310.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2915, allocations: 23.95 kB / 310.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2918, allocations: 47.83 kB / 310.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.292, allocations: 83.83 kB / 310.8 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2921, allocations: 17.41 kB / 310.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007848/0.2929, allocations: 479.2 kB / 311.3 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2931, allocations: 95.81 kB / 311.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.2932, allocations: 8 kB / 311.4 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.2933, allocations: 4 kB / 311.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2934, allocations: 79.69 kB / 311.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.2935, allocations: 81.52 kB / 311.5 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.294, allocations: 363.1 kB / 311.9 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.294, allocations: 0 / 311.9 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.294, allocations: 0 / 311.9 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.294, allocations: 0 / 311.9 MB, free: 9.273 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009483/0.295, allocations: 0.7292 MB / 312.6 MB, free: 8.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.295, allocations: 8.031 kB / 312.6 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.361e-05/0.2951, allocations: 42.56 kB / 312.7 MB, free: 8.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2952, allocations: 47.48 kB / 312.7 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.2957, allocations: 277.2 kB / 313 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2957, allocations: 11.94 kB / 313 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.2958, allocations: 12 kB / 313 MB, free: 8.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.2963, allocations: 169.5 kB / 313.2 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2963, allocations: 0 / 313.2 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.2964, allocations: 7.984 kB / 313.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2964, allocations: 0 / 313.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.2967, allocations: 87.94 kB / 313.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2977, allocations: 0.5043 MB / 313.8 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2981, allocations: 118.5 kB / 313.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2981, allocations: 3.984 kB / 313.9 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.2987, allocations: 254.6 kB / 314.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.2987, allocations: 3.938 kB / 314.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.001641/0.3003, allocations: 0.7653 MB / 314.9 MB, free: 5.957 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.3005, allocations: 195.9 kB / 315.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3016, allocations: 0.5639 MB / 315.7 MB, free: 5.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.3017, allocations: 29.7 kB / 315.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3018, allocations: 117.1 kB / 315.8 MB, free: 5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.3019, allocations: 27.61 kB / 315.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3019, allocations: 8 kB / 315.9 MB, free: 4.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3021, allocations: 330.8 kB / 316.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3023, allocations: 83.95 kB / 316.3 MB, free: 4.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3027, allocations: 93.67 kB / 316.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.303, allocations: 219.4 kB / 316.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.303, allocations: 0 / 316.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001132/0.3042, allocations: 0.5018 MB / 317.1 MB, free: 3.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3043, allocations: 152.5 kB / 317.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3043, allocations: 4.031 kB / 317.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3044, allocations: 3.953 kB / 317.2 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.679e-05/0.3044, allocations: 4 kB / 317.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3044, allocations: 0 / 317.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3047, allocations: 15.98 kB / 317.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.3049, allocations: 101.3 kB / 317.3 MB, free: 3.367 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.0005691/0.3055, allocations: 401.9 kB / 317.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.3056, allocations: 43.53 kB / 317.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.3058, allocations: 79.45 kB / 317.9 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3058, allocations: 3.953 kB / 317.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3058, allocations: 0 / 317.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3058, allocations: 0 / 317.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3076, allocations: 0.9596 MB / 318.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3076, allocations: 4 kB / 318.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.3077, allocations: 0 / 318.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3077, allocations: 0 / 318.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.3077, allocations: 27.94 kB / 318.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.3078, allocations: 4 kB / 318.9 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3078, allocations: 3.938 kB / 318.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3091, allocations: 0.6479 MB / 319.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/0.3096, allocations: 260.4 kB / 319.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3098, allocations: 12 kB / 319.8 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3101, allocations: 19.94 kB / 319.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.3103, allocations: 51.94 kB / 319.8 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.3105, allocations: 105.2 kB / 319.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008191/0.3113, allocations: 418.8 kB / 320.4 MB, free: 160 kB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3113, allocations: 0 / 320.4 MB, free: 160 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.3118, allocations: 63.78 kB / 320.4 MB, free: 96 kB / 250.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: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.001769/0.3136, allocations: 1.224 MB / 321.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3147, allocations: 0.5399 MB / 322.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3147, allocations: 0 / 322.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.3154, allocations: 468.9 kB / 322.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3165, allocations: 159 kB / 322.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.3208, allocations: 1.785 MB / 324.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.3214, allocations: 0.8263 MB / 325.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3215, allocations: 8.875 kB / 325.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.3216, allocations: 47.42 kB / 325.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3216, allocations: 0 / 325.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.36, allocations: 8.223 MB / 333.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003671/0.3604, allocations: 172.8 kB / 333.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/2.768, allocations: 0 / 333.8 MB, free: 2.188 MB / 266.7 MB "" Variables in the reference:time,Mux2x1.out Variables in the result:Input0.n,Input0.t[1],Input0.t[2],Input0.t[3],Input0.t[4],Input0.t[5],Input0.t[6],Input0.x[1],Input0.x[2],Input0.x[3],Input0.x[4],Input0.x[5],Input0.x[6],Input0.y,Input0.y0,Input1.n,Input1.t[1],Input1.t[2],Input1.t[3],Input1.t[4],Input1.t[5],Input1.t[6],Input1.x[1],Input1.x[2],Input1.x[3],Input1.x[4],Input1.x[5],Input1.x[6],Input1.y,Input1.y0,Mux2x1.in0,Mux2x1.in1,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.tHL,Mux2x1.inertialDelaySensitive.tLH,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y0,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.nextstate,Mux2x1.out,Mux2x1.sel,Mux2x1.strength,Mux2x1.tHL,Mux2x1.tLH,Mux2x1.yy,Select.after,Select.before,Select.stepTime,Select.y,time