Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 112.1 kB / 17.07 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 197.3 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2695, allocations: 49.44 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003088/0.2726, allocations: 1.499 MB / 401.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2746, allocations: 0.8436 MB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.2746, allocations: 0 / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.646e-05/0.2747, allocations: 11.88 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.2748, allocations: 15.84 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2751, allocations: 55.88 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2754, allocations: 147.7 kB / 402.8 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2755, allocations: 35.66 kB / 402.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006377/0.2761, allocations: 0.5654 MB / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2763, allocations: 67.77 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.2763, allocations: 12 kB / 403.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.668e-05/0.2764, allocations: 12 kB / 403.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.2765, allocations: 67.7 kB / 403.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2766, allocations: 115.2 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.277, allocations: 369.4 kB / 404 MB, free: 4.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.277, allocations: 8 kB / 404 MB, free: 4.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.277, allocations: 0 / 404 MB, free: 4.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2771, allocations: 0 / 404 MB, free: 4.988 MB / 318.1 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.0008351/0.2779, allocations: 0.7305 MB / 404.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2779, allocations: 12.03 kB / 404.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.278, allocations: 42.73 kB / 404.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.2781, allocations: 40.7 kB / 404.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.2784, allocations: 266.7 kB / 405.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2784, allocations: 8.375 kB / 405.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2785, allocations: 8.375 kB / 405.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.2788, allocations: 136.2 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2788, allocations: 3.984 kB / 405.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2788, allocations: 4 kB / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2788, allocations: 0 / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.279, allocations: 59.97 kB / 405.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.2797, allocations: 464.5 kB / 405.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.2799, allocations: 98.47 kB / 405.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2801, allocations: 88.94 kB / 406 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2801, allocations: 4 kB / 406 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.2805, allocations: 206.7 kB / 406.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2805, allocations: 4 kB / 406.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008521/0.2814, allocations: 480.2 kB / 406.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2815, allocations: 170.2 kB / 406.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.2822, allocations: 0.5129 MB / 407.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2822, allocations: 33.7 kB / 407.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.2823, allocations: 97.12 kB / 407.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.2823, allocations: 27.81 kB / 407.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2825, allocations: 85.55 kB / 407.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2826, allocations: 330.8 kB / 407.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.2828, allocations: 55.97 kB / 408 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2829, allocations: 77.62 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2833, allocations: 341.7 kB / 408.4 MB, free: 296 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2833, allocations: 0 / 408.4 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006332/0.284, allocations: 392.2 kB / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2841, allocations: 130.8 kB / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2841, allocations: 4 kB / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2841, allocations: 0 / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.433e-05/0.2842, allocations: 0 / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2842, allocations: 0 / 408.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2843, allocations: 11.98 kB / 408.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.2844, allocations: 56 kB / 408.9 MB, free: 15.65 MB / 334.1 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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.2848, allocations: 362.9 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.2849, allocations: 39.77 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.285, allocations: 71.14 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.285, allocations: 0 / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.285, allocations: 4 kB / 409.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.285, allocations: 0 / 409.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.2861, allocations: 0.8251 MB / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2862, allocations: 0 / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-06/0.2862, allocations: 0 / 410.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.2862, allocations: 7.984 kB / 410.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.2862, allocations: 11.98 kB / 410.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2862, allocations: 0 / 410.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2862, allocations: 15.88 kB / 410.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.287, allocations: 0.531 MB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.2874, allocations: 252.6 kB / 411 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.2874, allocations: 12 kB / 411.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2875, allocations: 8 kB / 411.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2877, allocations: 27.91 kB / 411.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.2878, allocations: 63.92 kB / 411.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005536/0.2883, allocations: 386.9 kB / 411.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2883, allocations: 0 / 411.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.2886, allocations: 48 kB / 411.6 MB, free: 12.84 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.2898, allocations: 1.089 MB / 412.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.2904, allocations: 445.6 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2904, allocations: 0 / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.2908, allocations: 377.5 kB / 413.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.2915, allocations: 120.8 kB / 413.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.2955, allocations: 2.753 MB / 416.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.2961, allocations: 0.8019 MB / 417.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.2962, allocations: 16.59 kB / 417.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.171e-05/0.2962, allocations: 27.42 kB / 417.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2962, allocations: 0 / 417.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.3252, allocations: 6.043 MB / 423.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.258, allocations: 3.75 kB / 423.2 MB, free: 0.918 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches