Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002205/0.002205, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2657, allocations: 53.4 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002724/0.2684, allocations: 1.533 MB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.2703, allocations: 0.8887 MB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.2704, allocations: 0 / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.749e-05/0.2705, allocations: 15.86 kB / 433.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.2705, allocations: 19.84 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2708, allocations: 55.39 kB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.271, allocations: 127.7 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.2711, allocations: 24.16 kB / 433.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.2717, allocations: 0.5771 MB / 434.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2719, allocations: 75.7 kB / 434.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.2719, allocations: 12 kB / 434.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.038e-05/0.2719, allocations: 11.94 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.272, allocations: 67.7 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.2721, allocations: 119.1 kB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2725, allocations: 362.9 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2725, allocations: 0 / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2725, allocations: 4 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2725, allocations: 0 / 435.1 MB, free: 2.812 MB / 334.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.0007655/0.2733, allocations: 0.6591 MB / 435.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2733, allocations: 11.97 kB / 435.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.2734, allocations: 42.73 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.2734, allocations: 40.7 kB / 435.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2738, allocations: 220.8 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.2738, allocations: 8.312 kB / 436 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.2738, allocations: 8.375 kB / 436 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2741, allocations: 129.7 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2741, allocations: 0 / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2741, allocations: 12 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2741, allocations: 4 kB / 436.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2743, allocations: 55.97 kB / 436.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.275, allocations: 435.5 kB / 436.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.2751, allocations: 70.55 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2753, allocations: 60.89 kB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.2753, allocations: 4 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.2757, allocations: 210.8 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2757, allocations: 0 / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008092/0.2765, allocations: 472.1 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.2766, allocations: 166.2 kB / 437.6 MB, free: 0 / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.2773, allocations: 0.513 MB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.2773, allocations: 29.7 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.2774, allocations: 113.1 kB / 438.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.2774, allocations: 19.8 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2776, allocations: 89.55 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2777, allocations: 326.8 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2778, allocations: 51.97 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.278, allocations: 76.64 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.2783, allocations: 339.3 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2783, allocations: 4 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005535/0.2789, allocations: 391.9 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.279, allocations: 126.9 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.279, allocations: 3.938 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.279, allocations: 7.938 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.279, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.279, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2792, allocations: 11.98 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.2792, allocations: 59.94 kB / 439.8 MB, free: 13.73 MB / 350.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.0003797/0.2796, allocations: 374.5 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2797, allocations: 39.77 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2798, allocations: 59.09 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2798, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2798, allocations: 128 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2798, allocations: 3.984 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2808, allocations: 0.7969 MB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2808, allocations: 0 / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.2808, allocations: 7.984 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2808, allocations: 0 / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.2809, allocations: 12 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2809, allocations: 0 / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2809, allocations: 7.875 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.2816, allocations: 0.5371 MB / 441.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.282, allocations: 205.3 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.282, allocations: 12 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2822, allocations: 11.98 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2823, allocations: 31.91 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/0.2824, allocations: 52 kB / 441.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.2829, allocations: 386.9 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2829, allocations: 0 / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.2832, allocations: 44 kB / 442.3 MB, free: 11.02 MB / 350.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.00106/0.2842, allocations: 1.096 MB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.2847, allocations: 369.5 kB / 443.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2847, allocations: 3.938 kB / 443.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.285, allocations: 301.5 kB / 444.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.2857, allocations: 129.6 kB / 444.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.2894, allocations: 2.753 MB / 446.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.2899, allocations: 0.8022 MB / 447.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.29, allocations: 4.672 kB / 447.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.29, allocations: 23.44 kB / 447.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.29, allocations: 7.938 kB / 447.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.3235, allocations: 6.215 MB / 454 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.06, allocations: 9.375 kB / 454 MB, free: 15.07 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.0023933 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable nRXFERGATE.y in file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.632609536998643]