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.NRXFER.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.NRXFER,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.9 MB / 211.1 MB, free: 8.469 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 12 kB / 264 MB, free: 3.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.294, allocations: 44.52 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002056/0.2962, allocations: 1.174 MB / 309.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.2989, allocations: 0.8435 MB / 310.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.2989, allocations: 0 / 310.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.759e-05/0.299, allocations: 11.92 kB / 310.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2992, allocations: 19.95 kB / 310.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.2994, allocations: 31.91 kB / 310.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2996, allocations: 75.8 kB / 310.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.2997, allocations: 16.22 kB / 310.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006878/0.3004, allocations: 427.2 kB / 311.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3006, allocations: 75.83 kB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3006, allocations: 4 kB / 311.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.3007, allocations: 8 kB / 311.2 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3008, allocations: 59.81 kB / 311.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.3009, allocations: 69.52 kB / 311.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3013, allocations: 299.3 kB / 311.7 MB, free: 9.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3013, allocations: 4 kB / 311.7 MB, free: 9.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3013, allocations: 0 / 311.7 MB, free: 9.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3014, allocations: 0 / 311.7 MB, free: 9.645 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.0008439/0.3022, allocations: 0.6614 MB / 312.3 MB, free: 8.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3023, allocations: 8.031 kB / 312.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.3023, allocations: 42.56 kB / 312.4 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.3025, allocations: 39.58 kB / 312.4 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3028, allocations: 253.4 kB / 312.7 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3029, allocations: 8 kB / 312.7 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3029, allocations: 8 kB / 312.7 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.3034, allocations: 129.5 kB / 312.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3034, allocations: 0 / 312.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.3034, allocations: 4 kB / 312.8 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3034, allocations: 3.938 kB / 312.8 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.3037, allocations: 55.97 kB / 312.9 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.3046, allocations: 480.4 kB / 313.3 MB, free: 7.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3049, allocations: 90.55 kB / 313.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3049, allocations: 0 / 313.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/0.3054, allocations: 206.8 kB / 313.6 MB, free: 7.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3054, allocations: 0 / 313.6 MB, free: 7.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001363/0.3068, allocations: 0.6349 MB / 314.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.3069, allocations: 166.2 kB / 314.4 MB, free: 6.566 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.3079, allocations: 0.509 MB / 314.9 MB, free: 6.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.308, allocations: 33.7 kB / 315 MB, free: 6.012 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.3081, allocations: 97.12 kB / 315 MB, free: 5.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.3081, allocations: 31.61 kB / 315.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.3082, allocations: 4 kB / 315.1 MB, free: 5.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3083, allocations: 326.8 kB / 315.4 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3086, allocations: 59.91 kB / 315.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3088, allocations: 73.67 kB / 315.5 MB, free: 5.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3091, allocations: 166.7 kB / 315.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3091, allocations: 0 / 315.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008917/0.31, allocations: 388.6 kB / 316.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.3102, allocations: 130.7 kB / 316.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3102, allocations: 4.031 kB / 316.2 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3102, allocations: 3.953 kB / 316.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.266e-05/0.3102, allocations: 0 / 316.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3102, allocations: 4 kB / 316.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3105, allocations: 15.92 kB / 316.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3106, allocations: 55.94 kB / 316.3 MB, free: 4.582 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0005309/0.3112, allocations: 366.9 kB / 316.6 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.3113, allocations: 39.53 kB / 316.7 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.3115, allocations: 71.14 kB / 316.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3115, allocations: 0 / 316.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3115, allocations: 3.953 kB / 316.8 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3115, allocations: 3.984 kB / 316.8 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.313, allocations: 0.8135 MB / 317.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.313, allocations: 3.984 kB / 317.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.3131, allocations: 112 / 317.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3131, allocations: 3.938 kB / 317.6 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.3131, allocations: 15.95 kB / 317.6 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3131, allocations: 4 kB / 317.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3132, allocations: 0 / 317.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3142, allocations: 0.5331 MB / 318.1 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.3147, allocations: 244.4 kB / 318.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.3148, allocations: 12 kB / 318.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3151, allocations: 19.88 kB / 318.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.3152, allocations: 31.95 kB / 318.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/0.3153, allocations: 63.92 kB / 318.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007414/0.3161, allocations: 386.9 kB / 318.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3161, allocations: 0 / 318.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.3165, allocations: 48 kB / 318.9 MB, free: 1.762 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.001459/0.318, allocations: 1.081 MB / 320 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007941/0.3188, allocations: 453.5 kB / 320.4 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3188, allocations: 0 / 320.4 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.3194, allocations: 377.6 kB / 320.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.3202, allocations: 96.23 kB / 320.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.3237, allocations: 1.436 MB / 322.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.3245, allocations: 0.81 MB / 323.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.3246, allocations: 12.64 kB / 323.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.3247, allocations: 27.38 kB / 323.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of SimCode: time 3.357e-06/0.3247, allocations: 0 / 323.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.3572, allocations: 5.282 MB / 328.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.3576, allocations: 184.8 kB / 328.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.677, allocations: 0 / 328.7 MB, free: 7.68 MB / 266.7 MB "" Variables in the reference:time,nRXFERGATE.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,nRXFERGATE.enable,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.tHL,nRXFERGATE.inertialDelaySensitive.tLH,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y0,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.nextstate,nRXFERGATE.tHL,nRXFERGATE.tLH,nRXFERGATE.x,nRXFERGATE.y,nRXFERGATE.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