Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 51.91 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2789, allocations: 53.36 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00299/0.2819, allocations: 1.534 MB / 432.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2839, allocations: 0.8965 MB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.2839, allocations: 3.938 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.284, allocations: 3.938 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.2841, allocations: 23.84 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.2844, allocations: 47.89 kB / 433.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.2846, allocations: 135.7 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2847, allocations: 20.22 kB / 433.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.2854, allocations: 0.5771 MB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2855, allocations: 75.7 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.2856, allocations: 8 kB / 434.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.2856, allocations: 12 kB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.2857, allocations: 63.7 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2858, allocations: 119.1 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.2863, allocations: 370.8 kB / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2863, allocations: 0 / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2863, allocations: 0 / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2863, allocations: 0 / 435 MB, free: 2.941 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.0008842/0.2872, allocations: 0.6591 MB / 435.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2872, allocations: 12.03 kB / 435.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/0.2873, allocations: 50.61 kB / 435.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.2874, allocations: 36.7 kB / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.2877, allocations: 216.8 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2877, allocations: 4.375 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2878, allocations: 8.375 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2881, allocations: 133.7 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2881, allocations: 0 / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2882, allocations: 8 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2882, allocations: 0 / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2883, allocations: 63.84 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.2891, allocations: 431.6 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.2893, allocations: 74.48 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.2894, allocations: 60.89 kB / 436.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2895, allocations: 8 kB / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/0.2899, allocations: 206.8 kB / 436.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2899, allocations: 4 kB / 436.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008504/0.2907, allocations: 475.2 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.2908, allocations: 174.1 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.2915, allocations: 0.5091 MB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.2915, allocations: 29.7 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2916, allocations: 109.1 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2917, allocations: 23.86 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2918, allocations: 81.55 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.292, allocations: 326.8 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2921, allocations: 55.97 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2922, allocations: 73.69 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.2926, allocations: 343.2 kB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2926, allocations: 0 / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005533/0.2932, allocations: 392.3 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.2934, allocations: 126.8 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2934, allocations: 112 / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2934, allocations: 3.938 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.156e-05/0.2934, allocations: 0 / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2934, allocations: 4 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.2935, allocations: 11.98 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.2936, allocations: 63.97 kB / 439.7 MB, free: 13.84 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.0004004/0.294, allocations: 366.5 kB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.2941, allocations: 39.77 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.2942, allocations: 59.09 kB / 440.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2942, allocations: 4 kB / 440.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2942, allocations: 0 / 440.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2942, allocations: 3.984 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2952, allocations: 0.7929 MB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2952, allocations: 3.984 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-06/0.2952, allocations: 4 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2952, allocations: 0 / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.2953, allocations: 12 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2953, allocations: 0 / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2953, allocations: 4.125 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.296, allocations: 0.5363 MB / 441.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.2963, allocations: 205.4 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.2964, allocations: 23.88 kB / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2965, allocations: 15.98 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2966, allocations: 31.91 kB / 441.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/0.2967, allocations: 52 kB / 441.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004737/0.2971, allocations: 386.9 kB / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2971, allocations: 0 / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.2974, allocations: 40 kB / 442.3 MB, free: 11.15 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.001056/0.2985, allocations: 1.092 MB / 443.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.299, allocations: 377.5 kB / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.299, allocations: 0 / 443.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.2993, allocations: 301.5 kB / 444 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.2999, allocations: 130.9 kB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.3035, allocations: 2.753 MB / 446.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.3041, allocations: 0.8022 MB / 447.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.3041, allocations: 4.672 kB / 447.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3042, allocations: 23.44 kB / 447.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3042, allocations: 0 / 447.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3374, allocations: 6.222 MB / 453.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.41, allocations: 7.5 kB / 453.9 MB, free: 15.24 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.0023933 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv. Warning: Get data of variable nRXFERGATE.y from file Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.860722755998722]