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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001678/0.001678, allocations: 59.91 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09881, allocations: 49.11 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003149/0.102, allocations: 1.51 MB / 392.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1041, allocations: 0.9112 MB / 393.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.1041, allocations: 0 / 393.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1042, allocations: 11.86 kB / 393.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1043, allocations: 11.88 kB / 393.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1046, allocations: 47.88 kB / 393.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1049, allocations: 127.8 kB / 394 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.105, allocations: 24.44 kB / 394 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.1056, allocations: 0.5693 MB / 394.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1058, allocations: 79.61 kB / 394.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.1058, allocations: 12 kB / 394.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.1058, allocations: 12 kB / 394.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.1059, allocations: 63.77 kB / 394.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1061, allocations: 115.1 kB / 394.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.1065, allocations: 370.5 kB / 395.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1065, allocations: 4 kB / 395.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1065, allocations: 0 / 395.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1065, allocations: 11.81 kB / 395.2 MB, free: 4.863 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.0008559/0.1073, allocations: 0.7228 MB / 395.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1074, allocations: 12.03 kB / 396 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.1074, allocations: 46.73 kB / 396 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.1075, allocations: 36.7 kB / 396 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1079, allocations: 278.6 kB / 396.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.1079, allocations: 4.375 kB / 396.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1079, allocations: 8.375 kB / 396.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.1083, allocations: 133.7 kB / 396.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1083, allocations: 4 kB / 396.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1083, allocations: 7.984 kB / 396.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1083, allocations: 0 / 396.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1085, allocations: 63.95 kB / 396.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.1092, allocations: 468.5 kB / 397 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1094, allocations: 74.53 kB / 397.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1096, allocations: 60.89 kB / 397.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1096, allocations: 4 kB / 397.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.11, allocations: 218.6 kB / 397.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.11, allocations: 0 / 397.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008319/0.1108, allocations: 472.1 kB / 397.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1109, allocations: 170.2 kB / 398 MB, free: 1.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006621/0.1116, allocations: 0.5169 MB / 398.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1116, allocations: 29.7 kB / 398.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.1117, allocations: 105.1 kB / 398.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.1118, allocations: 27.89 kB / 398.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1119, allocations: 97.44 kB / 398.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.112, allocations: 326.8 kB / 399.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1122, allocations: 55.97 kB / 399.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1123, allocations: 73.62 kB / 399.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.1127, allocations: 343.3 kB / 399.5 MB, free: 196 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1127, allocations: 0 / 399.5 MB, free: 196 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000571/0.1132, allocations: 392.6 kB / 399.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/0.1133, allocations: 126.8 kB / 400 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1133, allocations: 0 / 400 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1134, allocations: 0 / 400 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/0.1134, allocations: 0 / 400 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1134, allocations: 0 / 400 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1135, allocations: 19.98 kB / 400 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.1136, allocations: 55.94 kB / 400.1 MB, free: 15.55 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.0003802/0.114, allocations: 362.7 kB / 400.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.114, allocations: 43.77 kB / 400.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1141, allocations: 67.14 kB / 400.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1141, allocations: 7.938 kB / 400.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1141, allocations: 0 / 400.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1141, allocations: 0 / 400.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1152, allocations: 0.8135 MB / 401.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1152, allocations: 8.062 kB / 401.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.1152, allocations: 0 / 401.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1152, allocations: 3.938 kB / 401.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1152, allocations: 19.98 kB / 401.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1153, allocations: 4 kB / 401.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1153, allocations: 3.938 kB / 401.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.1159, allocations: 0.5297 MB / 402 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.1163, allocations: 248.6 kB / 402.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.1164, allocations: 12 kB / 402.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1165, allocations: 8 kB / 402.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1166, allocations: 35.89 kB / 402.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.1167, allocations: 63.88 kB / 402.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004708/0.1172, allocations: 390.9 kB / 402.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1172, allocations: 0 / 402.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1174, allocations: 43.95 kB / 402.7 MB, free: 12.73 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.001046/0.1185, allocations: 1.088 MB / 403.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.119, allocations: 373.5 kB / 404.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.119, allocations: 3.938 kB / 404.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.1193, allocations: 305.6 kB / 404.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.1199, allocations: 125.2 kB / 404.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.1234, allocations: 2.756 MB / 407.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.1239, allocations: 0.8138 MB / 408.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.782e-05/0.124, allocations: 8.656 kB / 408.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.124, allocations: 27.42 kB / 408.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.124, allocations: 0 / 408.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.1588, allocations: 6.05 MB / 414.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.04, allocations: 4.062 kB / 414.3 MB, free: 0.7695 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.410739758983254]