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.NXFER.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.NXFER,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 194.9 MB / 211.1 MB, free: 7.582 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003421, allocations: 12 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2855, allocations: 44.5 MB / 308.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002374/0.2879, allocations: 1.177 MB / 309.7 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2907, allocations: 0.8435 MB / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.2907, allocations: 0 / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.2908, allocations: 3.984 kB / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2909, allocations: 23.89 kB / 310.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.2912, allocations: 35.91 kB / 310.6 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.2914, allocations: 67.86 kB / 310.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2915, allocations: 20.22 kB / 310.7 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.2922, allocations: 423.3 kB / 311.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.2924, allocations: 71.83 kB / 311.2 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.2925, allocations: 4 kB / 311.2 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.2925, allocations: 0 / 311.2 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.2926, allocations: 71.75 kB / 311.3 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.2927, allocations: 73.52 kB / 311.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.2932, allocations: 299.3 kB / 311.6 MB, free: 9.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2932, allocations: 0 / 311.6 MB, free: 9.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.2932, allocations: 0 / 311.6 MB, free: 9.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2932, allocations: 0 / 311.6 MB, free: 9.512 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008727/0.2941, allocations: 0.6614 MB / 312.3 MB, free: 8.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2942, allocations: 16.02 kB / 312.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.2942, allocations: 34.56 kB / 312.4 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.2943, allocations: 39.58 kB / 312.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.2947, allocations: 257.4 kB / 312.6 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2947, allocations: 8 kB / 312.7 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.2948, allocations: 15.94 kB / 312.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.2952, allocations: 125.5 kB / 312.8 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2953, allocations: 4 kB / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.2953, allocations: 0 / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2953, allocations: 7.938 kB / 312.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.2956, allocations: 55.97 kB / 312.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.2965, allocations: 464.5 kB / 313.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2968, allocations: 102.5 kB / 313.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2968, allocations: 0 / 313.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.2973, allocations: 202.8 kB / 313.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.2973, allocations: 0 / 313.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001439/0.2987, allocations: 0.6349 MB / 314.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.2989, allocations: 166.2 kB / 314.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.3, allocations: 0.513 MB / 314.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.3, allocations: 29.7 kB / 315 MB, free: 5.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.3001, allocations: 101.1 kB / 315 MB, free: 5.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.3002, allocations: 31.61 kB / 315.1 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3003, allocations: 4 kB / 315.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3004, allocations: 322.8 kB / 315.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3006, allocations: 55.97 kB / 315.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3009, allocations: 77.62 kB / 315.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.3012, allocations: 170.6 kB / 315.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3012, allocations: 0 / 315.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008844/0.3021, allocations: 380.7 kB / 316.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3023, allocations: 133.3 kB / 316.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3023, allocations: 0 / 316.2 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3023, allocations: 3.953 kB / 316.2 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.3023, allocations: 7.969 kB / 316.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3024, allocations: 0 / 316.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3026, allocations: 19.92 kB / 316.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.3027, allocations: 55.94 kB / 316.3 MB, free: 4.445 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: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0005263/0.3033, allocations: 366.9 kB / 316.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.3034, allocations: 43.52 kB / 316.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.3035, allocations: 63.16 kB / 316.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3036, allocations: 0 / 316.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3036, allocations: 7.953 kB / 316.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3036, allocations: 0 / 316.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3051, allocations: 0.8173 MB / 317.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3052, allocations: 0 / 317.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.3052, allocations: 4.094 kB / 317.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3052, allocations: 3.938 kB / 317.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.3052, allocations: 19.95 kB / 317.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3053, allocations: 3.938 kB / 317.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3053, allocations: 0 / 317.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3063, allocations: 0.537 MB / 318.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.3068, allocations: 244.4 kB / 318.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.3069, allocations: 12 kB / 318.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.3072, allocations: 15.94 kB / 318.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3073, allocations: 27.97 kB / 318.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3074, allocations: 63.86 kB / 318.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007383/0.3082, allocations: 386.9 kB / 318.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3082, allocations: 4 kB / 318.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004036/0.3086, allocations: 44 kB / 318.9 MB, free: 1.625 MB / 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.001484/0.3101, allocations: 1.088 MB / 320 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.3109, allocations: 445.7 kB / 320.4 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.311, allocations: 4.062 kB / 320.4 MB, free: 0 / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3115, allocations: 377.6 kB / 320.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.3122, allocations: 100.4 kB / 320.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.3157, allocations: 1.432 MB / 322.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.3163, allocations: 0.8178 MB / 323.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.3164, allocations: 8.656 kB / 323.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.3165, allocations: 23.44 kB / 323.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of SimCode: time 3.096e-06/0.3165, allocations: 0 / 323.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.3454, allocations: 5.286 MB / 328.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.3457, allocations: 163.8 kB / 328.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.745, allocations: 0 / 328.6 MB, free: 7.559 MB / 266.7 MB "" Variables in the reference:time,nXFERGATE.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,nXFERGATE.enable,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.tHL,nXFERGATE.inertialDelaySensitive.tLH,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y0,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.nextstate,nXFERGATE.tHL,nXFERGATE.tLH,nXFERGATE.x,nXFERGATE.y,nXFERGATE.yy,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0