Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_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.00119/0.00119, allocations: 102.9 kB / 17.58 MB, free: 5.453 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.001183/0.001183, allocations: 187.9 kB / 18.51 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 47.92 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08719/0.08866, allocations: 46.64 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002542/0.09124, allocations: 1.489 MB / 328.9 MB, free: 2.883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.09296, allocations: 0.8975 MB / 329.8 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.09305, allocations: 0 / 329.8 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.09314, allocations: 11.86 kB / 329.8 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.09322, allocations: 15.88 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.09346, allocations: 51.88 kB / 329.8 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.09365, allocations: 143.7 kB / 330 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.09376, allocations: 20.22 kB / 330 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.09432, allocations: 0.5615 MB / 330.6 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.09447, allocations: 75.69 kB / 330.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.09453, allocations: 15.94 kB / 330.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.09457, allocations: 8 kB / 330.7 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.09467, allocations: 67.7 kB / 330.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.09479, allocations: 115.2 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.09511, allocations: 366.7 kB / 331.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09513, allocations: 0 / 331.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09513, allocations: 0 / 331.2 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.09514, allocations: 0 / 331.2 MB, free: 0.5352 MB / 270.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.0007214/0.09587, allocations: 0.7269 MB / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.09592, allocations: 12.03 kB / 331.9 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.09597, allocations: 42.69 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.09603, allocations: 36.56 kB / 332 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.0963, allocations: 270.3 kB / 332.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.09633, allocations: 8.375 kB / 332.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.09636, allocations: 4.375 kB / 332.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.09671, allocations: 129.7 kB / 332.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.09673, allocations: 4 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.09677, allocations: 4 kB / 332.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.09678, allocations: 8 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.09696, allocations: 63.89 kB / 332.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.09765, allocations: 456.5 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.09786, allocations: 98.48 kB / 333 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.09802, allocations: 92.88 kB / 333.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.09804, allocations: 0 / 333.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.09834, allocations: 202.7 kB / 333.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.09835, allocations: 0 / 333.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008005/0.09916, allocations: 480 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.09926, allocations: 170.2 kB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.09985, allocations: 0.513 MB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.09989, allocations: 33.7 kB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.09996, allocations: 101.9 kB / 334.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1, allocations: 27.66 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1001, allocations: 85.41 kB / 334.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1002, allocations: 326.8 kB / 335 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1004, allocations: 55.97 kB / 335.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1005, allocations: 69.69 kB / 335.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.1009, allocations: 351.6 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1009, allocations: 112 / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005343/0.1014, allocations: 396.2 kB / 335.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.1015, allocations: 122.8 kB / 336 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1015, allocations: 0 / 336 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1015, allocations: 3.984 kB / 336 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.1016, allocations: 4.062 kB / 336 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1016, allocations: 4 kB / 336 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1017, allocations: 19.89 kB / 336 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.1018, allocations: 59.97 kB / 336.1 MB, free: 11.2 MB / 286.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.0003682/0.1021, allocations: 370.7 kB / 336.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.1022, allocations: 39.62 kB / 336.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1023, allocations: 63.14 kB / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1023, allocations: 0 / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1023, allocations: 0 / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1023, allocations: 0 / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1034, allocations: 0.8251 MB / 337.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1034, allocations: 4 kB / 337.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-06/0.1034, allocations: 0 / 337.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1034, allocations: 0 / 337.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.1034, allocations: 12 kB / 337.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1034, allocations: 0 / 337.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1034, allocations: 3.938 kB / 337.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.1041, allocations: 0.5368 MB / 337.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.1044, allocations: 240.4 kB / 338.2 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.1044, allocations: 19.98 kB / 338.2 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1046, allocations: 8 kB / 338.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1047, allocations: 31.91 kB / 338.2 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.1047, allocations: 59.94 kB / 338.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.1052, allocations: 390.9 kB / 338.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1052, allocations: 0 / 338.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1055, allocations: 40 kB / 338.7 MB, free: 8.406 MB / 286.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.0009447/0.1064, allocations: 1.104 MB / 339.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1069, allocations: 437.5 kB / 340.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.107, allocations: 0 / 340.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1073, allocations: 381.6 kB / 340.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.1079, allocations: 116.6 kB / 340.7 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.1113, allocations: 2.738 MB / 343.5 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.1118, allocations: 0.8099 MB / 344.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.1118, allocations: 8.656 kB / 344.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.1119, allocations: 27.42 kB / 344.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1119, allocations: 3.938 kB / 344.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1335, allocations: 6.003 MB / 350.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.709, allocations: 3.75 kB / 350.3 MB, free: 12.35 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches