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 1.843/1.843, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 44.52 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002361/0.277, allocations: 1.439 MB / 310 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.2798, allocations: 0.9371 MB / 310.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.2799, allocations: 7.938 kB / 310.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.28, allocations: 11.92 kB / 311 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2802, allocations: 35.88 kB / 311 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.2806, allocations: 71.78 kB / 311.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.2809, allocations: 147.8 kB / 311.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2811, allocations: 45.84 kB / 311.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008461/0.2819, allocations: 0.5224 MB / 311.8 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.2822, allocations: 163.6 kB / 311.9 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.2823, allocations: 11.94 kB / 311.9 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.2824, allocations: 8 kB / 312 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.2826, allocations: 131.5 kB / 312.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2828, allocations: 117.4 kB / 312.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.2835, allocations: 0.601 MB / 312.8 MB, free: 8.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.2836, allocations: 0 / 312.8 MB, free: 8.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2836, allocations: 0 / 312.8 MB, free: 8.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2836, allocations: 0 / 312.8 MB, free: 8.527 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001374/0.285, allocations: 1.04 MB / 313.8 MB, free: 7.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.285, allocations: 8.031 kB / 313.8 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.973e-05/0.2851, allocations: 50.55 kB / 313.9 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2853, allocations: 79.02 kB / 314 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.2859, allocations: 359.7 kB / 314.3 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.2859, allocations: 16.19 kB / 314.3 MB, free: 6.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.286, allocations: 24 kB / 314.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.2868, allocations: 243.2 kB / 314.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2868, allocations: 0 / 314.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.2869, allocations: 12 kB / 314.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2869, allocations: 3.938 kB / 314.6 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.2874, allocations: 140.5 kB / 314.8 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.289, allocations: 0.7393 MB / 315.5 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.2896, allocations: 194.5 kB / 315.7 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2897, allocations: 7.938 kB / 315.7 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/0.2905, allocations: 389.9 kB / 316.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.2905, allocations: 0 / 316.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.002579/0.2931, allocations: 1.245 MB / 317.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.2933, allocations: 285 kB / 317.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.2952, allocations: 0.9491 MB / 318.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.2953, allocations: 33.7 kB / 318.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.2955, allocations: 137.9 kB / 318.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2956, allocations: 59.27 kB / 318.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.2956, allocations: 12 kB / 318.8 MB, free: 2.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2958, allocations: 334.8 kB / 319.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.2963, allocations: 124.2 kB / 319.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.2968, allocations: 167.8 kB / 319.4 MB, free: 1.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/0.2973, allocations: 337.6 kB / 319.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2973, allocations: 4 kB / 319.7 MB, free: 1.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001698/0.299, allocations: 0.7565 MB / 320.5 MB, free: 256 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.2993, allocations: 241.6 kB / 320.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2993, allocations: 4 kB / 320.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2993, allocations: 3.984 kB / 320.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.2994, allocations: 7.938 kB / 320.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2994, allocations: 7.938 kB / 320.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.2998, allocations: 28.08 kB / 320.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.3, allocations: 116.1 kB / 320.9 MB, free: 15.8 MB / 266.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.0009305/0.301, allocations: 0.6084 MB / 321.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3011, allocations: 79.11 kB / 321.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3015, allocations: 134.8 kB / 321.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.3015, allocations: 4 kB / 321.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3015, allocations: 0 / 321.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3015, allocations: 0 / 321.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3043, allocations: 1.425 MB / 323.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3043, allocations: 7.953 kB / 323.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.3044, allocations: 11.92 kB / 323.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3044, allocations: 0 / 323.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.3045, allocations: 27.98 kB / 323.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3045, allocations: 0 / 323.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3045, allocations: 0 / 323.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.3064, allocations: 0.9609 MB / 324.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008994/0.3074, allocations: 423.6 kB / 324.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.3075, allocations: 27.98 kB / 324.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.308, allocations: 23.98 kB / 324.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.3082, allocations: 59.92 kB / 324.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.3084, allocations: 111.9 kB / 324.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001396/0.3098, allocations: 0.6899 MB / 325.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3098, allocations: 0 / 325.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000545/0.3104, allocations: 99.94 kB / 325.6 MB, free: 10.87 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: 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.002399/0.3128, allocations: 1.559 MB / 327.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.3143, allocations: 0.8818 MB / 328 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3143, allocations: 4.188 kB / 328 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.3153, allocations: 0.7491 MB / 328.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.3168, allocations: 219.2 kB / 329 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.3233, allocations: 2.773 MB / 331.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009099/0.3242, allocations: 0.9597 MB / 332.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.3246, allocations: 93.33 kB / 332.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3248, allocations: 87.34 kB / 332.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3248, allocations: 0 / 332.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.3608, allocations: 10.35 MB / 343.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/0.3612, allocations: 168.9 kB / 343.4 MB, free: 8.602 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/2.782, allocations: 0 / 343.4 MB, free: 8.602 MB / 282.7 MB "" Variables in the reference:time,wiredX.y Variables in the result:bUF3S1.enable,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.tHL,bUF3S1.inertialDelaySensitive.tLH,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y0,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.nextstate,bUF3S1.strength,bUF3S1.tHL,bUF3S1.tLH,bUF3S1.x,bUF3S1.y,bUF3S1.yy,bUF3S2.enable,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.tHL,bUF3S2.inertialDelaySensitive.tLH,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y0,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.nextstate,bUF3S2.strength,bUF3S2.tHL,bUF3S2.tLH,bUF3S2.x,bUF3S2.y,bUF3S2.yy,e_table1.n,e_table1.t[1],e_table1.t[2],e_table1.t[3],e_table1.x[1],e_table1.x[2],e_table1.x[3],e_table1.y,e_table1.y0,e_table2.n,e_table2.t[1],e_table2.t[2],e_table2.t[3],e_table2.x[1],e_table2.x[2],e_table2.x[3],e_table2.y,e_table2.y0,time,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.n,wiredX.x[1],wiredX.x[2],wiredX.y,x_table1.n,x_table1.t[1],x_table1.t[2],x_table1.t[3],x_table1.x[1],x_table1.x[2],x_table1.x[3],x_table1.y,x_table1.y0,x_table2.n,x_table2.t[1],x_table2.t[2],x_table2.x[1],x_table2.x[2],x_table2.y,x_table2.y0